Posts: 13
feelin_froggy8877
Joined: 21 Jun 2009
#1
I have created a custom xsession in Ubuntu w/ no problems.
sudo nano /usr/share/xsessions/fusion.desktop
Enter the following in to fusion.desktop...

[Desktop Entry]
Encoding=UTF-8
Name=Fusion
Comment=Compiz Fusion Standalone
Exec=/usr/local/bin/start-fusion.sh
Type=Application

create the start-fusion.sh:

sudo nano /usr/local/bin/start-fusion.sh
Enter this in to the start-fusion.sh and edit it to include whatever you would normally include in your autostart.sh...

#!/bin/bash
compiz ccp &
fusion-icon &
lxpanel

save and make the file executable:

sudo chmod +x /usr/local/bin/start-fusion.sh

I am trying to do this in AntiX but it does not seem to be working for me.
Any suggestions would be appreciated.
Thanks Edit/Delete Message
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#2
AntiX uses .xinitrc to start a session not xsessions. You can change this but you need to edit slim.conf and I still don't think you will get the results you want.
Posts: 13
feelin_froggy8877
Joined: 21 Jun 2009
#3
Thanx for the input. Was unaware of that. Very new to AntiX.
Posts: 13
feelin_froggy8877
Joined: 21 Jun 2009
#4
Where would I add compiz to autostart with lxde? If I can do that and remove some unwanted apps/services from a lxde login, I would be pretty close to what I was wanting to do.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#5
lxde has an autostart option but does things differently. you basically copy your .desktop files to your autostart file. see this thread:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.lxde.org/viewtopic.php?t=111&f=8#p270"
linktext was:"http://forum.lxde.org/viewtopic.php?t=111&f=8#p270"
====================================
" onclick="window.open(this.href);return false

john
Posts: 13
feelin_froggy8877
Joined: 21 Jun 2009
#6
O.k, Well AntiX sure does handle sessions a bit differently than I'm used to. I'll get the hang of it. And I'm sure the .desktop file I created for fusion-icon would work I didn't have to run it as root.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#7
I just installed compiz from sid, it's a little buggy but it works. At least under XFCE.
Posts: 13
feelin_froggy8877
Joined: 21 Jun 2009
#8
Well I had no problem installing and running compiz under XFCE or LXDE, I was tring to use it as a stand alone DM, under AntiX. Crunchbang and Ubuntu I had no problem doing this. But I guess Mepis handles sessions a bit different.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#9
Both Crunchbang and Ubuntu use gdm and not slim and .xinitrc. Maybe this is the root of the problem?