Difference between revisions of "Linux Desktop Environments"
m (Adding note on openbox configuration in rc.xml file to place app on all of given user's virtual desktops.) |
m |
||
Line 59: | Line 59: | ||
803 </openbox_config> | 803 </openbox_config> | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | <!-- comment --> | ||
+ | |||
+ | == [[#top|^]] References == | ||
+ | |||
+ | * https://wiki.archlinux.org/title/openbox | ||
<!-- comment --> | <!-- comment --> |
Revision as of 19:44, 8 November 2021
Linux Desktop Environments
Openbox configuration
A normal user's programs on a Linux host, installed with [Openbox http://openbox.org/wiki/Main_Page], can be started automatically at login by creating and or amending the file ${HOME}/.config/openbox/autostart
. Here is a sample autostart file:
##---------------------------------------------------------------------- ## Openbox autostart file, as found 2019-11-02 ##---------------------------------------------------------------------- # export SESSION_MANAGER=lightdm export SESSION_MANAGER=/var/run/lxdm/lxdm.sock xset -b (sleep 1s && xscreensaver) & (sleep 1s && /home/veris/dot-bashrc-amendments.sh) & (sleep 1s && nm-applet) & # (sleep 3s && conky) & # (sleep 1s && xclock 200x200+1300+50) & (sleep 1s && xclock -geometry 150x150+1200+80) & (sleep 1s && idesk ) & (sleep 1s && xfce4-panel) ## --- EOF ---
Note: most server versions of Ubuntu Linux don't install [xscreensaver https://www.jwz.org/xscreensaver/], a long standing, open source screen saver which also provides session locking. When installed manually, Debian and Ubuntu's common package managing utility `apt` does not configure the host or a user account on the host to automatically run the server part of xscreensaver. Hence the line,
(sleep 1s && xscreensaver) &
In this example Openbox autostart file. On some cerca 2018 Long Term Support (LTS) releases of Ubuntu, the xscreensaver package is available but doesn't appear to have any of its constituent programs named simply 'xscreensaver'. On these releases of Ubuntu, it may be necessary to start the xscreensaver server with a slightly different invocation. One manual way to get this server running is,
$ xscreensaver-demo
. . . a demo and configuration program for xscreensaver. This program detects when there's no xscreensaver server instance running, and prompts the user with the question "Do you want to start the xscreensaver daemon?" The server, or daemon, is needed for xscreensaver to operate meaningfully.
2021-09-20 Monday
Openbox run-time config file amendment, place app on all virtual desktops:
791 <maximized>true</maximized> 792 # 'Horizontal', 'Vertical' or boolean (yes/no) 793 794 # end of the example 795 --> 796 797 <!-- 2021-09-20 added by Ted: --> 798 <application name="xclock"> 799 <desktop>all</desktop> 800 </application> 801 802 </applications> 803 </openbox_config>
^ References