Page 1 of 1

Add trash to desktop

Posted: Thu Dec 30, 2010 8:45 pm
by jango
How can i have trash and home to Lubuntu desktop?

Re: Add trash to desktop

Posted: Sat Jan 01, 2011 4:16 pm
by jango
bump...

Re: Add trash to desktop

Posted: Sat Jan 01, 2011 6:59 pm
by maces
Hi,

there's no checkbox for that, afaik. But you could use *.desktop files. Copy and paste the code into a file:

Code: Select all

[Desktop Entry]
Type=Application
Icon=system-file-manager
Name=Home Folder
GenericName=Home Folder
Comment=open home folder in PCManFM
Categories=FileManager;Utility;Core;GTK;
Exec=pcmanfm
StartupNotify=true
Terminal=false
MimeType=x-directory/normal;inode/directory;
and save this as home.desktop.

Code: Select all

[Desktop Entry]
Type=Application
Icon=user-trash
Name=Trash
GenericName=Trash
Comment=open trash in PCManFM
Categories=FileManager;Utility;Core;GTK;
Exec=pcmanfm trash:///
StartupNotify=true
Terminal=false
MimeType=x-directory/normal;inode/directory;

and save this as trash.desktop

maces

Re: Add trash to desktop

Posted: Sat Jan 01, 2011 7:46 pm
by jango
Thx, it works :)

Re: Add trash to desktop

Posted: Sat Oct 22, 2011 2:29 pm
by amjjawad
Is there anyway to enable "Right Click > Empty Trash" in LXDE? I mean as far as I know, with other DEs, one can do that from the Trash Icon on the desktop without going to the File Manager.

Perhaps I should contact PCMan :)

Re: Add trash to desktop

Posted: Fri Nov 04, 2011 7:13 pm
by kfeina
Hello,

I have tried the trash.desktop and it's nice. But if you drag a file inside the icon the following message appears:

openboxThem: Error moving file: Not a directory

Any solution?

Thanks a lot.

Re: Add trash to desktop

Posted: Mon Nov 28, 2011 9:10 am
by Terazynis
Another way, to add "Trash" and "Home" (or any other) shortcut to Your desktop is by using "lxshortcut".
OK, let's create "Home" shortcut on Your desktop.
Press Alt+F2, then type in:

Code: Select all

lxshortcut -o  ~/Desktop/home.desktop
And then a window, will pop up. Fill up all the fields.
In 1-st field type: Home
In 2-nd field type: pcmanfm
In 3-rd field type: Open with pcmanfm (or just leave it blank)
Don't forget to choose an icon You like to use for the shortcut and press "OK"

Now let's create "Trash" shortcut on Your desktop.
Press Alt+F2, then type in:

Code: Select all

lxshortcut -o  ~/Desktop/trash.desktop
And then a window, will pop up. Fill up all the fields.
In 1-st field type: Trash
In 2-nd field type: pcmanfm trash:///
In 3-rd field type: Open with pcmanfm (or just leave it blank)
Don't forget to choose an icon You like to use for the shortcut and press "OK"

In this way You can create any chortcut, You like.

Re: Add trash to desktop

Posted: Sat Mar 17, 2012 12:35 pm
by fabrixx
Terazynis wrote:Another way, to add "Trash" and "Home" (or any other) shortcut to Your desktop is by using "lxshortcut".
OK, let's create "Home" shortcut on Your desktop.
Press Alt+F2, then type in:

Code: Select all

lxshortcut -o  ~/Desktop/home.desktop
And then a window, will pop up. Fill up all the fields.
In 1-st field type: Home
In 2-nd field type: pcmanfm
In 3-rd field type: Open with pcmanfm (or just leave it blank)
Don't forget to choose an icon You like to use for the shortcut and press "OK"
nothing appear in lubuntu 12.04beta :|

Re: Add trash to desktop

Posted: Sun Mar 18, 2012 12:59 am
by seppalta