LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2011, 02:42 AM   #1
Chili.Willy
LQ Newbie
 
Registered: Jul 2007
Location: Stevens Point, Wisconsin, USA
Distribution: Debian Bookworm, Raspbian. Also Mint, SliTaz, Sparky, Xubuntu.
Posts: 28

Rep: Reputation: 1
Compiz-config and workspaces problem, maybe from nVidia driver


A couple of issues with compiz. I'm setting up Debian Squeeze on a new-to-me laptop. Video card is nVidia Quadro FX 570M.

I installed the nVidia non-free driver, and that's working fine. Compiz starts up ok (I say "compiz --replace"). At least some of the effects are working, and the windows look normal.

First issue: as soon as I start Compiz, the number of workspaces goes from 4 to 2. And Workspace Switcher Preferences (the thing that pops up when you right-click the workspace switcher in the Gnome Panel) no longer shows the controls for changing the number of workspaces.

Is there is a way to change the no. of workspaces using gnome configuration editor? That might be a good workaround.

The second issue is, compizconfig-settings-manager will not run, whether Compiz is running or not. I don’t know if it would run before I installed the nVidia driver (Compiz wouldn't run so there was no reason to try CCSM). When I try to start it from the menu, I get the spinning cursor for several seconds, and that's all. When I say "ccsm" in a console...
Code:
>ccsm

(process:4345): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 100, in <module>
    import ccm
  File "/usr/lib/pymodules/python2.6/ccm/__init__.py", line 1, in <module>
    from ccm.Conflicts import *
  File "/usr/lib/pymodules/python2.6/ccm/Conflicts.py", line 26, in <module>
    from ccm.Constants import *
  File "/usr/lib/pymodules/python2.6/ccm/Constants.py", line 87, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
I don’t think the locale error is the problem. I get locale warnings all the time, like when I use apt-get, but it doesn’t stop the program from running. But I could be wrong about that.

Thanks in advance for any ideas.
 
Old 02-13-2011, 05:46 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
You need to set the number of workspaces within compiz to enable the cube or increase the number of virtual desktops.
See here.

This will be difficult without ccsm running but it is possible (apparently) using gconf-editor.
 
1 members found this post helpful.
Old 02-13-2011, 09:22 AM   #3
Chili.Willy
LQ Newbie
 
Registered: Jul 2007
Location: Stevens Point, Wisconsin, USA
Distribution: Debian Bookworm, Raspbian. Also Mint, SliTaz, Sparky, Xubuntu.
Posts: 28

Original Poster
Rep: Reputation: 1
Thanks, Smoker. I think I already did what you suggest, but I'm still at 2 workspaces. Workspace Switcher Preferences shows 4 workspaces in 1 row.

In Gnome config editor, I took the path apps > compiz > general > screen0 > options. hsize is 4, number_of_desktops is 1, and vsize is 1.

For completeness, here are the other settings: default_icon = icon, detect_outputs = yes, detect_refresh_rate = yes, focus_prevention_level = 1,
focus_prevention_match = !(class=Polkit-gnome-authentication-agent-1)
force_independent_output_painting = no, lighting = yes, outputs = [640x480+0+0], overlapping_outputs = 0, refresh_rate = 50, sync_to_vblank = no, texture_compression = no, unredirect_fullscreen_windows = no

I messed around in /usr/bin/ccsm (it's a python script). I added some diagnostic lines and found that the program gets thru the step
Code:
import compizconfig
without sending any error messages, but it doesn't get thru the step after that,
Code:
import ccm
All the errors and messages in my original post must have been generated during the attempt to execute "import ccm". (I have very little idea what this tells us.)
 
Old 02-18-2011, 09:35 PM   #4
Chili.Willy
LQ Newbie
 
Registered: Jul 2007
Location: Stevens Point, Wisconsin, USA
Distribution: Debian Bookworm, Raspbian. Also Mint, SliTaz, Sparky, Xubuntu.
Posts: 28

Original Poster
Rep: Reputation: 1
Solved.

It was the locale settings after all. I followed the directions at http://wiki.debian.org/Locale and now ccsm runs just fine and I can set the number of workspaces.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Add / Delete Workspaces In Compiz Using Keyboard Shortcuts LXer Syndicated Linux News 0 08-19-2010 04:30 PM
[SOLVED] Compiz/Gnome Workspaces not scrolling TheStarLion Linux - Desktop 2 12-17-2009 08:01 AM
Compiz do not auto-start after Nvidia new driver upgrade maiden2 Ubuntu 1 12-01-2009 12:21 PM
NVIDIA Video Card Lacks Driver? Compiz Not Going. Novatian Linux - Hardware 1 10-08-2009 11:26 AM
Fedora 8: Compiz not starting with nvidia driver Speed_Demon_X Linux - Desktop 7 06-11-2008 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration