Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th June 2010, 02:35
Bailx Bailx is offline
Junior Member
 
Join Date: Dec 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Compiz startup on user login (CentOS) question...

I was using the Beryl HOWTO as a guide for starting Compiz on CentOS 5.5 and just had a few questions...

First of all I installed Compiz from this page and everything works fine, I can run it fine from the start menu shortcut or by typing fusion-icon. For whatever reason compiz --replace does not work for me, but you don't get the icon that method anyways...

So I was using the Beryl scripts as a template, and used the following code:

/usr/bin/startcompiz.sh
Code:
#!/bin/sh
fusion-icon
sleep 4
exec gnome-session
/usr/share/xsessions/Compiz.desktop
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Compiz
Exec=/usr/bin/startcompiz.sh
Icon=
Type=Application
All I get is a black screen and all I can do is ctrl+alt F5 and get back to a terminal...where I usually just reboot to get a fresh start....

I tried putting the fusion-icon line at the bottom with a 10 second sleep time above it, but it does nothing that way (just normal desktop)....

like this: (not sure why this couldn't work)

Code:
#!/bin/sh
exec gnome-session
sleep 10
fusion-icon
So, I was just wondering if anyone had any different things I could try as I'm kind of lost as what to do next.... I've tried rc.local and even made rc.d scripts to no avail (runlevel 5).... although I can see why those methods would not work.... i still wanted to try it....

Thanks for any help....

(PS- I did install Beryl successfully yesterday and it started automatically with those scipts, but I'd rather use Compiz-Fusion as it's much more stable, as it should be I suppose)....this testing was done on a clean install with no remnants of Beryl..... (32-bit)

Last edited by Bailx; 24th June 2010 at 07:03.
Reply With Quote
Sponsored Links
  #2  
Old 30th June 2010, 19:14
Bailx Bailx is offline
Junior Member
 
Join Date: Dec 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Seems like there is no real fix for this, you just have to set it on a per-user basis in the sessions menu (startup apps)...

Not the most elegant solution, but whatever... it works

/TOPIC

Last edited by Bailx; 1st July 2010 at 11:17.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
web1 user cant login to desktop anymore gamma1it Installation/Configuration 1 4th December 2008 10:13
dovecot problem sojic Server Operation 21 23rd March 2008 18:22
Unable to authenticate to SMTP server ashkev Installation/Configuration 15 6th February 2007 17:46


All times are GMT +2. The time now is 06:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.