Gnome panel "Create Launcher" question - bug or just poor design
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Gnome panel "Create Launcher" question - bug or just poor design
Gnome 2.30.0 (Ubuntu 10.04) I wish to create a launcher to a particular subdirectory.
- right click on Panel and select Add to Panel
- choose Custom Application Launcher
- Set Type to Location
- input desired Name
Next to the Location text box is a Browse... button. I would expect to be able to browse to the subdirectory which I wish to access with my launcher. However, the Browse... button brings up a window which is titled "Choose a file..." and which will only "Open" a file, not a subdirectory.
Is this a bug I should report or just an example of poor user interface design? If the latter, is the issue with the Create Launcher program (for bringing up a file locater) or with the File Locater program (which should have the option of selecting a location as well as a file?
Perhaps a poor design, but it's functioning as specified. Note that you selected the option to "Create an Application Launcher," so, of course, you were presented with a browser window so you could select the executableapplication you wished to launch.
In your case, I'm not sure what you mean by a "launcher to a particular subdirectory." A subdirectory is, obviously, not an application (or any thing else) that can, by any conventional meaning of the word, be launched. Can you explain what result you expect when you "launch" a subdirectory? If we knew what result you wanted, we might be able to offer more targeted advice.
On my current desktop (Ubuntu 9.10) I store my OpenOffice.org files in the location (subdirectory at the end of the path) /data/data/OpenOffice. Yes there is a reason for the second /data in the path - beyond the scope of this question. I have a Launcher on the panel which has the properties:
Name: OOo
Location: file:///data/data/OpenOffice
When I click on the launcher it opens the OpenOffice subdirectory in the File Browser. I created the launcher as described in the original post (except that I had to specify the location manually).
So, from what you say, the application you're starting is the default Web browser you've configured for GNOME. That's because the subdirectory reference you provided is in a URL format, and -- absent some special settings -- a URL is passed to a Web browser for processing.
IIRC, the default browser in a GNOME setup is nautilus, so I guess you could have used nautilus file:///... as the application to be launched, or some other file manager if you so wished.
Note that you selected the option to "Create an Application Launcher," so, of course, you were presented with a browser window so you could select the executable application you wished to launch.
please recall that what I am attempting to do is to add a launcher to the panel which has the same functionality as the Places menu. The Places menu allows me to create bookmarks to remote servers or to locations on the local machine. However, I cannot move the bookmarks to the panel or the Desktop. Thus my option is to create a Launcher.
The Create Launcher dialog presents me with 3 types of Launcher:
Application
Application in terminal
Location
The first two prompt me for a Command. The third prompts me for a LOCATION, not a Command. Thus my belief that the Browse button should allow me to browse to the Location to which I wish the launcher to point. If launchers were intended to only launch executable applications there would be no need for the Location type.
Location
For a location launcher, specify the location to be opened. Click Browse to select a location on your computer, or type a web address to launch a web page.
I think that nails it. I will submit a bug report and see what happens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.