[mythtv-users] How do I replace gnome desktop with a lightweight window manager?
Phill Edwards
philledwards at gmail.com
Sun Apr 4 14:28:30 UTC 2010
I've just reinstalled my MythTV 0.22 combined backend/frontend on
Fedora 12 (it used to be CentOS). But when it boots up it goes into
what I think is gnome-desktop rather than running mythwelcome. I don't
understand why that is and it's not what I want. I want it to boot
into a more lightweight window manager like openbox. Here's my
/home/mythtv/.xsession:
#!/bin/bash
logverbose 6
# Run xscreensaver daemon after killing any existing xscreensaver daemons
xscreensaver-command -exit
xscreensaver &
# Run xmodmap to ensure keys on MCE remote are mapped to something
xmodmap /home/mythtv/.Xmodmap
# Disable dynamic power management (screen blanking)
/usr/bin/xset -dpms
# Disable screen saver
/usr/bin/xset s off # Disable dynamic power management (screen blanking)
/usr/bin/xset s noblank
### Only start irexec if there isn't one already running.
IREXECSTS=`ps -e | grep irexec | grep -v grep | wc -l | awk '{print $1}'`
if [ $IREXECSTS -eq 0 ]
then
irexec --daemon /home/mythtv/.mythtv/lircrc
fi
### Only start irxevent if there isn't one already running.
IRXEVENTSTS=`ps -e | grep irxevent | grep -v grep | wc -l | awk '{print $1}'`
if [ $IRXEVENTSTS -eq 0 ]
then
irxevent /home/mythtv/.mythtv/lircrc &
fi
# Load saved nVidia driver custom settings
nvidia-settings --load-config-only &
# Start bbkeys to get keyboard shortcuts - used for blackbox win mgr
# Only start bbkeys if there isn't one already running.
BBKEYSTS=`ps -e | grep bbkeys | grep -v grep | wc -l | awk '{print $1}'`
if [ $BBKEYSTS -eq 0 ]
then
bbkeys &
fi
### Run script to fire up x11vnc for VNC connections from PCs
/usr/local/bin/x11vnc.sh &
# Run mythwelcome which starts mythfrontend
mythwelcome &
exec /usr/bin/openbox
How do I get it to start what I've put in my .xsession and not go into
gnome-desktop?
Regards,
Phill
More information about the mythtv-users
mailing list