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 12-17-2008, 10:58 AM   #1
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Rep: Reputation: 27
How to create desktop items in XFCE without using the desktop?


I know this sounds stupid but there is no way I can get to the desktop of the server.
However, now I want to create a link to another folder on that server desktop.
I assume that this info is burried somewhere in a config file of xfce? Does anybody know about this?

thanks.
 
Old 12-18-2008, 09:34 AM   #2
IsharaComix
Member
 
Registered: Sep 2008
Location: Raleigh
Distribution: Ubuntu 8.10
Posts: 88
Blog Entries: 1

Rep: Reputation: 15
Do you have a Desktop or .desktop folder in your home directory? I don't use XFCE anymore, so I don't remember, but maybe there's a folder like that somewhere.
 
Old 12-18-2008, 09:51 AM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by lievendp View Post
I know this sounds stupid but there is no way I can get to the desktop of the server.
However, now I want to create a link to another folder on that server desktop.
I assume that this info is burried somewhere in a config file of xfce? Does anybody know about this?

thanks.
I was just wondering exactly the same thing earlier today!

I've managed to create an icon on my XFCE desktop to launch a thunar window of a directory with the following file:
Code:
prompt$ cat ~/Desktop/name_of_icon.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Link
Name=name_of_icon
Comment=
Icon=network_fs
URL=/media/some_dir
This places an icon on the XFCE desktop called name_of_icon with the icon for a network filesystem (since that's what mine was; you can select whatever you see fit).

If anyone is looking for how to do this from within XFCE (the GUI-way!), simply right-click an existing icon on the desktop, then go to Desktop > Create URL Link, then specify the URL as the directory you want your default file browser to open. Choose a custom icon if you want at this point, as I don't think you can do so graphically once the icon's made, though you can edit the .desktop file in ~/Desktop of course.

Last edited by pwc101; 12-18-2008 at 09:52 AM.
 
Old 12-19-2008, 04:18 AM   #4
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Original Poster
Rep: Reputation: 27
Why, thank you!

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Link
Name=usb
Comment=
Icon=network_fs
URL=/media/gast01

This was exactly what I was looking for. I could not find this right away in the xfce documentation but this is probably due to my bad search and/or lack of some basic desktop knowledge.

It worked for me in the ltsp environment, so now, I have this static access to the usb which is better than nothing. The fact that an usb doesn't show up automatically is probably due to the lack of a gnomevfs replacement for xfce?

thanks again.
 
Old 12-19-2008, 04:37 AM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
You should be able to get Xfce to automount USB disks (mine certainly do) and have an icon on the desktop. The icon should appear by default and is essentially caused by udev, hal and Xfce working together, but the automounting is all Xfce. Download the thunar-volman plugin from you distro's repositories, and then in thunar, go to Edit > Preferences, then the Advanced tab, and you should be able to tick the Enable Volume Management box. Click on configure to launch the volume manager, and check all the options are to your liking They're pretty self explanatory really.
 
Old 12-19-2008, 04:48 AM   #6
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Original Poster
Rep: Reputation: 27
It is not that the usb is not automatically mounted, it's just that it doesn't automatically show the icon on the desktop that links to this newly mounted usb disk.
=> the volman plugin is already installed.

Do you happen to know in which file the changes done to the xfce desktop are saved? I mean the things you can (un)select from the "desktop settings" => behavior tab => show icons for: -home -filesystem -...
=> a grep learns me that this seems to be in the ".config/xfce4/mcs_settings/desktop.xml" folder

cheers!

Last edited by lievendp; 12-19-2008 at 04:59 AM.
 
Old 12-19-2008, 06:59 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by lievendp View Post
It is not that the usb is not automatically mounted, it's just that it doesn't automatically show the icon on the desktop that links to this newly mounted usb disk.
=> the volman plugin is already installed.

Do you happen to know in which file the changes done to the xfce desktop are saved? I mean the things you can (un)select from the "desktop settings" => behavior tab => show icons for: -home -filesystem -...
=> a grep learns me that this seems to be in the ".config/xfce4/mcs_settings/desktop.xml" folder

cheers!
As far as I can tell, xfce configuration is mostly in ~/.config, though I've never really delved through it.
 
  


Reply

Tags
desktop, link, 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
create a shortcut in /home/username/Desktop but not still not appear on desktop! swgiant Linux - Newbie 1 09-27-2008 11:51 AM
XFce and Compiz : xfce doesn't manage the desktop naaman Linux - Desktop 0 07-16-2008 01:39 AM
How to rename Items on the Desktop Merlyn Linux - Newbie 2 12-31-2005 03:55 PM
Cool desktop items? adds2one Linux - Newbie 5 08-30-2005 10:08 PM
Desktop items johnnydangerous Fedora 2 03-05-2005 09:34 AM

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

All times are GMT -5. The time now is 11:03 PM.

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