At Tue, 10 Aug 2010 00:05:18 +0100, Simon Royal wrote:
Date: Mon, 9 Aug 2010 10:41:11 +0100 From: richardlewis@fastmail.co.uk To: main@lists.alug.org.uk Subject: Re: [ALUG] xcompmgr help
At Mon, 9 Aug 2010 02:08:12 +0100, Simon Royal wrote:
So, firstly how do I run it without having terminal open all the time and how do I automatically run it - I read something about autostart.sh.
Keep reading and you'll eventually find that you can create a file under:
~/.config/openbox/
called autostart.sh
which openbox will execute when you log in. Put your call to xcompmgr in this file and append an '&' to it, e.g.:
xcompmgr -c &
This ensures that it gets sent to the background after starting.
It's probably necessary that autostart.sh is executable.
$ ls -lh ~/.config/openbox/autostart.sh
will tell you whether it is or not.
$ chmod +x ~/.config/openbox/autostart.sh
will make it executable.
You may also consider using ~/.xsession rather than ~/.config/openbox/autostart.sh.
Richard
Thanks for the help, but unless I did something wrong that didnt work.
I enabled hidden files/folders, found the .config/openbox folder, which is theĀ /home/simon/.config/openbox folder. I then used LeafPad, which I assume is a basic text editor to create the autostart.sh file. Then followed your instructions on setting it as executable.
Paste the exact contents of autostart.sh here:
What happens if you run autostart.sh?
$ ~/.config/openbox/autostart.sh
Rebooted and the problem still exists. It doesn't seem to run the xcompmgr.
$ ps aux|grep xcompmgr
will tell you whether it's running or not. You should see something similar to:
username 4394 0.0 0.0 3304 768 pts/0 S+ 16:23 0:00 grep xcompmgr
and at least one other line of output if it's running.
I didn't do the last bit as I couldn't find the xsession folder.
~/.xsession is (or will be) a file, not a directory.
What next?
Ask someone who knows about xcompmgr! ;-)