LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08:14 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262
Blog Entries: 2

Rep: Reputation: 49
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.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-21-2011, 08:25 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

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

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

Thor
 
Old 07-21-2011, 08:30 AM   #3
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
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, 08:32 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

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

Original Poster
Blog Entries: 2

Rep: Reputation: 49
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 09:04 AM.
 
Old 07-21-2011, 09:26 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 11:51 AM   #7
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
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 12:36 PM.
 
Old 07-21-2011, 11:56 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 12:41 PM   #9
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
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, 07: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.
 
1 members found this post helpful.
Old 10-23-2012, 05: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.)
 
Old 07-30-2018, 11:21 PM   #12
billpry
LQ Newbie
 
Registered: Jul 2018
Location: Dallas
Distribution: Linux Mint Rebecca 17.1
Posts: 3

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by htp View Post
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.
Years later...the information is still valid and MUCH appreciated.

Bill

Last edited by billpry; 07-30-2018 at 11:22 PM.
 
Old 08-30-2018, 02:12 PM   #13
yannusone
LQ Newbie
 
Registered: Aug 2018
Distribution: MX linux 17
Posts: 1

Rep: Reputation: Disabled
indeed it works

so to restore your desktop when icons and background disappeared, just open the terminal as root user and enter xfdesktop -R
 
Old 12-08-2020, 10:28 PM   #14
eohrnberger
LQ Newbie
 
Registered: Oct 2002
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by yannusone View Post
so to restore your desktop when icons and background disappeared, just open the terminal as root user and enter xfdesktop -R
Bingo! This did it! Thanks!
 
Old 06-13-2022, 01:25 PM   #15
bonelifer
LQ Newbie
 
Registered: Jun 2022
Posts: 1

Rep: Reputation: 0
Another 1 or 2 years and this topic saved my bacon.
 
  


Reply

Tags
debian, xfce



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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