Hello Community. I'd like to know how to create a program shortcut in UM. Thanks for the answer.
I could created them but some files belonging to the shortcuts can not be erased.
I mean: I could create them.
With shortcut you can either mean:
-
a desktop entry: a file that contains reference to an executable and an icon, like the program shortcuts in windows, also known as '.desktop' files
--
global desktop files are to be found in /usr/share/applications
local (user) desktop files can be found in $HOME/.local/share/applications
--
Rightmousbuttonclick on the desktop, choose "create launcher"
--
You can edit a desktop-entry with pluma or by rightmousebuttonclick -> "properties" -
a softlink: a single filesystemlevel reference to a file.
(this is what @ericmarceau mentioned in the post above)
(there is no MS-Windows equivalent)
--
Rightmousbuttonclick on a file, choose "make link"
(see eric's screenshot)
More background info about desktop-entry shortcuts here:
More background info about softlinks here:
Files belonging to the shortcut, except the executable and the icon, do not exist.
You probably mean something else but I can not guess what you mean instead.
Could you enlighten us ?
I could create the symbolic link to the program, but I can't erase the files created during the operation. I can't delete the files with the extension named with numbers. They appeared when I created the symbolic links choosing the option on the Menu: Applications, instead of Applications on the terminal.
If you used symlinks, can you open a terminal where you have the symlink, then report here the results of the following:
ls -l ${symlink}
ls -lL ${symlink}
ls -ld $(dirname $(ls -l ${symlink} | awk '{ print $NF }' ) )
So you saw those extra icons on the desktop (workspace) ?
That happens to me sometimes. I usually do this to solve it:
Open Caja (the filemanager) , navigate to your desktop folder and press the refresh button.
If it is what I think it is, the desktop should now be cleared of those temporary files.
If not, then it is something else.