LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
 
Search this Thread
Old 12-03-2008, 07:50 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
OnlyShowIn and NotShowIn Directives Do Not Work in XFCE


Long ago in a galaxy far away I noticed that the OnlyShowIn and NotShowIn desktop file directives did not work in Xfce. Specifically, the ~/Desktop/Home.desktop and ~/Desktop/trash.desktop icons display on the Xfce desktop. With the OnlyShowIn directive set to KDE or the NotShowIn set to XFCE, these icons should not display. They do.

My solution long ago was simply to disable desktop icons in Xfce. Recently I decided to enable the desktop icons. Same problem.

I tested this in Xfce 4.4.3 in Current. I tested in Zenwalk 5.2 in a virtual machine. Same results with both desktops.

The OnlyShowIn and NotShowIn desktop directives function correctly in KDE.

Any ideas how to fix this other than some kind of shell script hack? Why don't these directives work correctly in Xfce? Have they ever worked correctly?

Thanks again.
 
Old 12-05-2008, 05:55 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,535

Rep: Reputation: 101Reputation: 101
I too stumbled upon this misbehaviour lately and found no way to change it. I hope for xfce 4.6 though which is announced for late december - in the changelog it reads like the bug is known and solved. Can't test it though, didn't manage to compile it by myself.

http://www.xfce.org/documentation/changelogs/4.5.91

AFAIR Robby Workman wrote that he followed current xfce development and build it, so he is probably the one to ask if it works with the xfce development snapshots.
 
Old 12-05-2008, 07:38 AM   #3
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
Do you add a ";" at the end of the config line ?, like
~/Desktop/Home.desktop
Code:
[Desktop Entry]
...
NotShowIn=XFCE;
...
[edit]
Ok forget it, looks like a bug indeed
http://bugzilla.xfce.org/show_bug.cgi?id=4022

Last edited by keefaz; 12-05-2008 at 07:41 AM.
 
Old 12-05-2008, 08:36 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,535

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by keefaz View Post
Do you add a ";" at the end of the config line ?,
Yep, didn't change anything. Like you wrote, looks like a real bug. The changes won't get backported to xfce 4.4.x, so updating to the new 4.6 branch once it is stable should be THE remedy.
 
Old 12-05-2008, 11:50 AM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,015

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
If you want to confirm that it's fixed, http://xfce46.rlworkman.net/ for -current :-)
If you want to go back to 4.4.x after testing, be sure to back up your $HOME/.config and $HOME/.local directories so that you can restore them afterward.
 
Old 12-05-2008, 01:47 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Thanks all for the replies. I too tried with and without the semicolon to no avail. Nice to hear at least that the problem is officially listed as a bug.

Robby, I have two Current environments, one physical and one virtual. I can test your 4.6 package, hopefully soon --- I'm still attending my punch list for various issues in Current. I will at least confirm whether this particular bug is resolved.
 
Old 12-05-2008, 06:35 PM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,535

Rep: Reputation: 101Reputation: 101
Many thanks Robby for your build scripts and packages. I just build the xfce release candidate on Slackware 12.1 (with VirtualBox) and indeed the bug is solved.

One caveat: "OnlyShowIn" seems to work even if the trailing ";" is missing. "NotShowIn" on the other hand seems to require the ";" as it is specified in the freedesktop.org standards. That's a little bit confusing, even Xfce4 itself creates "malformed" desktop files without the semicolons.
 
Old 12-06-2008, 12:54 AM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Confirmed: the bug is fixed in this release.

Seems there are incompatibilities, however, with the configuration files. I uninstalled 4.4.3 and then installed 4.6 in my testing partitions. When I started the desktop in 4.6 there was no conky and the theme icons were hosed. Then again, I did not browse any README files for updating notes. I only wanted to see whether the bug was fixed. I restored my config files from backups.
 
  


Reply


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
Alt-Tab does not work under Xfce or Gnome kosmik Linux - Desktop 1 09-02-2009 11:09 AM
how can i get pulse audio to work i xfce deathalele Linux - Software 0 08-30-2008 07:02 PM
Multimedia keys don't work in XFCE kornerr Ubuntu 1 09-08-2007 10:50 PM
Xfce won't work; XFWM doesn't load Jorophose Linux - Software 1 05-09-2007 10:44 PM
xfce latest versione don't work... silvio2003 Slackware 2 03-15-2004 07:21 PM


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