Changeset 7b0365f for x/wm/openbox.xml
- Timestamp:
- 05/04/2012 03:37:21 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- ff43ebb
- Parents:
- 9166fa4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/wm/openbox.xml
r9166fa4 r7b0365f 137 137 138 138 <para> 139 In ~/.config/openbox and /etc/xdg/openbox, <filename>menu.xml</filename>140 and <filename>rc.xml</filename>139 /etc/xdg/openbox/menu.xml, /etc/xdg/openbox/rc.xml, 140 ~/.config/openbox/menu.xml and ~/.config/openbox/rc.xml 141 141 </para> 142 142 … … 161 161 162 162 <para> 163 <application>Openbox</application>'s right click menu is used to launch164 programs. The menu itself is configured with 2 files,163 <application>Openbox</application>'s right click menu can be used to 164 launch programs. The menu itself is configured with 2 files, 165 165 <filename>/etc/xdg/openbox/menu.xml</filename> and 166 <filename>~/.config/openbox/menu.xml</filename>. If167 <filename>~/.config/openbox/menu.xml</filename> doesn't exist then168 <application>Openbox</application> will copy169 <filename>/etc/xdg/openbox/menu.xml</filename> to170 <filename>~/.config/openbox/menu.xml</filename> when it is launched. 171 </para>172 173 <para> 166 <filename>~/.config/openbox/menu.xml</filename>. To make changes to the 167 menu, copy /etc/xdg/openbox/menu.xml to ~/.config/openbox/menu.xml and 168 edit it: 169 </para> 170 171 <screen role="user"><userinput>cp -rf /etc/xdg/openbox ~/.config</userinput></screen> 172 <para> 173 174 174 <filename>~/.config/openbox/menu.xml</filename> can be edited with a 175 175 text editor or you can install … … 186 186 </para> 187 187 188 <screen role="user"><userinput><item label="Mplayer" icon="/usr/share/pixmaps/mplayer.png"></userinput></screen>188 <screen><item label="Mplayer" icon="/usr/share/pixmaps/mplayer.png"></screen> 189 189 190 190 <para> … … 216 216 217 217 <para> 218 Alternatively, use the <command>openbox-session</command> script to 219 launch <command>openbox</command>. It runs another script, 220 <filename>~/.config/openbox/autostart</filename> and if that doesn't 221 exist it runs <filename>/etc/xdg/openbox/autostart</filename>. You can 222 create <filename>~/.config/openbox/autostart</filename> and edit it to 223 start any other programs you want running during your 224 <application>Openbox</application> session (eg, a panel or Dbus). 225 </para> 218 If you want to set a background image to your desktop you can use 219 <xref linkend="display"/> and launch it from ~/.xinitrc just before 220 openbox: 221 </para> 222 223 <screen role="user"><userinput>cat > ~/.xinitrc << "HERE_DOC" 224 display -backdrop -window root /path/to/beautiful/picture.jpeg 225 exec openbox 226 HERE_DOC</userinput></screen> 227 228 <para> 229 Or if you like a bit of variety, put a selection of images in a folder 230 and choose one at random each time you <command>xinit</command>: 231 </para> 232 233 <screen role="user"><userinput>cat > ~/.xinitrc << "HERE_DOC" 234 picture_list=(~/.config/backgrounds/*) 235 random_number=$(( ${RANDOM} % ${#picture_list[*]} )) 236 display -backdrop -window root "${picture_list[$random_number]}" 237 exec openbox 238 HERE_DOC</userinput></screen> 239 240 <para> 241 If you like to have the numlock key set whan you start Xorg, install 242 <ulink url="http://home.kde.org/~seli/numlockx/">Numlockx</ulink> and 243 add that to your xinitrc. Another useful application is 244 <xref linkend="dbus"/> 245 </para> 246 247 <screen role="user"><userinput>cat > ~/.xinitrc << "HERE_DOC" 248 . /etc/profile 249 picture_list=(~/.config/backgrounds/*) 250 random_number=$(( ${RANDOM} % ${#picture_list[*]} )) 251 display -backdrop -window root "${picture_list[$random_number]}" 252 numlockx 253 eval $(dbus-launch --auto-syntax --exit-with-session) 254 lxpanel & 255 exec openbox 256 HERE_DOC</userinput></screen> 226 257 </sect3> 227 258 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.