[mythtv-users] Window Managers - Success with "ratpoison" instead
Support [ Ian Ward ]
support at cyberpro.com.au
Sat Oct 29 00:06:24 EDT 2005
I had been meaning to try this for ages, but was bored today so I
thought I would risk WAF & FAF
I have a master backend/frontend running on FC3, I use my FC4
workstation as a frontend when the family insist on watching soap.
ratpoison makes alot of sense as kde is such a beast.
I also took the opportunity to change the way the frontend is spawned so
that on the odd occasion it crashes, you don't need to get up off the
lounge to "control-alt-backspace" the X
I have gdm set to autologon after 5 seconds.
The newest prebuilt rpm I could find was here:
this is a FC2 version that loaded on my FC3 without issue, and on my FC4
after installing "compat-readline"
It is a super lean window manager that spawns in an insant.
To get full screen xterm is as easy at typing "Control-c Control-t c"
(that's three keystrokes)
I would recommend it as it saves mucking around with disabling the kde
sound server, modifying mouse focus etc..
Why waste memory on a window manager when it is not required
On RedHat the "switchdesk" command creates .Xclients and
.Xclients-default in your home directory to set for kde
I created a .Xclients-ratpoison and called it from .Xclients , that will
keep it safe from being overwritten with "switchdesk"
Instead of having my startup commands in .kde/Autostart/myth-load.sh I
have put them into the .Xclients script
I also changed things around so that the window manager is spawned to
the background and it is the presence of mythfrontend process that
keeps the X session from dying. If the frontend exits, so does the X
My one line .Xclients file looks like this........
My .Xclients-ratpoison looks like this....
# To get an xterm with Ratpoison, "Control-c Control-t c"
# Load nVidia driver custom settings
#nvidia-settings --load-config-only &
# Stop the Nvidia blue line problem
xvattr -a XV_COLORKEY -v 66048
# Disable screensaver and blanking
/usr/X11R6/bin/xset s off
# Restore sound settings
/usr/bin/amixer set Master,0 80%,80% unmute
/usr/bin/amixer set PCM,0 80%,80% unmute
/usr/bin/amixer set Line,0 80%,80% mute captur
/usr/bin/amixer set Capture,0 80%,80% captur
/usr/bin/aplay /usr/share/system-config-soundcard/sound-sample.wav &
# Make sure the DVD is umounted
# Launch myth frontend
# We are here because mythfrontend crashed or was exited
# After we drop out of here, X will terminate
# We could stay in X and the window manager by changing "exit" to "wait"
More information about the mythtv-users