Most ideal way to autostart processes
superm1 at ubuntu.com
Thu Sep 27 15:57:30 UTC 2007
I'm leading the Mythbuntu effort, and for our next alpha we are
switching over to Xfce for our base. We were previously doing an
openbox/feh/idesk method, but Xfce is much prettier.
So in our migration over, there were a few items that I wanted to iron
out the proper way to do things.
= Autostarting of processes. =
== Gnome Volume Manager ==
We were previously using gnome-volume-manager for automounting a few
things when necessary. I understand Thunar can do this instead. Does
it need to be started, or is that handled via the startxfce4 script?
== Gnome Screensaver ==
I saw in my ~/.xsession-errors that there were attempts at xscreensaver
starting, but i didn't see any references to gnome-screensaver. It's
listed in apt-cache rdepends on xubuntu-desktop however. How does this
It's already in our dependencies, and i'll get to our old method of
starting things at the end of the mail.
== Network Manager ==
We wanted to use network-manager-gnome for providing wireless
functionality to those that wanted it. We added it to
/etc/xdg/mythbuntu/autostart (The XDG directory that we are starting
things with is /etc/xdg/mythbuntu). This works out as expected, but if
the user has an option to save the session checked, more of these
processes are started every time around. Any way to avoid that?
== Smaller Utilities ==
Our old session script started things like nvidia-settings -l and irexec
-d when certain conditions were met. Any other nice way that this
should be done?
= Current login script =
Currently, this is the session script that is used when someone chooses
the 'Mythbuntu' session.
#Mythbuntu Install & Settings Session
# Copyright © 2007 Mario Limonciello
#Set the background to black
xsetroot -solid black
if [ -x /usr/bin/gnome-screensaver ]; then
#Mythbuntu live configuration
if [ -x /usr/bin/mythbuntu-startup ]; then
gksudo "mythbuntu-startup --load"
#Start window manager
Any recommendations of what should be done instead then?
superm1 at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
More information about the xubuntu-devel