Quote:
|
Originally Posted by keatonvictor
Hey guys
I got it to work, but I have to manually start the thing everytime. How do I get it to automatically start as my defualt window manager.
help 
|
This is how I did the autostart and it works well for me. This was posted by user SebbeJohan in the Ubuntu Forums but it works perfectly with fedora and KDE
"To create the session shell script, open up your favourite text editor (eg gedit or kedit) as Root and create a new script named startberyl.sh:
Code:
gksudo gedit /usr/bin/startberyl.sh
For KDE, use kdesu instead of gksudo
#!/bin/sh
export KDEWM="/usr/bin/beryl-manager"
exec startkde
Now you need to make the script executable; this can be done in Nautilus or Konqueror (running as Root) by right-clicking the file and choosing Properties, or in the terminal:
Code:
sudo chmod a+x /usr/bin/startberyl.sh
To create the session, create the file /usr/share/xsessions/Beryl.desktop, and give it the following contents in a text editor (again, as root or using gksudo/kdesu):
Code:
gksudo gedit /usr/share/xsessions/Beryl.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Beryl
Exec=/usr/bin/startberyl.sh
Icon=
Type=Application
Now when GDM or KDM starts, you should have a session called Beryl available for selection; if you log into this session, Beryl will run (via the startberyl.sh script) and load GNOME or KDE for you. Logging into your normal session will give you a standard, un-accelerated desktop for troubleshooting or running programs which don't play nicely with AIGLX."