LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 07-21-2011, 09:14 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Rep: Reputation: 12
Xfce desktop disappeared


Debian Squeeze. XFCE 4.6.2. (Clean install with xfce as desktop.) Noob. Using Dutch version (beware mistranslations.)

In the desktop settings only "none" and "minimalized program icons" were available. When I clicked the second option, all of my desktop options disappeared. After that I couldn't get any icons back, and also the default right-click menu stopped working. I can still get the "programs menu" on right-click, if I set the option. I've tried dpkg-reconfigure *insert a lot of xfce packages*. And a lot of xfdesktop --reload's...

I had moved some folders about, and that's the only cause I can think of. (I've moved them back, but it isn't fixed. I can't remember if I actually deleted some folders and than recreated them. The folders I'm talking about are the default 'document folders' f.i. "Downloads". I've seen configuration files reference them, but not yet the Dutch equivalents, which were apparently configured.) I'm trying to find every configuration file used by xfdesktop. A little help here, please.
 
Old 07-21-2011, 09:25 AM   #2
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,228
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
Tried an uninstall and re-install?

Make backups first, but, you know this...

Thor
 
Old 07-21-2011, 09:30 AM   #3
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
I thought reconfigure was basically the same thing as reinstalling. It seems to have affected my ability to switch to a virtual terminal, so there is definitely something messed up badly. (X server goes black after switching...)
 
Old 07-21-2011, 09:32 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097
Before reinstalling, logout, move the folder ~/.config/xfce4 to another place and login again. See what happens.
 
1 members found this post helpful.
Old 07-21-2011, 09:59 AM   #5
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
That worked

Well, all of my wonderful customizations are gone. But at least the desktop is back again. That's a big relief. Thanks.
How can I use diff to pin-point the defect?
I want to find the culprit > Delete his ass! ) I've already tried to manually change those files, but not in drastic ways.

Also, I could switch between virtual terminals, but the default of a fresh xfce install is apparently to use the eighth thingy instead of the seventh. (So ctrl+alt+F8, instead of ctrl+alt+F7.)
I've found the file to edit to change the directories: ~/.config/user-dirs.dirs

:") OMG that's an easy to reproduce failure! (It happened again!) I can't imagine this is a known bug. (Nobody would leave something that big in!) There must be something else wrong... If there is something wrong in the config, I have at least a minimal difference set to compare to now.

Last edited by Weapon S; 07-21-2011 at 10:04 AM.
 
Old 07-21-2011, 10:26 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097
After login in again and seeing that there are no configuration files XFCE created a set of new files. If you now move a single file at a time from your old configuration folder to the new one you will found out which file contains the cause for your issues. If you then compare it to the standard file you should find the culprit. If not you can post the file here so that we can have a look at it.
 
Old 07-21-2011, 12:51 PM   #7
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
First I replaced the good files with the bad files, to verify there wasn't another problem instantiated the moment I entered the config dialog. Then I ran diff -N -a -r ./xfce_clean ./xfce_minimal_error > diff_clean_error.txt, on two copies of the config folders I had made. (Speaks for itself.) The -N was necessary because it was a file that was not in the 'clean version', and -r is necessary to recurse into subdirectories. The first number in the "difference code" is the line number.
The file in question was ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml.
In particular, the part that says:
Code:
  <property name="desktop-icons" type="empty">
    <property name="style" type="int" value="x"/>
x is 0 for no icons, 1 for show-minimalized-programs-as-icons, and 2 for show-normal-desktop-icons-and-menu

So the problem is, the GUI-dialog doesn't have an option for 2. Once you select something different, you can't set it back.

Last edited by Weapon S; 07-21-2011 at 01:36 PM.
 
Old 07-21-2011, 12:56 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097
Does it work when you manually set it to 2?

By the way, you should check your font and color settings, your post is difficult to read.
 
Old 07-21-2011, 01:41 PM   #9
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian
Posts: 149
Blog Entries: 1

Original Poster
Rep: Reputation: 12
Yes it works ...not very cleanly. I'd love to see whether this is a known bug (that perhaps has been fixed in the new version), but I can't really search the forum-like bug-tracker efficiently. So this will do for now... I hope.
It could be just by a missing translation. But the translation file is .po gettext, so no manual editing...
 
Old 03-23-2012, 08:42 AM   #10
htp
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Not sure if this helps - but I also had the problem that my desktop icons vanished.

I didn't want to lose all my settings (by deleting/moving ~/.config/xfce4).

The solution was really simple - just restarting xfdesktop at the command line, logging out and logging back in.

I guess xfdesktop must have crashed in a previous session and then didn't start up in subsequent sessions.
 
Old 10-23-2012, 06:58 PM   #11
rowol
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
I had the identical problem with XUbuntu 12.04/XFCE4

HTP's solution is spot on - THANKS!
(I didn't even have to log out/in, as soon as I restarted xfdesktop, the desktop came right back.)
 
  


Reply

Tags
debian, xfce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 desktop disappeared ! elgerd Linux - Newbie 1 11-28-2010 09:37 AM
Links disappeared from Desktop zuao76 Linux - Newbie 1 01-05-2009 10:33 PM
XFce and Compiz : xfce doesn't manage the desktop naaman Linux - Desktop 0 07-16-2008 02:39 AM
Everything on my Desktop was disappeared iandroul Linux - Software 2 12-17-2007 12:41 PM
XFCE taskbar menu disappeared Bazbo Linux - General 2 07-23-2006 02:20 PM


All times are GMT -5. The time now is 01:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration