For some versions already, Ubuntu does not have an option to can bring to life un pitcher. Here we explain how to create one. |
Steps to follow
I opened a terminal and wrote the following:
gnome-desktop-item-edit ~ / Desktop --create-new
Where ~ / Desktop is where you want the launcher to be created. Subsequently, the following will be displayed:
From here you can customize the launcher.
In Type you can choose between Terminal Application or Application only. If the application has a graphical interface, choose Application. In case you need to see the "feedback" or the progress of a script, you should choose the first option.
In Command enter the place where the script or application to be executed is hosted. It is even possible to select a custom icon or image by clicking on the trampoline button.
Now all you have to do is click OK.
Finally, it remains to give execution permissions to the script or the application that the launcher points to.
To do this, you can right click on the file to be executed and from the Properties section change its execution permissions. Otherwise, open a terminal and run:
sudo chmod + x path_y_file_name_to_run
Excellent now I can create my own launchers n__n
Hello, excellent article, can you create a launcher with the connection of nautilus with an ssh server in android ??? thanks
Create a launcher for the launcher so I don't have to type it every time?
sudo nautilus / usr / share / applications /
there you find the launchers of each program
just right click on the icon and send to the desktop, or a copy & paste
Very good for creating the jclick shortcut on Ubuntu desktop. for the grandchildren, a retired mestreta
Fine
Could you tell me how to make a direct access to an internet page and keep it on the desktop? With the previous version (13.10), I right clicked on the desktop and there I did it, now with 14.04 I can't do it
Hola!
Try right-clicking on the file to which you want to generate a shortcut and, once created, drag it to the desktop.
In the case of web pages, I can't think of how to do it. I think dragging the url from firefox and dropping it to desktop doesn't work. It would be necessary to try. Likewise, I think I've read a long time ago about the existence of an addon for Firefox: https://addons.mozilla.org/en-US/firefox/addon/66
Cheers! Paul.
For an html page simply create the shortcut to firefox (/ usr / bin / firefox) and in the command line add a space followed by the path to that web page or html file.
For example:
Command: / usr / bin / firefox ~ / stuff / index.html
Note that these types of applications that can open a file or a path, when a direct access is made simply to the program,% U must be added to the command so that they open what you drag on them. For example we can create the access with the command:
Command: / usr / bin / firefox% U
That way, dropping an html on the shortcut should open such a file with the firefox program.
the cairo-doc program allows you to create shortcuts very easily
Hello, very good contribution 😀 😀 😀
It is a good contribution, continue like this
Very useful effective
Hola!
very good!
but there is an easier way: 1) open the folder where the program to run is
2) drag the executable to the desktop, to the bar or wherever you want to place it
3) DONE! clicking on the icon opens the program in question
If it doesn't work, put sudo nautilus in the terminal and create the link of any folder and paste it to the desktop.
that is to say…
creating a launcher is a real pain in the ass!
Hi, you can also create launchers from the terminal, using the "mklauncher" tool and a single line command:
Example :
# mklauncher -n "Firefox Quantum" -e "/ opt / firefox / firefox% U" -i "/opt/icons/firefox.png" -cat "Network"
The "mklauncher" tool works on all GNOME, KDE, LXDE, LXQt, MATE, Razor, ROX, TDE, Unity, XFCE, EDE, Cinnamon, Pantheon, etc. desktops.
To install "mklauncher" you must log in as administrator and execute the following command:
GNU / Linux 64 Bits
------
#wget https://osdn.net/dl/mklauncher/mklauncher-1.0.0-amd64.tar.gz && tar xfzv mklauncher-1.0.0-amd64.tar.gz && cd mklauncher-1.0.0-amd64 && ./install
GNU / Linux 32 Bits
------
#wget https://osdn.net/dl/mklauncher/mklauncher-1.0.0-i386.tar.gz && tar xfzv mklauncher-1.0.0-i386.tar.gz && cd mklauncher-1.0.0-i386 && ./install
To easily copy launchers from the application menu to the desktop, you have to create these two launchers, you must select the appropriate file manager for the current system nautilus, dolphin, thunar, etc:
# its
# mklauncher -n "Global launchers" -e "nautilus / usr / share / applications" -i "mk-folder.png" -cat "System" -k "Global; Launcher;"
# mklauncher -n "Local launchers" -e "nautilus $ HOME / .local / share / application" -i "mk-folder.png" -cat "System" -k "Global; Launcher;"
To create shortcuts to websites you must select the appropriate browser for the current system firefox, opera, etc:
# mklauncher -n "GNU Linux OS" -e "firefox https://www.linux.org»-I« mk-internet.png »-cat« Network »
The "mklauncher" tool places an icon on the desktop automatically.
It would not be a bad idea for articles to clearly indicate the publication date and the versions used.
I have to correct, there was an error the correct command to open the local launchers folder is this:
# mklauncher -n “Local launchers” -e “nautilus /home/[Usuario[Usuario ]/.local/share/application” -i “mk-folder.png” -cat “System” -k “Global; Launcher;”
I almost forgot, the current release for "mklauncher" is:
«2020-01-07» «Version 1.0.0»
For all Linux (Debian, Ubuntu, Fedora, Linux Mint, Red Hat, CentOS, Arch, openSUSE, Gentoo, Kubuntu, Raspbian, elementary OS, Solus, Mageia, Pop! _OS, Clear Linux, Void Linux, NixOS, Alpine. )
This is the project page:
http://mklauncher.osdn.io
This does not work for the version of ubuntu that I have Ubuntu 20.04.3 LTS
but it is appreciated