Cannot change number or workspaces under 11.10
An important function that I cannot get to work after upgrading from 11.04 to 11.10 is changing the number of work spaces. The commands given in the 'Ubuntu Desktop Guide' no longer function:
gconftool-2 --type=int --set /apps/compiz-
gconftool-2 --type=int --set /apps/compiz-
Also ctlr-alt-up and ctrl-alt-down no longer function. Only ctrl-alt-right and ctrl-alt-left are functional for the 4 default workspaces. When switching, the 4 workspaces appear as a single row rather than a square.
At logon, I see options for Ubuntu and Ubuntu 2D. I don't know if this is relevant, but changing choice doesn't have any visible effect.
I have been searching answers.
Any suggestions? Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu unity Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- marcobra (Marco Braida)
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Revision history for this message
|
#2 |
Thank you. I find that I cannot download this or any other packages. Since upgrading from 11.04 to 11.10, I believe the Ubuntu Software Center has not been functional. In the present instant, its response is
Failed to download repository information
Check your Internet connection.
W:Failed to fetch file:/var/
, W:Failed to fetch file:/var/
. . .
, W:Failed to fetch http://
, E:Some index files failed to download. They have been ignored, or old ones used instead.
I wonder if my upgrade was completely successful. I could not get the simple upgrade procedure to run and had to do an alternate upgrade (ubuntu-
su "superuser"
sudo mount -o loop ~/Downloads/
cd media/iso
sudo ./cdromupgrade
Do I need to start a new question for this problem?
Thanks.
Revision history for this message
|
#3 |
Please send here the result of this terminal command:
lsb_release -a; sudo apt-get update
Revision history for this message
|
#4 |
The response is:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
sudo apt-get update
Ign file: oneiric InRelease
Ign file: oneiric-updates InRelease
Ign file: oneiric Release.gpg
Ign file: oneiric-updates Release.gpg
Ign file: oneiric Release
Ign file: oneiric-updates Release
Ign file: oneiric/main TranslationIndex
Ign file: oneiric/multiverse TranslationIndex
Ign file: oneiric/restricted TranslationIndex
Ign file: oneiric/universe TranslationIndex
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Err file: oneiric/main Sources
File not found
Err file: oneiric/restricted Sources
File not found
Err file: oneiric/universe Sources
File not found
Err file: oneiric/multiverse Sources
File not found
Err file: oneiric/main amd64 Packages
File not found
Err file: oneiric/restricted amd64 Packages
File not found
Err file: oneiric/universe amd64 Packages
File not found
Err file: oneiric/multiverse amd64 Packages
File not found
Err file: oneiric/main i386 Packages
File not found
Err file: oneiric/restricted i386 Packages
File not found
Err file: oneiric/universe i386 Packages
File not found
Err file: oneiric/multiverse i386 Packages
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Err file: oneiric-
File not found
Ign file: oneiric/main Translation-en_US
Ign file: oneiric/main Translation-en
Ign file: oneiric/multiverse Translation-en_US
Ign file: oneiric/multiverse Translation-en
Ign file: oneiric/restricted Translation-en_US
Ign file: oneiric/restricted Translation-en
Ign file: oneiric/universe Translation-en_US
Ign file: oneiric/universe Translation-en
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign file: oneiric-
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Err http://
404 Not Found
Err http://
404 Not Found
Err http://
404 Not Found
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch file:/var/
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
Revision history for this message
|
#5 |
ok something wrong into your /etc/apt/
gedit /etc/apt/
copy and paste the content here...
Revision history for this message
|
#6 |
gedit /etc/apt/
[The last two items relate to my unsuccessful tries to install gfortran.]
Response:
# added by the release upgrader
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ oneiric main restricted
#
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110426)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release amd64 (20110426)]/ natty main restricted
# See http://
# newer versions of the distribution.
deb file:/var/
deb-src file:/var/
## Major bug fix updates produced after the final release of the
## distribution.
deb file:/var/
deb-src file:/var/
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb file:/var/
deb-src file:/var/
deb file:/var/
deb-src file:/var/
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb file:/var/
deb-src file:/var/
deb file:/var/
deb-src file:/var/
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
deb http://
deb-src http://
Revision history for this message
|
#7 |
Not so standard /etc/apt/
gksudo gedit /etc/apt/
# start copy from here.....
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
# deb-src http://
deb http://
deb http://
deb http://
# ...Stop copy here
Save and try to upgrade your system with this command:
sudo apt-get clean
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get dist-upgrade
Revision history for this message
|
#8 |
When I run gksudo, I get the following message:
gksudo gedit /etc/apt/
No protocol specified
(gksudo:4104): Gtk-WARNING **: cannot open display: :0.0
This is the sort of failure I was getting that prevented me from using alternate upgrade commands from the Ubuntu site.
Revision history for this message
|
#9 |
If I just run
sudo gedit /etc/apt/
gedit opens the sources.list file.
Should I do it that way. gksu and gksudo have never worked for me.
Revision history for this message
|
#10 |
ok try nano
sudo nano /etc/apt/
Revision history for this message
|
#11 |
The OS update appears to have run successfully to completion.
I installed compizconfig-
However, when I run compizconfig-
http://
the number of workspaces remains at 4 (1 row, 4 wide), or 2X2 on the screen after meta+s, regardless of changes any changes I make (I set it to 4-4-1). The compizconfig-
I also tried the terminal commands given in the Ubuntu Desktop Guide. That had no effect either.
So I think I still may be stuck at my original problem.
Revision history for this message
|
#12 |
After "sleeping on" my workspace problem, I am beginning to think that I just may not understand what the developers have created and intended with the 11.10 desktop. Let me doodle and study a while. If necessary, I'll post a new question. Thanks for all your help, marcobra. You did solve my most serious problem, which was that my sources.list was not properly set up. I now have my beloved gfortran running under 11.10.
Revision history for this message
|
#13 |
Thanks marcobra (Marco Braida), that solved my question.
Revision history for this message
|
#14 |
well.... Now I am having the same issue: the changes I make in compiz have no effect.
And what is the number of desktops? And what is a virtual size?
Because as I understand Ndesktops == VVsize * VHsize, and then why they are specified separately?
Revision history for this message
|
#15 |
Just FYI: I reposted this question as:
"Can't change number of workspaces in 11.10"
Ubuntu » “unity” package » Questions » Question #176356
since I couldn't figure out anything on my own.
I've wondered, too, about the number of desktops in ccsm/General Options/Desktop Size. Marco Braida's link above says not to change it. I suspect it has to do with the 3D alternative, i.e., a cube rather than a 2D rectangle of workspaces. After reading too many horror stories arising from ccsm, I was too scared to doodle with it.
Revision history for this message
|
#16 |
My problem with not being able to change the number of workspaces under 11.10 has been solved. I discovered that the machine apparently was shipped to me with a proprietary Nvidia display driver installed along with 11.04. Apparently, the 11.10 upgrade disabled the proprietary driver in favor of another one, and this apparently disable Unity. I located the dirver under System Settings/
Revision history for this message
|
#17 |
For 11.10 "oneiric" I used the method from:
http://
Briefly, it was:
gconftool-2 --type=int --set /apps/metacity/
and the change is not immediate, you have to re-login
Revision history for this message
|
#18 |
Re: "gconftool-2 --type=int --set /apps/metacity/
That worked for me, too, although mine took effect immediately without logging off and on. Thank you for the post., mlg7.