Difference between revisions of "Linux Desktop Environments"

From Wiki at Neela Nurseries
Jump to: navigation, search
m
(Openbox configuration)
Line 29: Line 29:
 
</pre>
 
</pre>
  
Note:  most server versions of Ubuntu Linux don't install 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,
+
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) &
 
     (sleep 1s && xscreensaver) &

Revision as of 11:18, 2 November 2019

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.