Advertisement
Guest User

OpenBox

a guest
Apr 21st, 2020
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.42 KB | None | 0 0
  1. environment
  2. #
  3. # This file is parsed by pam_env module
  4. #
  5. # Syntax: simple "KEY=VAL" pairs on separate lines
  6. #
  7. SHELL=/bin/bash
  8.  
  9. BROWSER=firefox
  10.  
  11. EDITOR=geany
  12.  
  13. .gtkrc-2.0
  14. # DO NOT EDIT! This file will be overwritten by LXAppearance.
  15. # Any customization should be done in ~/.gtkrc-2.0.mine instead.
  16.  
  17. include "/home/judd/.gtkrc-2.0.mine"
  18. gtk-theme-name="Simple-Industrial"
  19. gtk-icon-theme-name="gnome"
  20. gtk-font-name="Sans 10"
  21. gtk-cursor-theme-name="Vanilla-DMZ"
  22. gtk-cursor-theme-size=0
  23. gtk-toolbar-style=GTK_TOOLBAR_BOTH
  24. gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
  25. gtk-button-images=1
  26. gtk-menu-images=1
  27. gtk-enable-event-sounds=1
  28. gtk-enable-input-feedback-sounds=1
  29. gtk-xft-antialias=1
  30. gtk-xft-hinting=1
  31. gtk-xft-hintstyle="hintfull"
  32. gtk-xft-rgba="rgb"
  33.  
  34. autostart
  35. xset -dpms; xset s off &
  36. (sleep 1s && /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1) &
  37. (sleep 1s && tint2) &
  38. (sleep 1s && volumeicon) &
  39. (sleep 1s && nitrogen --restore) &
  40. (sleep 1s && parcellite) &
  41. (sleep 1s && conky ~/.conkyrc) &
  42.  
  43. gtkrc-2.0 (root)
  44. gtk-theme-name="Numix"
  45. gtk-icon-theme-name="gnome"
  46. gtk-font-name="Sans 10"
  47. gtk-cursor-theme-name="Vanilla-DMZ"
  48. gtk-cursor-theme-size=0
  49. gtk-toolbar-style=GTK_TOOLBAR_BOTH
  50. gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
  51. gtk-button-images=1
  52. gtk-menu-images=1
  53. gtk-enable-event-sounds=1
  54. gtk-enable-input-feedback-sounds=1
  55. gtk-xft-antialias=1
  56. gtk-xft-hinting=1
  57. gtk-xft-hintstyle="hintfull"
  58.  
  59. settings ini → /home/judd/gtk-3.0/settings.ini
  60. [Settings]
  61. gtk-button-images=1
  62. gtk-cursor-theme-name=Vanilla-DMZ
  63. gtk-cursor-theme-size=0
  64. gtk-enable-event-sounds=1
  65. gtk-enable-input-feedback-sounds=1
  66. gtk-fallback-icon-theme=gnome
  67. gtk-font-name=Sans 10
  68. gtk-icon-theme-name=gnome
  69. gtk-menu-images=1
  70. gtk-theme-name=Simple-Industrial
  71. gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
  72. gtk-toolbar-style=GTK_TOOLBAR_BOTH
  73. gtk-xft-antialias=1
  74. gtk-xft-hinting=1
  75. gtk-xft-hintstyle=hintfull
  76. gtk-xft-rgba=rgb
  77.  
  78. tint2rc → /home/judd/.config/tint2/tint2rc
  79. #---- Generated by tint2conf b416 ----
  80. # See https://gitlab.com/o9000/tint2/wikis/Configure for
  81. # full documentation of the configuration options.
  82. #-------------------------------------
  83. # Gradients
  84. #-------------------------------------
  85. # Backgrounds
  86. # Background 1: Bandeja del sistema, Barra de tareas activa, Barra inactiva, Batería, Lanzador, Mensaje emergente
  87. rounded = 4
  88. border_width = 1
  89. border_sides = TBLR
  90. border_content_tint_weight = 0
  91. background_content_tint_weight = 0
  92. background_color = #2d2d2d 100
  93. border_color = #000000 100
  94. background_color_hover = #2d2d2d 100
  95. border_color_hover = #000000 100
  96. background_color_pressed = #2d2d2d 100
  97. border_color_pressed = #000000 100
  98.  
  99. # Background 2: Tarea activa, Tarea urgente
  100. rounded = 4
  101. border_width = 0
  102. border_sides = TBLR
  103. border_content_tint_weight = 0
  104. background_content_tint_weight = 0
  105. background_color = #d64937 100
  106. border_color = #ffffff 100
  107. background_color_hover = #d64937 100
  108. border_color_hover = #ffffff 100
  109. background_color_pressed = #d64937 100
  110. border_color_pressed = #ffffff 100
  111.  
  112. # Background 3: Tarea predeterminada
  113. rounded = 4
  114. border_width = 0
  115. border_sides = TBLR
  116. border_content_tint_weight = 0
  117. background_content_tint_weight = 0
  118. background_color = #a9a9a9 100
  119. border_color = #ffffff 100
  120. background_color_hover = #a9a9a9 100
  121. border_color_hover = #ffffff 100
  122. background_color_pressed = #a9a9a9 100
  123. border_color_pressed = #ffffff 100
  124.  
  125. #-------------------------------------
  126. # Panel
  127. panel_items = CLSTF
  128. panel_size = 100% 25
  129. panel_margin = 0 0
  130. panel_padding = 4 0 2
  131. panel_background_id = 0
  132. wm_menu = 1
  133. panel_dock = 0
  134. panel_position = top center horizontal
  135. panel_layer = top
  136. panel_monitor = all
  137. panel_shrink = 1
  138. autohide = 0
  139. autohide_show_timeout = 0.3
  140. autohide_hide_timeout = 1.8
  141. autohide_height = 5
  142. strut_policy = follow_size
  143. panel_window_name = tint2
  144. disable_transparency = 0
  145. mouse_effects = 0
  146. font_shadow = 0
  147. mouse_hover_icon_asb = 100 0 13
  148. mouse_pressed_icon_asb = 100 0 0
  149. scale_relative_to_dpi = 0
  150. scale_relative_to_screen_height = 0
  151.  
  152. #-------------------------------------
  153. # Taskbar
  154. taskbar_mode = single_desktop
  155. taskbar_hide_if_empty = 0
  156. taskbar_padding = 0 0 6
  157. taskbar_background_id = 1
  158. taskbar_active_background_id = 1
  159. taskbar_name = 0
  160. taskbar_hide_inactive_tasks = 0
  161. taskbar_hide_different_monitor = 0
  162. taskbar_hide_different_desktop = 0
  163. taskbar_always_show_all_desktop_tasks = 0
  164. taskbar_name_padding = 0 0
  165. taskbar_name_background_id = 0
  166. taskbar_name_active_background_id = 0
  167. taskbar_name_font_color = #000000 100
  168. taskbar_name_active_font_color = #000000 100
  169. taskbar_distribute_size = 0
  170. taskbar_sort_order = none
  171. task_align = left
  172.  
  173. #-------------------------------------
  174. # Task
  175. task_text = 0
  176. task_icon = 1
  177. task_centered = 1
  178. urgent_nb_of_blink = 8
  179. task_maximum_size = 32 32
  180. task_padding = 2 2 2
  181. task_font = Sans 9
  182. task_tooltip = 1
  183. task_thumbnail = 0
  184. task_thumbnail_size = 210
  185. task_font_color = #ffffff 60
  186. task_active_font_color = #ffffff 80
  187. task_urgent_font_color = #ffffff 80
  188. task_iconified_font_color = #ffffff 60
  189. task_icon_asb = 100 0 0
  190. task_active_icon_asb = 100 0 0
  191. task_urgent_icon_asb = 100 0 0
  192. task_iconified_icon_asb = 40 0 0
  193. task_background_id = 3
  194. task_active_background_id = 2
  195. task_urgent_background_id = 2
  196. task_iconified_background_id = 0
  197. mouse_left = toggle_iconify
  198. mouse_middle = none
  199. mouse_right = close
  200. mouse_scroll_up = toggle
  201. mouse_scroll_down = iconify
  202.  
  203. #-------------------------------------
  204. # System tray (notification area)
  205. systray_padding = 0 0 2
  206. systray_background_id = 1
  207. systray_sort = right2left
  208. systray_icon_size = 22
  209. systray_icon_asb = 100 0 0
  210. systray_monitor = 1
  211. systray_name_filter =
  212.  
  213. #-------------------------------------
  214. # Launcher
  215. launcher_padding = 0 0 2
  216. launcher_background_id = 1
  217. launcher_icon_background_id = 0
  218. launcher_icon_size = 22
  219. launcher_icon_asb = 100 0 0
  220. launcher_icon_theme_override = 0
  221. startup_notifications = 1
  222. launcher_tooltip = 1
  223. launcher_item_app = /usr/share/applications/netflix-desktop.desktop
  224. launcher_item_app = /usr/share/applications/pcmanfm.desktop
  225. launcher_item_app = /usr/share/applications/xterm.desktop
  226. launcher_item_app = /usr/share/applications/audacity.desktop
  227. launcher_item_app = /usr/share/applications/org.gnome.Screenshot.desktop
  228. launcher_item_app = /usr/share/applications/lxterminal.desktop
  229. launcher_item_app = /usr/share/applications/chromium.desktop
  230. launcher_item_app = /usr/share/applications/org.gnome.DiskUtility.desktop
  231. launcher_item_app = /usr/share/applications/firefox.desktop
  232. launcher_item_app = /usr/share/applications/xsensors.desktop
  233. launcher_item_app = /usr/share/applications/lxrandr.desktop
  234. launcher_item_app = /usr/share/applications/pavucontrol.desktop
  235. launcher_item_app = /usr/share/applications/galculator.desktop
  236. launcher_item_app = /usr/share/applications/spotify.desktop
  237. launcher_item_app = /usr/share/applications/org.xfce.Parole.desktop
  238. launcher_item_app = /usr/share/applications/geany.desktop
  239.  
  240. #-------------------------------------
  241. # Clock
  242. time1_format = %H:%M
  243. time2_format =
  244. time1_font = sans bold 9
  245. time1_timezone =
  246. time2_timezone =
  247. time2_font =
  248. clock_font_color = #ffffff 100
  249. clock_padding = 4 2
  250. clock_background_id = 0
  251. clock_tooltip = %A %d %B %Y
  252. clock_tooltip_timezone =
  253. clock_lclick_command =
  254. clock_rclick_command = zenity --calendar
  255. clock_mclick_command =
  256. clock_uwheel_command =
  257. clock_dwheel_command =
  258.  
  259. #-------------------------------------
  260. # Battery
  261. battery_tooltip = 1
  262. battery_low_status = 10
  263. battery_low_cmd = notify-send "battery low"
  264. battery_full_cmd =
  265. bat1_font = Sans 8
  266. bat2_font = Sans 8
  267. battery_font_color = #ffffff 100
  268. bat1_format =
  269. bat2_format =
  270. battery_padding = 3 1
  271. battery_background_id = 1
  272. battery_hide = 101
  273. battery_lclick_command =
  274. battery_rclick_command =
  275. battery_mclick_command =
  276. battery_uwheel_command =
  277. battery_dwheel_command =
  278. ac_connected_cmd =
  279. ac_disconnected_cmd =
  280.  
  281. #-------------------------------------
  282. # Tooltip
  283. tooltip_show_timeout = 0.7
  284. tooltip_hide_timeout = 0.3
  285. tooltip_padding = 2 2
  286. tooltip_background_id = 1
  287. tooltip_font_color = #ffffff 100
  288. tooltip_font = Sans 11
  289.  
  290. menu.xml →/home/judd/.config/openbox/menu.xml
  291. <?xml version="1.0" encoding="UTF-8"?>
  292.  
  293. <openbox_menu xmlns="http://openbox.org/3.4/menu">
  294.  
  295.  
  296. <menu id="root-menu" label="Openbox 3">
  297. <separator label="- PacBang -" />
  298. <item label="LXTerminal (Alt+t)">
  299. <action name="Execute"><command>lxterminal</command></action>
  300. </item>
  301. <item label="PCManFM (Alt+f)">
  302. <action name="Execute"><command>pcmanfm</command></action>
  303. </item>
  304. <item label="Geany (Alt+g)">
  305. <action name="Execute"><command>geany</command></action>
  306. </item>
  307. <item label="Firefox (Alt+i)">
  308. <action name="Execute"><command>firefox</command></action>
  309. </item>
  310. <item label="DMenu (Alt+d)">
  311. <action name="Execute"><command>dmenu_run -b -fn -misc-fixed-*-*-*-*-20-200-*-*-*-*-*-* -i -nf 'gray' -sb '#1793d0' -nb '#353535'</command></action>
  312. </item>
  313. <item label="Nitrogen (Alt+n)">
  314. <action name="Execute"><command>nitrogen</command></action>
  315. </item>
  316. <separator />
  317. <menu id="applications" label="Applications" execute="xdg_menu --format openbox3-pipe --root-menu /etc/xdg/menus/arch-applications.menu" />
  318. <menu id="Config" label="Configuration">
  319. <item label="OBConf">
  320. <action name="Execute"><command>obconf</command></action>
  321. </item>
  322. <item label="LXAppearance">
  323. <action name="Execute"><command>lxappearance</command></action>
  324. </item>
  325. <item label="LXRandr">
  326. <action name="Execute"><command>lxrandr</command></action>
  327. </item>
  328. <item label="LXInput">
  329. <action name="Execute"><command>lxinput</command></action>
  330. </item>
  331. <separator />
  332. <menu id="Base" label="Base">
  333. <item label="fstab">
  334. <action name="Execute"><command>gksu geany /etc/fstab</command></action>
  335. </item>
  336. <item label="hosts">
  337. <action name="Execute"><command>gksu geany /etc/hosts</command></action>
  338. </item>
  339. <item label="hostname">
  340. <action name="Execute"><command>gksu geany /etc/hostname</command></action>
  341. </item>
  342. <item label="locale.conf">
  343. <action name="Execute"><command>gksu geany /etc/locale.conf</command></action>
  344. </item>
  345. <item label="locale.gen">
  346. <action name="Execute"><command>gksu geany /etc/locale.gen</command></action>
  347. </item>
  348. <item label="mkinitcpio.conf">
  349. <action name="Execute"><command>gksu geany /etc/mkinitcpio.conf</command></action>
  350. </item>
  351. <item label="sudoers">
  352. <action name="Execute"><command>gksu geany /etc/sudoers</command></action>
  353. </item>
  354. <item label="vconsole.conf">
  355. <action name="Execute"><command>gksu geany /etc/vconsole.conf</command></action>
  356. </item>
  357. </menu>
  358. <menu id="BashConf" label="Bash">
  359. <item label=".bash_logout">
  360. <action name="Execute"><command>geany -m ~/.bash_logout</command></action>
  361. </item>
  362. <item label=".bash_profile">
  363. <action name="Execute"><command>geany -m ~/.bash_profile</command></action>
  364. </item>
  365. <item label=".bashrc">
  366. <action name="Execute"><command>geany -m ~/.bashrc</command></action>
  367. </item>
  368. </menu>
  369. <menu id="DE" label="DE">
  370. <item label=".conkyrc">
  371. <action name="Execute"><command>geany -m ~/.conkyrc</command></action>
  372. </item>
  373. <item label="environment">
  374. <action name="Execute"><command>gksu geany /etc/environment</command></action>
  375. </item>
  376. <item label=".gtkrc-2.0">
  377. <action name="Execute"><command>geany -m ~/.gtkrc-2.0</command></action>
  378. </item>
  379. <item label=".gtkrc-2.0 (root)">
  380. <action name="Execute"><command>gksu geany /root/.gtkrc-2.0</command></action>
  381. </item>
  382. <item label="settings.ini (gtk-3.0)">
  383. <action name="Execute"><command>geany ~/.config/gtk-3.0/settings.ini</command></action>
  384. </item>
  385. <item label="tint2rc">
  386. <action name="Execute"><command>geany -m ~/.config/tint2/tint2rc</command></action>
  387. </item>
  388. <item label="tint2 GUI">
  389. <action name="Execute"><command>tint2conf</command></action>
  390. </item>
  391. </menu>
  392. <menu id="DM" label="DM">
  393. <item label="lxdm.conf">
  394. <action name="Execute"><command>gksu geany /etc/lxdm/lxdm.conf</command></action>
  395. </item>
  396. </menu>
  397. <menu id="OpenboxConf" label="Openbox">
  398. <item label="autostart">
  399. <action name="Execute"><command>geany -m ~/.config/openbox/autostart</command></action>
  400. </item>
  401. <item label="environment">
  402. <action name="Execute"><command>geany -m ~/.config/openbox/environment</command></action>
  403. </item>
  404. <item label="menu.xml">
  405. <action name="Execute"><command>geany -m ~/.config/openbox/menu.xml</command></action>
  406. </item>
  407. <item label="rc.xml">
  408. <action name="Execute"><command>geany -m ~/.config/openbox/rc.xml</command></action>
  409. </item>
  410. <item label="--reconfigure">
  411. <action name="Execute"><command>openbox --reconfigure</command></action>
  412. </item>
  413. </menu>
  414. <menu id="pacman" label="Pacman">
  415. <item label="mirrorlist">
  416. <action name="Execute"><command>gksu geany /etc/pacman.d/mirrorlist</command></action>
  417. </item>
  418. <item label="pacman.conf">
  419. <action name="Execute"><command>gksu geany /etc/pacman.conf</command></action>
  420. </item>
  421. </menu>
  422. <menu id="X11" label="X11">
  423. <item label=".xinitrc">
  424. <action name="Execute"><command>geany -m ~/.xinitrc</command></action>
  425. </item>
  426. </menu>
  427. </menu>
  428. <separator />
  429. <item label="Lock (alt+x, l)">
  430. <action name="Execute"><command>xlock -mode blank &</command></action>
  431. </item>
  432. <item label="Logout (alt+x, o)">
  433. <action name="Execute"><command>openbox --exit</command></action>
  434. </item>
  435. <item label="Reboot (alt+x, r)">
  436. <action name="Execute"><command>systemctl reboot</command></action>
  437. </item>
  438. <item label="Shutdown (alt+x, s)">
  439. <action name="Execute"><command>systemctl poweroff</command></action>
  440. </openbox_menu>
  441.  
  442. rc.xml → /home/judd/.config/menu.xml
  443. <?xml version="1.0" encoding="UTF-8"?>
  444. <!-- Do not edit this file, it will be overwritten on install.
  445. Copy the file to $HOME/.config/openbox/ instead. -->
  446. <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
  447. <resistance>
  448. <strength>10</strength>
  449. <screen_edge_strength>20</screen_edge_strength>
  450. </resistance>
  451. <focus>
  452. <focusNew>yes</focusNew>
  453. <!-- always try to focus new windows when they appear. other rules do
  454. apply -->
  455. <followMouse>no</followMouse>
  456. <!-- move focus to a window when you move the mouse into it -->
  457. <focusLast>yes</focusLast>
  458. <!-- focus the last used window when changing desktops, instead of the one
  459. under the mouse pointer. when followMouse is enabled -->
  460. <underMouse>no</underMouse>
  461. <!-- move focus under the mouse, even when the mouse is not moving -->
  462. <focusDelay>200</focusDelay>
  463. <!-- when followMouse is enabled, the mouse must be inside the window for
  464. this many milliseconds (1000 = 1 sec) before moving focus to it -->
  465. <raiseOnFocus>no</raiseOnFocus>
  466. <!-- when followMouse is enabled, and a window is given focus by moving the
  467. mouse into it, also raise the window -->
  468. </focus>
  469. <placement>
  470. <policy>Smart</policy>
  471. <!-- 'Smart' or 'UnderMouse' -->
  472. <monitor>Primary</monitor>
  473. <!-- with Smart placement on a multi-monitor system, try to place new windows
  474. on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  475. the active window is, 'Primary' - only on the primary monitor -->
  476. <primaryMonitor>1</primaryMonitor>
  477. <!-- The monitor where Openbox should place popup dialogs such as the
  478. focus cycling popup, or the desktop switch popup. It can be an index
  479. from 1, specifying a particular monitor. Or it can be one of the
  480. following: 'Mouse' - where the mouse is, or
  481. 'Active' - where the active window is -->
  482. </placement>
  483. <theme>
  484. <name>Numix</name>
  485. <titleLayout>NLIMC</titleLayout>
  486. <!--
  487. available characters are NDSLIMC, each can occur at most once.
  488. N: window icon
  489. L: window label (AKA title).
  490. I: iconify
  491. M: maximize
  492. C: close
  493. S: shade (roll up/down)
  494. D: omnipresent (on all desktops).
  495. -->
  496. <keepBorder>yes</keepBorder>
  497. <animateIconify>no</animateIconify>
  498. <font place="ActiveWindow">
  499. <name>sans</name>
  500. <size>8</size>
  501. <!-- font size in points -->
  502. <weight>bold</weight>
  503. <!-- 'bold' or 'normal' -->
  504. <slant>normal</slant>
  505. <!-- 'italic' or 'normal' -->
  506. </font>
  507. <font place="InactiveWindow">
  508. <name>sans</name>
  509. <size>8</size>
  510. <!-- font size in points -->
  511. <weight>bold</weight>
  512. <!-- 'bold' or 'normal' -->
  513. <slant>normal</slant>
  514. <!-- 'italic' or 'normal' -->
  515. </font>
  516. <font place="MenuHeader">
  517. <name>sans</name>
  518. <size>9</size>
  519. <!-- font size in points -->
  520. <weight>normal</weight>
  521. <!-- 'bold' or 'normal' -->
  522. <slant>normal</slant>
  523. <!-- 'italic' or 'normal' -->
  524. </font>
  525. <font place="MenuItem">
  526. <name>sans</name>
  527. <size>9</size>
  528. <!-- font size in points -->
  529. <weight>normal</weight>
  530. <!-- 'bold' or 'normal' -->
  531. <slant>normal</slant>
  532. <!-- 'italic' or 'normal' -->
  533. </font>
  534. <font place="ActiveOnScreenDisplay">
  535. <name>sans</name>
  536. <size>9</size>
  537. <!-- font size in points -->
  538. <weight>bold</weight>
  539. <!-- 'bold' or 'normal' -->
  540. <slant>normal</slant>
  541. <!-- 'italic' or 'normal' -->
  542. </font>
  543. <font place="InactiveOnScreenDisplay">
  544. <name>sans</name>
  545. <size>9</size>
  546. <!-- font size in points -->
  547. <weight>bold</weight>
  548. <!-- 'bold' or 'normal' -->
  549. <slant>normal</slant>
  550. <!-- 'italic' or 'normal' -->
  551. </font>
  552. </theme>
  553. <desktops>
  554. <!-- this stuff is only used at startup, pagers allow you to change them
  555. during a session
  556.  
  557. these are default values to use when other ones are not already set
  558. by other applications, or saved in your session
  559.  
  560. use obconf if you want to change these without having to log out
  561. and back in -->
  562. <number>2</number>
  563. <firstdesk>1</firstdesk>
  564. <names>
  565. <!-- set names up here if you want to, like this:
  566. <name>desktop 1</name>
  567. <name>desktop 2</name>
  568. -->
  569. </names>
  570. <popupTime>875</popupTime>
  571. <!-- The number of milliseconds to show the popup for when switching
  572. desktops. Set this to 0 to disable the popup. -->
  573. </desktops>
  574. <resize>
  575. <drawContents>yes</drawContents>
  576. <popupShow>Nonpixel</popupShow>
  577. <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  578. <popupPosition>Center</popupPosition>
  579. <!-- 'Center', 'Top', or 'Fixed' -->
  580. <popupFixedPosition>
  581. <!-- these are used if popupPosition is set to 'Fixed' -->
  582. <x>10</x>
  583. <!-- positive number for distance from left edge, negative number for
  584. distance from right edge, or 'Center' -->
  585. <y>10</y>
  586. <!-- positive number for distance from top edge, negative number for
  587. distance from bottom edge, or 'Center' -->
  588. </popupFixedPosition>
  589. </resize>
  590. <!-- You can reserve a portion of your screen where windows will not cover when
  591. they are maximized, or when they are initially placed.
  592. Many programs reserve space automatically, but you can use this in other
  593. cases. -->
  594. <margins>
  595. <top>0</top>
  596. <bottom>0</bottom>
  597. <left>0</left>
  598. <right>0</right>
  599. </margins>
  600. <dock>
  601. <position>TopLeft</position>
  602. <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  603. <floatingX>0</floatingX>
  604. <floatingY>0</floatingY>
  605. <noStrut>no</noStrut>
  606. <stacking>Above</stacking>
  607. <!-- 'Above', 'Normal', or 'Below' -->
  608. <direction>Vertical</direction>
  609. <!-- 'Vertical' or 'Horizontal' -->
  610. <autoHide>no</autoHide>
  611. <hideDelay>300</hideDelay>
  612. <!-- in milliseconds (1000 = 1 second) -->
  613. <showDelay>300</showDelay>
  614. <!-- in milliseconds (1000 = 1 second) -->
  615. <moveButton>Middle</moveButton>
  616. <!-- 'Left', 'Middle', 'Right' -->
  617. </dock>
  618. <keyboard>
  619. <chainQuitKey>C-g</chainQuitKey>
  620. <!-- Keybindings for desktop switching -->
  621. <keybind key="C-A-Left">
  622. <action name="GoToDesktop">
  623. <to>left</to>
  624. <wrap>no</wrap>
  625. </action>
  626. </keybind>
  627. <keybind key="C-A-Right">
  628. <action name="GoToDesktop">
  629. <to>right</to>
  630. <wrap>no</wrap>
  631. </action>
  632. </keybind>
  633. <keybind key="C-A-Up">
  634. <action name="GoToDesktop">
  635. <to>up</to>
  636. <wrap>no</wrap>
  637. </action>
  638. </keybind>
  639. <keybind key="C-A-Down">
  640. <action name="GoToDesktop">
  641. <to>down</to>
  642. <wrap>no</wrap>
  643. </action>
  644. </keybind>
  645. <keybind key="S-A-Left">
  646. <action name="SendToDesktop">
  647. <to>left</to>
  648. <wrap>no</wrap>
  649. </action>
  650. </keybind>
  651. <keybind key="S-A-Right">
  652. <action name="SendToDesktop">
  653. <to>right</to>
  654. <wrap>no</wrap>
  655. </action>
  656. </keybind>
  657. <keybind key="S-A-Up">
  658. <action name="SendToDesktop">
  659. <to>up</to>
  660. <wrap>no</wrap>
  661. </action>
  662. </keybind>
  663. <keybind key="S-A-Down">
  664. <action name="SendToDesktop">
  665. <to>down</to>
  666. <wrap>no</wrap>
  667. </action>
  668. </keybind>
  669. <keybind key="W-F1">
  670. <action name="GoToDesktop">
  671. <to>1</to>
  672. </action>
  673. </keybind>
  674. <keybind key="W-F2">
  675. <action name="GoToDesktop">
  676. <to>2</to>
  677. </action>
  678. </keybind>
  679. <keybind key="W-F3">
  680. <action name="GoToDesktop">
  681. <to>3</to>
  682. </action>
  683. </keybind>
  684. <keybind key="W-F4">
  685. <action name="GoToDesktop">
  686. <to>4</to>
  687. </action>
  688. </keybind>
  689. <keybind key="W-d">
  690. <action name="ToggleShowDesktop"/>
  691. </keybind>
  692. <!-- Keybindings for windows -->
  693. <keybind key="A-F4">
  694. <action name="Close"/>
  695. </keybind>
  696. <keybind key="A-Escape">
  697. <action name="Lower"/>
  698. <action name="FocusToBottom"/>
  699. <action name="Unfocus"/>
  700. </keybind>
  701. <keybind key="A-space">
  702. <action name="ShowMenu">
  703. <menu>client-menu</menu>
  704. </action>
  705. </keybind>
  706. <!-- Keybindings for window switching -->
  707. <keybind key="A-Tab">
  708. <action name="NextWindow">
  709. <finalactions>
  710. <action name="Focus"/>
  711. <action name="Raise"/>
  712. <action name="Unshade"/>
  713. </finalactions>
  714. </action>
  715. </keybind>
  716. <keybind key="A-S-Tab">
  717. <action name="PreviousWindow">
  718. <finalactions>
  719. <action name="Focus"/>
  720. <action name="Raise"/>
  721. <action name="Unshade"/>
  722. </finalactions>
  723. </action>
  724. </keybind>
  725. <keybind key="C-A-Tab">
  726. <action name="NextWindow">
  727. <panels>yes</panels>
  728. <desktop>yes</desktop>
  729. <finalactions>
  730. <action name="Focus"/>
  731. <action name="Raise"/>
  732. <action name="Unshade"/>
  733. </finalactions>
  734. </action>
  735. </keybind>
  736. <!-- Keybindings for window switching with the arrow keys -->
  737. <keybind key="W-S-Right">
  738. <action name="DirectionalCycleWindows">
  739. <direction>right</direction>
  740. </action>
  741. </keybind>
  742. <keybind key="W-S-Left">
  743. <action name="DirectionalCycleWindows">
  744. <direction>left</direction>
  745. </action>
  746. </keybind>
  747. <keybind key="W-S-Up">
  748. <action name="DirectionalCycleWindows">
  749. <direction>up</direction>
  750. </action>
  751. </keybind>
  752. <keybind key="W-S-Down">
  753. <action name="DirectionalCycleWindows">
  754. <direction>down</direction>
  755. </action>
  756. </keybind>
  757. <!-- Keybindings for running applications -->
  758. <keybind key="A-t">
  759. <action name="Execute">
  760. <command>lxterminal</command>
  761. </action>
  762. </keybind>
  763. <keybind key="A-f">
  764. <action name="Execute">
  765. <command>pcmanfm</command>
  766. </action>
  767. </keybind>
  768. <keybind key="A-g">
  769. <action name="Execute">
  770. <command>geany</command>
  771. </action>
  772. </keybind>
  773. <keybind key="A-i">
  774. <action name="Execute">
  775. <command>firefox</command>
  776. </action>
  777. </keybind>
  778. <keybind key="A-d">
  779. <action name="Execute">
  780. <command>dmenu_run -b -fn -misc-fixed-*-*-*-*-20-200-*-*-*-*-*-* -i -nf 'gray' -sb '#1793D1' -nb 'dim gray'</command>
  781. </action>
  782. </keybind>
  783. <keybind key="A-n">
  784. <action name="Execute">
  785. <command>nitrogen</command>
  786. </action>
  787. </keybind>
  788. <keybind key="A-x">
  789. <keybind key="r">
  790. <action name="Execute">
  791. <command>systemctl reboot</command>
  792. </action>
  793. </keybind>
  794. <keybind key="s">
  795. <action name="Execute">
  796. <command>systemctl poweroff</command>
  797. </action>
  798. </keybind>
  799. <keybind key="l">
  800. <action name="Execute">
  801. <command>xlock -mode blank</command>
  802. </action>
  803. </keybind>
  804. </keybind>
  805. </keyboard>
  806. <mouse>
  807. <dragThreshold>1</dragThreshold>
  808. <!-- number of pixels the mouse must move before a drag begins -->
  809. <doubleClickTime>500</doubleClickTime>
  810. <!-- in milliseconds (1000 = 1 second) -->
  811. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  812. <!-- Time before changing desktops when the pointer touches the edge of the
  813. screen while moving a window, in milliseconds (1000 = 1 second).
  814. Set this to 0 to disable warping -->
  815. <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  816. <!-- Set this to TRUE to move the mouse pointer across the desktop when
  817. switching due to hitting the edge of the screen -->
  818. <context name="Frame">
  819. <mousebind button="A-Left" action="Press">
  820. <action name="Focus"/>
  821. <action name="Raise"/>
  822. </mousebind>
  823. <mousebind button="A-Left" action="Click">
  824. <action name="Unshade"/>
  825. </mousebind>
  826. <mousebind button="A-Left" action="Drag">
  827. <action name="Move"/>
  828. </mousebind>
  829. <mousebind button="A-Right" action="Press">
  830. <action name="Focus"/>
  831. <action name="Raise"/>
  832. <action name="Unshade"/>
  833. </mousebind>
  834. <mousebind button="A-Right" action="Drag">
  835. <action name="Resize"/>
  836. </mousebind>
  837. <mousebind button="A-Middle" action="Press">
  838. <action name="Lower"/>
  839. <action name="FocusToBottom"/>
  840. <action name="Unfocus"/>
  841. </mousebind>
  842. <mousebind button="A-Up" action="Click">
  843. <action name="GoToDesktop">
  844. <to>previous</to>
  845. </action>
  846. </mousebind>
  847. <mousebind button="A-Down" action="Click">
  848. <action name="GoToDesktop">
  849. <to>next</to>
  850. </action>
  851. </mousebind>
  852. <mousebind button="C-A-Up" action="Click">
  853. <action name="GoToDesktop">
  854. <to>previous</to>
  855. </action>
  856. </mousebind>
  857. <mousebind button="C-A-Down" action="Click">
  858. <action name="GoToDesktop">
  859. <to>next</to>
  860. </action>
  861. </mousebind>
  862. <mousebind button="A-S-Up" action="Click">
  863. <action name="SendToDesktop">
  864. <to>previous</to>
  865. </action>
  866. </mousebind>
  867. <mousebind button="A-S-Down" action="Click">
  868. <action name="SendToDesktop">
  869. <to>next</to>
  870. </action>
  871. </mousebind>
  872. </context>
  873. <context name="Titlebar">
  874. <mousebind button="Left" action="Drag">
  875. <action name="Move"/>
  876. </mousebind>
  877. <mousebind button="Left" action="DoubleClick">
  878. <action name="ToggleMaximize"/>
  879. </mousebind>
  880. <mousebind button="Up" action="Click">
  881. <action name="if">
  882. <shaded>no</shaded>
  883. <then>
  884. <action name="Shade"/>
  885. <action name="FocusToBottom"/>
  886. <action name="Unfocus"/>
  887. <action name="Lower"/>
  888. </then>
  889. </action>
  890. </mousebind>
  891. <mousebind button="Down" action="Click">
  892. <action name="if">
  893. <shaded>yes</shaded>
  894. <then>
  895. <action name="Unshade"/>
  896. <action name="Raise"/>
  897. </then>
  898. </action>
  899. </mousebind>
  900. </context>
  901. <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  902. <mousebind button="Left" action="Press">
  903. <action name="Focus"/>
  904. <action name="Raise"/>
  905. <action name="Unshade"/>
  906. </mousebind>
  907. <mousebind button="Middle" action="Press">
  908. <action name="Lower"/>
  909. <action name="FocusToBottom"/>
  910. <action name="Unfocus"/>
  911. </mousebind>
  912. <mousebind button="Right" action="Press">
  913. <action name="Focus"/>
  914. <action name="Raise"/>
  915. <action name="ShowMenu">
  916. <menu>client-menu</menu>
  917. </action>
  918. </mousebind>
  919. </context>
  920. <context name="Top">
  921. <mousebind button="Left" action="Drag">
  922. <action name="Resize">
  923. <edge>top</edge>
  924. </action>
  925. </mousebind>
  926. </context>
  927. <context name="Left">
  928. <mousebind button="Left" action="Drag">
  929. <action name="Resize">
  930. <edge>left</edge>
  931. </action>
  932. </mousebind>
  933. </context>
  934. <context name="Right">
  935. <mousebind button="Left" action="Drag">
  936. <action name="Resize">
  937. <edge>right</edge>
  938. </action>
  939. </mousebind>
  940. </context>
  941. <context name="Bottom">
  942. <mousebind button="Left" action="Drag">
  943. <action name="Resize">
  944. <edge>bottom</edge>
  945. </action>
  946. </mousebind>
  947. <mousebind button="Right" action="Press">
  948. <action name="Focus"/>
  949. <action name="Raise"/>
  950. <action name="ShowMenu">
  951. <menu>client-menu</menu>
  952. </action>
  953. </mousebind>
  954. </context>
  955. <context name="TRCorner BRCorner TLCorner BLCorner">
  956. <mousebind button="Left" action="Press">
  957. <action name="Focus"/>
  958. <action name="Raise"/>
  959. <action name="Unshade"/>
  960. </mousebind>
  961. <mousebind button="Left" action="Drag">
  962. <action name="Resize"/>
  963. </mousebind>
  964. </context>
  965. <context name="Client">
  966. <mousebind button="Left" action="Press">
  967. <action name="Focus"/>
  968. <action name="Raise"/>
  969. </mousebind>
  970. <mousebind button="Middle" action="Press">
  971. <action name="Focus"/>
  972. <action name="Raise"/>
  973. </mousebind>
  974. <mousebind button="Right" action="Press">
  975. <action name="Focus"/>
  976. <action name="Raise"/>
  977. </mousebind>
  978. </context>
  979. <context name="Icon">
  980. <mousebind button="Left" action="Press">
  981. <action name="Focus"/>
  982. <action name="Raise"/>
  983. <action name="Unshade"/>
  984. <action name="ShowMenu">
  985. <menu>client-menu</menu>
  986. </action>
  987. </mousebind>
  988. <mousebind button="Right" action="Press">
  989. <action name="Focus"/>
  990. <action name="Raise"/>
  991. <action name="ShowMenu">
  992. <menu>client-menu</menu>
  993. </action>
  994. </mousebind>
  995. </context>
  996. <context name="AllDesktops">
  997. <mousebind button="Left" action="Press">
  998. <action name="Focus"/>
  999. <action name="Raise"/>
  1000. <action name="Unshade"/>
  1001. </mousebind>
  1002. <mousebind button="Left" action="Click">
  1003. <action name="ToggleOmnipresent"/>
  1004. </mousebind>
  1005. </context>
  1006. <context name="Shade">
  1007. <mousebind button="Left" action="Press">
  1008. <action name="Focus"/>
  1009. <action name="Raise"/>
  1010. </mousebind>
  1011. <mousebind button="Left" action="Click">
  1012. <action name="ToggleShade"/>
  1013. </mousebind>
  1014. </context>
  1015. <context name="Iconify">
  1016. <mousebind button="Left" action="Press">
  1017. <action name="Focus"/>
  1018. <action name="Raise"/>
  1019. </mousebind>
  1020. <mousebind button="Left" action="Click">
  1021. <action name="Iconify"/>
  1022. </mousebind>
  1023. </context>
  1024. <context name="Maximize">
  1025. <mousebind button="Left" action="Press">
  1026. <action name="Focus"/>
  1027. <action name="Raise"/>
  1028. <action name="Unshade"/>
  1029. </mousebind>
  1030. <mousebind button="Middle" action="Press">
  1031. <action name="Focus"/>
  1032. <action name="Raise"/>
  1033. <action name="Unshade"/>
  1034. </mousebind>
  1035. <mousebind button="Right" action="Press">
  1036. <action name="Focus"/>
  1037. <action name="Raise"/>
  1038. <action name="Unshade"/>
  1039. </mousebind>
  1040. <mousebind button="Left" action="Click">
  1041. <action name="ToggleMaximize"/>
  1042. </mousebind>
  1043. <mousebind button="Middle" action="Click">
  1044. <action name="ToggleMaximize">
  1045. <direction>vertical</direction>
  1046. </action>
  1047. </mousebind>
  1048. <mousebind button="Right" action="Click">
  1049. <action name="ToggleMaximize">
  1050. <direction>horizontal</direction>
  1051. </action>
  1052. </mousebind>
  1053. </context>
  1054. <context name="Close">
  1055. <mousebind button="Left" action="Press">
  1056. <action name="Focus"/>
  1057. <action name="Raise"/>
  1058. <action name="Unshade"/>
  1059. </mousebind>
  1060. <mousebind button="Left" action="Click">
  1061. <action name="Close"/>
  1062. </mousebind>
  1063. </context>
  1064. <context name="Desktop">
  1065. <mousebind button="Up" action="Click">
  1066. <action name="GoToDesktop">
  1067. <to>previous</to>
  1068. </action>
  1069. </mousebind>
  1070. <mousebind button="Down" action="Click">
  1071. <action name="GoToDesktop">
  1072. <to>next</to>
  1073. </action>
  1074. </mousebind>
  1075. <mousebind button="A-Up" action="Click">
  1076. <action name="GoToDesktop">
  1077. <to>previous</to>
  1078. </action>
  1079. </mousebind>
  1080. <mousebind button="A-Down" action="Click">
  1081. <action name="GoToDesktop">
  1082. <to>next</to>
  1083. </action>
  1084. </mousebind>
  1085. <mousebind button="C-A-Up" action="Click">
  1086. <action name="GoToDesktop">
  1087. <to>previous</to>
  1088. </action>
  1089. </mousebind>
  1090. <mousebind button="C-A-Down" action="Click">
  1091. <action name="GoToDesktop">
  1092. <to>next</to>
  1093. </action>
  1094. </mousebind>
  1095. <mousebind button="Left" action="Press">
  1096. <action name="Focus"/>
  1097. <action name="Raise"/>
  1098. </mousebind>
  1099. <mousebind button="Right" action="Press">
  1100. <action name="Focus"/>
  1101. <action name="Raise"/>
  1102. </mousebind>
  1103. </context>
  1104. <context name="Root">
  1105. <!-- Menus -->
  1106. <mousebind button="Middle" action="Press">
  1107. <action name="ShowMenu">
  1108. <menu>client-list-combined-menu</menu>
  1109. </action>
  1110. </mousebind>
  1111. <mousebind button="Right" action="Press">
  1112. <action name="ShowMenu">
  1113. <menu>root-menu</menu>
  1114. </action>
  1115. </mousebind>
  1116. </context>
  1117. <context name="MoveResize">
  1118. <mousebind button="Up" action="Click">
  1119. <action name="GoToDesktop">
  1120. <to>previous</to>
  1121. </action>
  1122. </mousebind>
  1123. <mousebind button="Down" action="Click">
  1124. <action name="GoToDesktop">
  1125. <to>next</to>
  1126. </action>
  1127. </mousebind>
  1128. <mousebind button="A-Up" action="Click">
  1129. <action name="GoToDesktop">
  1130. <to>previous</to>
  1131. </action>
  1132. </mousebind>
  1133. <mousebind button="A-Down" action="Click">
  1134. <action name="GoToDesktop">
  1135. <to>next</to>
  1136. </action>
  1137. </mousebind>
  1138. </context>
  1139. </mouse>
  1140. <menu>
  1141. <!-- You can specify more than one menu file in here and they are all loaded,
  1142. just don't make menu ids clash or, well, it'll be kind of pointless -->
  1143. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  1144. <file>menu.xml</file>
  1145. <hideDelay>200</hideDelay>
  1146. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  1147. menu is hidden again -->
  1148. <middle>no</middle>
  1149. <!-- center submenus vertically about the parent entry -->
  1150. <submenuShowDelay>100</submenuShowDelay>
  1151. <!-- time to delay before showing a submenu after hovering over the parent
  1152. entry.
  1153. if this is a negative value, then the delay is infinite and the
  1154. submenu will not be shown until it is clicked on -->
  1155. <submenuHideDelay>400</submenuHideDelay>
  1156. <!-- time to delay before hiding a submenu when selecting another
  1157. entry in parent menu
  1158. if this is a negative value, then the delay is infinite and the
  1159. submenu will not be hidden until a different submenu is opened -->
  1160. <showIcons>no</showIcons>
  1161. <!-- controls if icons appear in the client-list-(combined-)menu -->
  1162. <manageDesktops>yes</manageDesktops>
  1163. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  1164. </menu>
  1165. <applications>
  1166. <!--
  1167. # this is an example with comments through out. use these to make your
  1168. # own rules, but without the comments of course.
  1169. # you may use one or more of the name/class/role/title/type rules to specify
  1170. # windows to match
  1171.  
  1172. <application name="the window's _OB_APP_NAME property (see obxprop)"
  1173. class="the window's _OB_APP_CLASS property (see obxprop)"
  1174. groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)"
  1175. groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)"
  1176. role="the window's _OB_APP_ROLE property (see obxprop)"
  1177. title="the window's _OB_APP_TITLE property (see obxprop)"
  1178. type="the window's _OB_APP_TYPE property (see obxprob)..
  1179. (if unspecified, then it is 'dialog' for child windows)">
  1180. # you may set only one of name/class/role/title/type, or you may use more
  1181. # than one together to restrict your matches.
  1182.  
  1183. # the name, class, role, and title use simple wildcard matching such as those
  1184. # used by a shell. you can use * to match any characters and ? to match
  1185. # any single character.
  1186.  
  1187. # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  1188. # or desktop
  1189.  
  1190. # when multiple rules match a window, they will all be applied, in the
  1191. # order that they appear in this list
  1192.  
  1193.  
  1194. # each rule element can be left out or set to 'default' to specify to not
  1195. # change that attribute of the window
  1196.  
  1197. <decor>yes</decor>
  1198. # enable or disable window decorations
  1199.  
  1200. <shade>no</shade>
  1201. # make the window shaded when it appears, or not
  1202.  
  1203. <position force="no">
  1204. # the position is only used if both an x and y coordinate are provided
  1205. # (and not set to 'default')
  1206. # when force is "yes", then the window will be placed here even if it
  1207. # says you want it placed elsewhere. this is to override buggy
  1208. # applications who refuse to behave
  1209. <x>center</x>
  1210. # a number like 50, or 'center' to center on screen. use a negative number
  1211. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from
  1212. # the right edge (or bottom). use 'default' to specify using value
  1213. # provided by the application, or chosen by openbox, instead.
  1214. <y>200</y>
  1215. <monitor>1</monitor>
  1216. # specifies the monitor in a xinerama setup.
  1217. # 1 is the first head, or 'mouse' for wherever the mouse is
  1218. </position>
  1219.  
  1220. <size>
  1221. # the size to make the window.
  1222. <width>20</width>
  1223. # a number like 20, or 'default' to use the size given by the application.
  1224. # you can use fractions such as 1/2 or percentages such as 75% in which
  1225. # case the value is relative to the size of the monitor that the window
  1226. # appears on.
  1227. <height>30%</height>
  1228. </size>
  1229.  
  1230. <focus>yes</focus>
  1231. # if the window should try be given focus when it appears. if this is set
  1232. # to yes it doesn't guarantee the window will be given focus. some
  1233. # restrictions may apply, but Openbox will try to
  1234.  
  1235. <desktop>1</desktop>
  1236. # 1 is the first desktop, 'all' for all desktops
  1237.  
  1238. <layer>normal</layer>
  1239. # 'above', 'normal', or 'below'
  1240.  
  1241. <iconic>no</iconic>
  1242. # make the window iconified when it appears, or not
  1243.  
  1244. <skip_pager>no</skip_pager>
  1245. # asks to not be shown in pagers
  1246.  
  1247. <skip_taskbar>no</skip_taskbar>
  1248. # asks to not be shown in taskbars. window cycling actions will also
  1249. # skip past such windows
  1250.  
  1251. <fullscreen>yes</fullscreen>
  1252. # make the window in fullscreen mode when it appears
  1253.  
  1254. <maximized>true</maximized>
  1255. # 'Horizontal', 'Vertical' or boolean (yes/no)
  1256. </application>
  1257.  
  1258. # end of the example
  1259. -->
  1260. </applications>
  1261. </openbox_config>
  1262.  
  1263. sudoers → /etc/sudoers
  1264. ## sudoers file.
  1265. ##
  1266. ## This file MUST be edited with the 'visudo' command as root.
  1267. ## Failure to use 'visudo' may result in syntax or file permission errors
  1268. ## that prevent sudo from running.
  1269. ##
  1270. ## See the sudoers man page for the details on how to write a sudoers file.
  1271. ##
  1272.  
  1273. ##
  1274. ## Host alias specification
  1275. ##
  1276. ## Groups of machines. These may include host names (optionally with wildcards),
  1277. ## IP addresses, network numbers or netgroups.
  1278. # Host_Alias WEBSERVERS = www1, www2, www3
  1279.  
  1280. ##
  1281. ## User alias specification
  1282. ##
  1283. ## Groups of users. These may consist of user names, uids, Unix groups,
  1284. ## or netgroups.
  1285. # User_Alias ADMINS = millert, dowdy, mikef
  1286.  
  1287. ##
  1288. ## Cmnd alias specification
  1289. ##
  1290. ## Groups of commands. Often used to group related commands together.
  1291. # Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
  1292. # /usr/bin/pkill, /usr/bin/top
  1293. # Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
  1294.  
  1295. ##
  1296. ## Defaults specification
  1297. ##
  1298. ## You may wish to keep some of the following environment variables
  1299. ## when running commands via sudo.
  1300. ##
  1301. ## Locale settings
  1302. # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
  1303. ##
  1304. ## Run X applications through sudo; HOME is used to find the
  1305. ## .Xauthority file. Note that other programs use HOME to find
  1306. ## configuration files and this may lead to privilege escalation!
  1307. # Defaults env_keep += "HOME"
  1308. ##
  1309. ## X11 resource path settings
  1310. # Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
  1311. ##
  1312. ## Desktop path settings
  1313. # Defaults env_keep += "QTDIR KDEDIR"
  1314. ##
  1315. ## Allow sudo-run commands to inherit the callers' ConsoleKit session
  1316. # Defaults env_keep += "XDG_SESSION_COOKIE"
  1317. ##
  1318. ## Uncomment to enable special input methods. Care should be taken as
  1319. ## this may allow users to subvert the command being run via sudo.
  1320. # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
  1321. ##
  1322. ## Uncomment to use a hard-coded PATH instead of the user's to find commands
  1323. # Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  1324. ##
  1325. ## Uncomment to send mail if the user does not enter the correct password.
  1326. # Defaults mail_badpass
  1327. ##
  1328. ## Uncomment to enable logging of a command's output, except for
  1329. ## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
  1330. # Defaults log_output
  1331. # Defaults!/usr/bin/sudoreplay !log_output
  1332. # Defaults!/usr/local/bin/sudoreplay !log_output
  1333. # Defaults!REBOOT !log_output
  1334.  
  1335. ##
  1336. ## Runas alias specification
  1337. ##
  1338.  
  1339. ##
  1340. ## User privilege specification
  1341. ##
  1342. root ALL=(ALL) ALL
  1343.  
  1344. ## Uncomment to allow members of group wheel to execute any command
  1345. %wheel ALL=(ALL) ALL
  1346.  
  1347. ## Same thing without a password
  1348. # %wheel ALL=(ALL) NOPASSWD: ALL
  1349.  
  1350. ## Uncomment to allow members of group sudo to execute any command
  1351. # %sudo ALL=(ALL) ALL
  1352.  
  1353. ## Uncomment to allow any user to run sudo if they know the password
  1354. ## of the user they are running the command as (root by default).
  1355. # Defaults targetpw # Ask for the password of the target user
  1356. # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
  1357.  
  1358. ## Read drop-in files from /etc/sudoers.d
  1359. ## (the '#' here does not indicate a comment)
  1360. #includedir /etc/sudoers.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement