Little problem with new Workspace Switcher

Support for post-installation problems

Little problem with new Workspace Switcher

Postby delphinen » Wed Dec 20, 2006 12:10 am

Everytime I load Gnome I have to manually set 1 as number of workspaces because the new Compiz supports multi desktops; I dont want multi desktops, I want the good old cube. I searched all .gconf configuration and there's no option to set Workspace Switcher as 1 workspace by default, so, how could I do this?

Thanks in advance
delphinen
Member
 
Posts: 75
Joined: Sun Nov 12, 2006 10:45 pm

Postby amgeex » Wed Dec 20, 2006 6:24 am

You are talking about the number_of_desktops key, right? So that clicking on each of the workspace switcher's "boxes" rotate the cube automatically, right?

Right, so no one has fixed this, but I found a way around. I created this little script:

Code: Select all
#!/bin/sh

# Compiz workspace switcher fix

gconftool-2 -s /apps/compiz/general/screen0/options/number_of_desktops "2" --type=int &&
sleep 1 &&
gconftool-2 -s /apps/compiz/general/screen0/options/number_of_desktops "1" --type=int

This will set the number_of_desktops to 2, then set it back to one, like you do it manually. This makes the workspace switcher work. I call this from my compiz startup script, like this:

Code: Select all
#!/bin/sh

# Compiz startup script

compiz --replace --use-cow gconf &
gtk-window-decorator --replace &
fixws

Good luck!
AMGeeX
amgeex
Member
 
Posts: 302
Joined: Sat Nov 18, 2006 2:58 am
Location: Guatemala

Postby delphinen » Wed Dec 20, 2006 1:52 pm

thanks amgeex, I will try to apply your solution when I get home. I think we should send this bug to the mailing list.

a little question: why not set number_of_desktops to 1 at first?
delphinen
Member
 
Posts: 75
Joined: Sun Nov 12, 2006 10:45 pm

Postby amgeex » Wed Dec 20, 2006 5:05 pm

a little question: why not set number_of_desktops to 1 at first?

Because it won't work, we must set it to something else than "1", then set it back to "1" so gconf "notices" the change. Something like that.
amgeex
Member
 
Posts: 302
Joined: Sat Nov 18, 2006 2:58 am
Location: Guatemala

Postby delphinen » Thu Dec 21, 2006 1:21 am

well, that didnt work for me, but setting /apps/metacity/general/num_workspaces to 1 worked flawlessly.
delphinen
Member
 
Posts: 75
Joined: Sun Nov 12, 2006 10:45 pm

Postby amgeex » Fri Dec 22, 2006 7:46 pm

Gonna try that delphinen! :wink:
amgeex
Member
 
Posts: 302
Joined: Sat Nov 18, 2006 2:58 am
Location: Guatemala

Postby amgeex » Sat Jan 06, 2007 11:47 pm

Apparently this has not been fixed in the 0.3.6 release. :?
amgeex
Member
 
Posts: 302
Joined: Sat Nov 18, 2006 2:58 am
Location: Guatemala

Postby fatsheldon » Sat Jan 27, 2007 1:45 am

using 0.3.6 i have this issue as well. for whatever reason setting the setting /apps/metacity/general/num_workspaces to 1 worked for me as well.
fatsheldon
Junior Member
 
Posts: 7
Joined: Sat Jan 06, 2007 7:09 pm

Postby amgeex » Sat Jan 27, 2007 2:40 am

My script keeps working for me. :D
amgeex
Member
 
Posts: 302
Joined: Sat Nov 18, 2006 2:58 am
Location: Guatemala


Return to General Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron