You are not logged in.

#1 2014-06-15 13:19:33

nashod
Member
Registered: 2012-03-23
Posts: 40

[solved]compiz standalone session not working

So I tried setting up a standalone compiz session with a few graphical apps auto starting but all i get is a black background and a mouse pointer that I can move.

I've tried consulting the wiki, read the .desktop file documentation available online and tried looking for related options in the lightdm config.

Example .desktop file:

[Desktop Entry]

Version=1.0
Name=Synapse
Exec=synapse
Type=Application


BTW: I'm typing from my cellphone so I dont know if the font is gigantic or if it's just my display, sorry if the font is huge

Last edited by nashod (2014-06-16 12:45:44)

Offline

#2 2014-06-15 13:41:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [solved]compiz standalone session not working

nashod wrote:

[...], sorry if the font is huge

LOL big_smile
From the wiki: /usr/share/xsessions/compiz.desktop

[Desktop Entry]
Version=1.0
Name=Compiz
Comment=Start a standalone Compiz session
Exec=compiz ccp
Type=Application

Jin, Jîyan, Azadî

Offline

#3 2014-06-15 13:54:59

nashod
Member
Registered: 2012-03-23
Posts: 40

Re: [solved]compiz standalone session not working

Head_on_a_Stick wrote:
nashod wrote:

[...], sorry if the font is huge

LOL big_smile
From the wiki: /usr/share/xsessions/compiz.desktop

[Desktop Entry]
Version=1.0
Name=Compiz
Comment=Start a standalone Compiz session
Exec=compiz ccp
Type=Application

Thanks for the help but I think I didn't explain myself very well, compiz starts, nothing else does, not guake (terminal) nor synpase or cairo dock, i've put the files in /etc/xdg/autostart but no success

Offline

#4 2014-06-15 14:07:36

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [solved]compiz standalone session not working

From the wiki

Autostarting programs when using a display manager

One way in which you could start programs with your Compiz session, when it is started from a display manager, is to use an xprofile file. The xprofile file is similar in syntax to xinitrc - it can contain commands for programs you wish to start with your session. Most display managers will parse commands from an xprofile file by default.

Alternatively, you could use Compiz's 'Session Management' plugin. This plugin will save running programs on exit and restore them when the session is next started. Simply enable the 'Session Management' plugin in CCSM}.


Jin, Jîyan, Azadî

Offline

#5 2014-06-15 14:32:05

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [solved]compiz standalone session not working

You might consider creating a small shellscript to start compiz and using an xdg autostart tool (there are some here in the note

 * compiz.desktop:
...
Exec=/usr/local/compizrun.sh
 * compizrun.sh:
#!/bin/sh
dapper -s -u -d Compiz &
exec compiz ccp

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#6 2014-06-16 12:45:15

nashod
Member
Registered: 2012-03-23
Posts: 40

Re: [solved]compiz standalone session not working

Head_on_a_Stick wrote:

From the wiki

Autostarting programs when using a display manager

One way in which you could start programs with your Compiz session, when it is started from a display manager, is to use an xprofile file. The xprofile file is similar in syntax to xinitrc - it can contain commands for programs you wish to start with your session. Most display managers will parse commands from an xprofile file by default.

Alternatively, you could use Compiz's 'Session Management' plugin. This plugin will save running programs on exit and restore them when the session is next started. Simply enable the 'Session Management' plugin in CCSM}.

Yeah, in the end I figured I should try it even though it was written in the xprofile article it cannot start gui programs and it worked, thanks for the help

and thanks progandy I"ll check it out as a way to start the gui in the future

Offline

Board footer

Powered by FluxBB