I want to place a link/shortcut/launcher in my unity panel (ubuntu 12.10).
I followed this tutorial on handytutorial.com to create a custom launcher and drag it to the panel.
I just need to know which command do I have to input. Is this possible?
I want to place a link/shortcut/launcher in my unity panel (ubuntu 12.10).
I followed this tutorial on handytutorial.com to create a custom launcher and drag it to the panel.
I just need to know which command do I have to input. Is this possible?
gnome-open does not work for me on 12.04 but nautilus /path to open does work.
example: nautilus /home/john/Downloads.
gnome-open works for me. Are you using Lubuntu? Or Xubuntu?
– Eric Carvalho
Mar 08 '13 at 20:14
gnome-open doesn't seem to be installed (but you can install it easily). I still prefer doing nautilus <path> though, since it requires 0 additional effort.
– oaskamay
Mar 08 '13 at 20:35
gnome-open. I installed gnu-cash, which installed libgnome2-bin (gnome-open is in it) as one of its dependencies.
– Eric Carvalho
Mar 08 '13 at 21:17
xdg-open keeps a running process in the terminal, even after closing the folder gui.
– Alkarin
Nov 28 '18 at 19:16
xdg-open instead, because I can't find a way to install gnome-open any more, and xdg-open is installed by default.
– Eric
Jun 29 '20 at 11:35
If the question is how to open a file/folder, the answer is always xdg-open.
From man xdg-open:
xdg-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser. If a file is provided the file will be opened in the preferred application for files of that type. xdg-open supports file, ftp, http and https URLs.
In this specific case the commmand
xdg-open folder
opens folder in your default file manager, be it Nautilus, Dolphin, Thunar or anything else.
nautilus since it starts the process and let it alone.
– Amani
Apr 15 '21 at 13:46
A shortcut to open a folder? If this what you want, the command is:
gnome-open </path/to/folder>
For example: gnome-open /home/Tiago/Downloads.
If it isn't installed run sudo apt-get install libgnome2-bin.
Use the command nautilus <path>.
So for example: nautilus /home/oaskamay will open up my home (~) folder.
In addition, if you need to open-up the GUI with root permissions, run gksu nautilus <path>. It works with every GUI front-ends too (e.g. gksu gedit /etc/default/grub).
It's important to note that you should never start GUI apps like so sudo gedit /etc/default/grub.
xdg-open works for me on ubuntu 16.04. I only made a copy of this command as open:
sudo cp /usr/bin/xdg-open /usr/bin/open
sudo chmod 775 /usr/bin/open
Now you can use it just like on mac os:
open ./
Restart your terminal or run source ~/.bashrc
– Ali Mar 11 '23 at 13:06
xdg-open .works well. – Kenny Aires Aug 08 '21 at 19:36