LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-18-2014, 04:37 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
xubuntu - empty desktop


My Xubuntu desktop is completly empty - no icons and menu bar. Nothing.
It looks like following taken screenshot:

https://www.dropbox.com/s/da5cbwaga7...pture.PNG?dl=0

All of that happanad when I removed:
- Games
- Pidgin
- xChat/IRC client
- mail client
- Thunderbird
- Spreadsheet
- Transmission (torrent client)

All that by using: All Apps > Accessories > Ubuntu Software Center
Next I noticed I am missing Terminal so I added with this same: Ubuntu Software Center but could not see that in any menu.

After reboot my desktop is like you see... empty.
What can I do to fix it ?

Last edited by czezz; 12-18-2014 at 04:41 AM.
 
Old 12-18-2014, 05:03 AM   #2
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
I have logged in to command line and I looked in /var/log/apt/history.log for today's removed packages... and I couldnt have believe!
Following packages have been wiped out!
I only guess that somehow all of them are related to applications that I removed (list in my 1st post).
I installed them back again and it works... though I have back again mail client, torrent client, IRC and all other stuff that I dont use at all...

Code:
Start-Date: 2014-12-18  10:32:21
Commandline: aptdaemon role='role-remove-packages' sender=':1.106'
Remove: xfce4-verve-plugin:amd64 (1.0.0-2ubuntu1), xubuntu-desktop:amd64 (2.180), orage:amd64 (4.10.0-1), xfce4-netload-plugin:amd64 (1.2.0-1), xfce4-whiskermenu-plugin:amd64 (1.3.2-1), xfce4-systemload-plugin:amd64 (1.1.1-1ubuntu2), xfce4-mailwatch-plugin:amd64 (1.2.0-1), thunar-archive-plugin:amd64 (0.3.1-2), xfce4-places-plugin:amd64 (1.6.0-1ubuntu1), thunar-media-tags-plugin:amd64 (0.2.1-1), xfce4-xkb-plugin:amd64 (0.7.0-0ubuntu2), xfce4-quicklauncher-plugin:amd64 (1.9.4-10ubuntu1), xfce4-indicator-plugin:amd64 (2.3.2-0ubuntu2), xfce4-cpugraph-plugin:amd64 (1.0.5-1), thunar-volman:amd64 (0.8.0-4ubuntu1), exo-utils:amd64 (0.10.2-3ubuntu1.14.04.1), xfce4-notes-plugin:amd64 (1.7.7-3ubuntu2), xfce4-weather-plugin:amd64 (0.8.3-1ubuntu0.1), xfce4-dict:amd64 (0.7.0-1), xfdesktop4:amd64 (4.11.6-1ubuntu1), xfce4-panel:amd64 (4.11.0-0ubuntu1), xfce4-terminal:amd64 (0.6.3-1ubuntu1), thunar:amd64 (1.6.3-1ubuntu5)
End-Date: 2014-12-18  10:32:33
UPDATE:
deeper look in to this issue shows that the problem was removing Mail Reader (its exo-utils package in case some wondering).
Now, it seems to be ridicules that the whole desktop environment is dependent form one mail client...

Last edited by czezz; 12-18-2014 at 07:05 AM.
 
Old 12-19-2014, 06:03 AM   #3
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Welll I would say that the only reason that you have as much desktop as you do is because nautilus is running your desktop under Xubuntu.

It is an interesting setup.

When removing packages is a good idea to check what package they actualy are. Most of the packages removed are part of meta packages. Remove one and remove the rest.

There is a way to circumvent this problem. It should not be used lightly as it changes the state of all your packages to "manual". All related installed as depends, like all package installed with a meta package have a state of "auto". So to dpkg this is a big change.

Would probably be best if all your package management chores were done with aptitude also as it is an aptitude tool that does the job, I think, the best.

One reason is that aptitude has two great query commands; why and why-not

Why is used to find out why a package is installed or if it can be installed. Why-not is handy when you are told a package can't be installed or, better, can be installed but you entire desktop will be removed.

That last is usually a conflict with some package installed by the desktop meta package and that package will be removed if you install the package you want. If the conflict is with just one package then the obvious thing to do is remove just that package.

To do that you need to basically dismantal the meta package. This is done with the command;
Code:
aptitude keep-all
This doesn't remove the meta package. It doesn't remove anything. It changes the state of the packages to manual. You cam remove any of those packages then.

As the install script of a .deb is consulted in removing as well as installing actual real depends will still remove the real package that depends on them. Meta packages have no content and thus no real depends. Their depends are just writen on the install script as packages to be installed so the meta package will "work". There is not mention of the meta package in those packages such as in the reverse depends list.

Therefore that command is just used to break meta packages.

If you get carried away from the joy of discovering this gem things can get sticky. Installing another meta package and then breaking it and removing something, rince and repeat, a few times and you may get, if you use aptitude and apt-get together (which really can be done safely since Wheezy was released by Debian although there is still "friction" if you get silly - beleive me I know), a quaint messege from apt-get "you have been fooling with package states haven't you?" No kidding. I got a good chuckle out of that one.

But, back to the point. Meta packages are a convenience. They save a lot of typing and thus reduce the chance of typos. They install common groups of packages with one command.

Take yourself back in time when aptitude was developed. Much simpler system. Much smaller system. Hardware with much less power than the average flip phone. All system management done in the cli. Install a desktop. Use the new fangled meta packages

Don't like all those packages and want to remove one or two? Fine if nothing else depends on them and easy to do if you installed each package by itself manually. Not if installed automatically. Ok, change the state to manual. Remove the packages.

Now we use a lot more meta packages and need to be a bit careful. However, it works great. Just don't get silly with it.

Well, not on a production OS. Do another "play" install and be silly. It is really a lot of fun. You could remove nautilus and install xfwm and then your Xfce Settings Manager will work better.

That last is one minor reason for my now using Debian (Xfce) instead of a Ubuntu family member.
 
1 members found this post helpful.
Old 12-21-2014, 02:01 PM   #4
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34
Not sure if it works anymore but "xubuntu-desktop" may pull if what you need especially if you get rid of (after backing them up) related ~/. files.
 
Old 12-21-2014, 08:13 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by orasis View Post
Not sure if it works anymore but "xubuntu-desktop" may pull if what you need especially if you get rid of (after backing them up) related ~/. files.
The ~/.foo files are regenerated to the default settings when you reboot if you remove them. Backing them up is not a good idea. It is a GREAT idea.

If I do that I simply make a /home/<user name>/HIDDEN directory to put them all in. Then you can replace them a bit at a time if this has been the problem or just use them to edit the new ~/.foo files to recover your settings.

If they still have the xfce-desktop package you could simply remove the xubuntu-desktop package and all its depends and install xfce-desktop and probably get a "real" Xfce4 install. This would not install Nautilus to run your desktop but use xfwm so your settings manager would work a lot better. Then you wouldn't need all the other Gnome tools install in Xubuntu to make up for settings manager not being able to really deal with the desktop.

Xubuntu is a pretty good distro, was the last Canonical product that I ran the testing version of (12.04-testing). I just think Xfce straight up is alot better.
 
  


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
my xubuntu 14.10 desktop brashley46 Linux - Member Desktop Screenshots 0 12-03-2014 03:45 AM
LXDE empty desktop arijspieter Linux - Newbie 3 11-11-2012 12:16 PM
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 09:20 AM
empty desktop after a crash viktoranagy Fedora 1 10-02-2005 11:39 AM
empty desktop trash from console rastavideo Linux - Newbie 3 08-20-2003 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:18 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