LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2016, 08:26 AM   #16
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,164

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757

I didn't read everything, but do you have a folder called Desktop on your user login, and place the desktop app.desktop files in it?

example of desktop file. needed entries to it

Code:
[Desktop Entry]
Name=Blender
GenericName=3D modeler
Comment=3D modeling, animation, rendering and post-production
Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;video editing;video tracking;rendering;render engine;cycles;game engine;python;
Exec=/home/userx/bin/blender-2.78-rc2-linux-glibc219-x86_64/blender
Icon=/home/userx/bin/blender-2.78-rc1-linux-glibc219-x86_64/blender.svg
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;
Name[en_US]=Blender 2.78RC2
Path=/home/userx
StartupNotify=false
I'm using XFCE4

Last edited by BW-userx; 09-21-2016 at 08:29 AM.
 
Old 09-22-2016, 07:22 AM   #17
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by BW-userx View Post
I didn't read everything, but do you have a folder called Desktop on your user login, and place the desktop app.desktop files in it?

example of desktop file. needed entries to it

Code:
[Desktop Entry]
Name=Blender
GenericName=3D modeler
Comment=3D modeling, animation, rendering and post-production
Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;video editing;video tracking;rendering;render engine;cycles;game engine;python;
Exec=/home/userx/bin/blender-2.78-rc2-linux-glibc219-x86_64/blender
Icon=/home/userx/bin/blender-2.78-rc1-linux-glibc219-x86_64/blender.svg
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;
Name[en_US]=Blender 2.78RC2
Path=/home/userx
StartupNotify=false
I'm using XFCE4
Hi.
I do have a desktop icon inside my home folder.

Click image for larger version

Name:	Screenshot from 2016-09-22 09:14:57.png
Views:	7
Size:	48.7 KB
ID:	23078

If I type in the terminal "vim Desktop", what I get is:

Quote:
" ============================================================================
" Netrw Directory Listing (netrw v152)
" /home/corretor/Desktop
" Sorted by name
" Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:special
" ==============================================================================
../
./
Should I copy what you posted and paste it inside this?
 
Old 09-22-2016, 07:39 AM   #18
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,164

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by doraimom View Post
Hi.
I do have a desktop icon inside my home folder.

Attachment 23078

If I type in the terminal "vim Desktop", what I get is:



Should I copy what you posted and paste it inside this?
do you have a setup app in your wm?
in xfce4 I have this one app that you have to click on it to get desktop icons to show up.

desktop goes inside the desktop folder not home folder, but maybe you just misspoke I donno know. nevertheless,
here is something that should help you

Adding LXDE start menu entries and desktop shortcuts

Last edited by BW-userx; 09-22-2016 at 07:40 AM.
 
Old 09-22-2016, 08:25 AM   #19
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by BW-userx View Post
do you have a setup app in your wm?
in xfce4 I have this one app that you have to click on it to get desktop icons to show up.

desktop goes inside the desktop folder not home folder, but maybe you just misspoke I donno know. nevertheless,
here is something that should help you

Adding LXDE start menu entries and desktop shortcuts
I don't know what you are asking (WM, what setup app?!).
The desktop icons in my machine appear in the GUI. I can see all desktop icons if I minimize all my open windows.
I can also access my desktop through a folder inside my home folder. Path: /home/username/Desktop

I'll read the link that you posted.
Thank you.
 
Old 09-22-2016, 08:49 AM   #20
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by BW-userx View Post
I have just finished reading the entire article that you posted. I have also entered every single link that was posted in the article. You first said:
Quote:
I didn't read everything, but do you have a folder called Desktop on your user login, and place the desktop app.desktop files in it?
So, that's why you didn't understand what I am looking for here. The article is great, it teaches how to create not only desktop icons, but also menu entries through the terminal. That's great, but that is now what I asked help here with.

In the article there is a very important image, related to this post here. I place a screenshot of that right here:

Click image for larger version

Name:	Screenshot from 2016-09-22 10:40:33.png
Views:	8
Size:	33.8 KB
ID:	23079

As you can see in this image, in the "CREATE NEW" desktop right click menu window, there is an option called "SHORTCUT". That's exactly what I want to enable in my LXDE that is missing!!!! And in this article, he says that this is a menu option that appears in his LXDE! My LXDE doesn't show that!!! In the CREATE NEW, the only option available is NEW FOLDER!

All I want with this post is to be able to enable that option that was supposed to already exist. It is probably related to something that is missing in my lxpanelctl.

I'll also quote the exactly line of the article where he says:
Quote:
This means that if you want to create a desktop shortcut for an application that is not in your start menu, you just need to create a .desktop file in $HOME/desktop, as explained in the previous chapter.
Alternatively, you can right-click anywhere on your desktop and choose the “Shortcut” option: this will launch the “LXShortcut” tool.
My LXDE doesn't allow me to do that as the article implicitly says that it is possible in his LXDE. There is no entry for a LXShortcut tool when I right click my Deskptop Screen Area! That covers everything that what I wished to accomplish with this post!

Last edited by doraimom; 09-22-2016 at 08:59 AM.
 
Old 09-22-2016, 12:45 PM   #21
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,629

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Quote:
My LXDE doesn't allow me to do that as the article implicitly says that it is possible in his LXDE.
Have you tried reinstalling your LXDE ?
If not yet, make a try.

You said infra, you have installed ALL DE from Debian. Can hardly believe, that assumes you have tried XFCE4; having tried XFCE4 you would have solved that problem already. What prevents you from trying XFCE4 ?

Since your thread opened I was following this. I have tried my self creating a "Create shortcut..." from my right-click and make this appear anywhere (not only on Desktop folder) I am running Xfce4.

You have tried Gnome, PCmanFM, LXDE, but it seems you haven't yet tried Xfce4. Debian of course offers this in repo. Xfce4 is very fast, stable and already mature. Installing it you shall have a ready-made "Create shortcut..." at desktop folder, and you can easily hack to make it appear ANYWHERE by right-click (except outside the X )

EDIT:
By the way, Xfce4 defaults Thunar File Manager and it is where I make petty hacks. Xfce4 provides an application called @ /usr/bin/exo-desktop-item-edit, this tool you can use for options of configuration on GUI instead of doing it in terminal.

Hope this helps. Good luck.

m.m.

Last edited by malekmustaq; 09-22-2016 at 12:53 PM.
 
Old 09-22-2016, 02:05 PM   #22
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by malekmustaq View Post
Have you tried reinstalling your LXDE ?
If not yet, make a try.

You said infra, you have installed ALL DE from Debian. Can hardly believe, that assumes you have tried XFCE4; having tried XFCE4 you would have solved that problem already. What prevents you from trying XFCE4 ?

Since your thread opened I was following this. I have tried my self creating a "Create shortcut..." from my right-click and make this appear anywhere (not only on Desktop folder) I am running Xfce4.

You have tried Gnome, PCmanFM, LXDE, but it seems you haven't yet tried Xfce4. Debian of course offers this in repo. Xfce4 is very fast, stable and already mature. Installing it you shall have a ready-made "Create shortcut..." at desktop folder, and you can easily hack to make it appear ANYWHERE by right-click (except outside the X )

EDIT:
By the way, Xfce4 defaults Thunar File Manager and it is where I make petty hacks. Xfce4 provides an application called @ /usr/bin/exo-desktop-item-edit, this tool you can use for options of configuration on GUI instead of doing it in terminal.

Hope this helps. Good luck.

m.m.
Hey my friend malekmustaq. Thank you for your interest in the post.

I said at some point that I'm running Debian in two different machines. The first one I installed Debian and ALL DE available, i.e., KDE, Gnome, XFCE, LXDE, Openbox, Mate, and some other that I might have forgotten. The DE that was running better in these 2 old machines and that was more appealing to me was LXDE. That's why, after taking a quick look at all of them I chose LXDE and installed just LXDE in the second machine. Everything seems ok in LXDE in terms of usability, except by this huge lack of options when I use the mouse right click. Of course, now, after you insisting for me to take a better look at XFCE, I'll certainly do that, but my intention, at first, was to enable this option in LXDE, create my links and my shortcuts to use "wine commands" to run .EXE files from windows.

Thank you and I'll take a good amount of time experiencing XFCE in my first machine. I hope I enjoy it as much as you seem to do.

P.S.: I'll reinstall Debian in the second machine as you suggested, but I strongly believe nothing will change. It doesn't seem like an installation error/bug.

Thank you.

Last edited by doraimom; 09-22-2016 at 02:07 PM.
 
Old 09-22-2016, 03:29 PM   #23
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,131

Rep: Reputation: 233Reputation: 233Reputation: 233
There is a cryptic entry in https://wiki.lxde.org/en/PCManFM#Add...s_context_menu that may be useful?
 
Old 09-23-2016, 09:54 AM   #24
doraimom
Member
 
Registered: Nov 2005
Posts: 274

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by JeremyBoden View Post
There is a cryptic entry in https://wiki.lxde.org/en/PCManFM#Add...s_context_menu that may be useful?
Thank you for the link. It seems to really go into the core of what I need here, but as far as
I was capable of understand, the only tip available there was that LibFM should be installed.
I have just opened Synaptics, and LibFM-data, Libfm-extra4, Libfm-gtk-data, Libfm-gtk4, Libfm-modules, Libfm4 were installed.The only one missing was Libfm-tools. I installed it, rebooted, but nothing changed. Neither Libfm-dev nor Libfm--dbg are installed.

Don't know anything else to extract from there and try here.
 
Old 09-23-2016, 10:08 AM   #25
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,164

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by doraimom View Post
Thank you for the link. It seems to really go into the core of what I need here, but as far as
I was capable of understand, the only tip available there was that LibFM should be installed.
I have just opened Synaptics, and LibFM-data, Libfm-extra4, Libfm-gtk-data, Libfm-gtk4, Libfm-modules, Libfm4 were installed.The only one missing was Libfm-tools. I installed it, rebooted, but nothing changed. Neither Libfm-dev nor Libfm--dbg are installed.

Don't know anything else to extract from there and try here.
it might just might be the way Debian has lxde set up in there install - have you tired installing from souce instead. just using debain to insure your depentices are installed. that being the devel packages ?
I mean if this is a must have wm/de thing that is. XFDE for me is still too light. xfce4 has many plug ins and configuration options too.
 
Old 09-24-2016, 01:05 AM   #26
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,629

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Quote:
but my intention, at first, was to enable this option in LXDE,
Well, you may try install Thunar File Manager under LXDE. There are Lubuntu users who are able to do that. With thunar file manager you can do many things.

Quote:
create my links and my shortcuts to use "wine commands" to run .EXE files from windows.
Honestly, under Xfce4 with Thunar I don't even need a "Create shortcut..." for that simple purpose. What I do under Thunar is to create a Right-click menu option called "Open with..." or "Run in ..." {say it "wine" you would} then you can only right-click any program desktop/link and Left-click "Run in wine" the program is launched by wine. That's how mature Xfce is by now.

Yet nothing more enjoyable than using terminal and create a launcher for wine+app.exe on desktop:
For example--
Code:
cd ~/Desktop
touch me
vi me

(press i
type /usr/bin/wine win_calendar.exe
press Esc
type :w! 
press Enter 
and then hold Shift + zz)

chmod +x me
exit
Double click that shortcut "me" on desktop, and wine will launch your win application named "win_calendar.exe".

Icons? You can make the "me" launcher appear in any icon you like at ~/.local/share/applications/*.desktop.

Solving the same problem in one decisive stroke, regardless running of any file manager. In the terminal there are many ways of killing a dog.

Hope you'd want that way too. Good luck and enjoy.

m.m.
 
  


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
How do I create desktop shortcuts? Bodrey Linux - Newbie 2 12-19-2009 08:08 PM
How do you create desktop shortcuts? fexter Linux - Newbie 5 10-24-2007 04:38 PM
asking for another way to create application shortcuts on ROX desktop Mr_Shameless Linux - Desktop 3 05-13-2007 02:05 PM
Can't create shortcuts to directories on the Desktop! lma10110 Linux - Newbie 1 09-23-2005 02:15 PM
how can i create shortcuts on my desktop!?? FreakboY Linux - Newbie 6 07-19-2002 05:24 AM


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