LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2005, 08:53 AM   #1
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
add launcher to menu?


I don't know why I can't add a launcher to the Applications menu. I Open the Applications menu, go to the section I want to add the launcher, right click to access the "Entire Menu" selection, select "Add new item to this menu" - type in all the relevant info... and...

nothing.

I've even tried it as root - no go. Nothing shows up in the menu. I double-checked the location I'm using for the launcher... I jus' dunno anymore.

I'm on Slack 10 current
 
Old 02-03-2005, 09:10 AM   #2
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
Have you restarted X Windows since you added them? For some reason I have to restart X in order for new launchers to appear.
 
Old 02-04-2005, 07:41 PM   #3
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I restart after an attempt at making a new launcher and ... nothing. It's like I never even tried to add it.

I am using Gnome, btw... Maybe I should try and like get to like KDE's "Mattel" looks...
 
Old 02-05-2005, 11:42 AM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
open up Nautilus. In the location bar (if you don't have one, use the menus) go to:
Code:
applications:///
Look around in there and see if you can find the entries that you added. If you can (you should) it is actually a .desktop file. If you open it up. You may find that a line "TryExec=" is in it. If so, delete that line. Should work now.
 
Old 02-05-2005, 09:41 PM   #5
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
Shilo! Once again the rescuer! I did indeed find the launchers in "applications:///", but how do I open the launcher without launching the application? I can right-click the launcher and "Edit Launcher" - but that doesn't show me much - nothing with "TryExec=" in it anyways...

I'm about 50% there...


But why does this happen? It didn't used to when I first started with Slack 10... ?
 
Old 02-06-2005, 01:59 AM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Why does it happen? I don't know very well. It's some new upcoming feature in Gnome that hasn't been fully implemented yet. Clearly, it is still a bit buggy.

How to edit the launcher? Let's say that the launcher is called Program. It's actually Program.desktop. How do you edit it? Open up gedit, but not maximized. Drag the launcher and drop it on the gedit window. There, it will open up, with a bunch of text for you to check out. TryExec should be near the bottom.
 
Old 02-07-2005, 08:07 PM   #7
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
Grrrrr.... I did all that - and a big thangew, by the way - but the file *.desktop is labelled "RO". I've looked all over to find and change the ownership/permissions of this launcher, but can't find it anywhere.

I've tried to open Gedit from the command line as root, then open Nautilus from command line as root and dragging/dropping a launcher from Nautilus to Gedit... but it still won't let me edit the file.

Where do these launchers live so I can change the ownership/permissions with MC?

Last edited by noxious; 02-08-2005 at 07:38 AM.
 
Old 02-08-2005, 03:43 PM   #8
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
I got it fixed - I thought I should post how it works, for others with the same question.

The launchers that you add (or try to add) reside in /home/<name>/.gnome2/vfolders/applications

I opened a terminal and navigated there using nautilus, as root and dragged/dropped the launcher into another opened gedit window. There, I deleted the "TryExec" line.

Save the file. All should be well now...
 
Old 02-08-2005, 04:33 PM   #9
zord
Member
 
Registered: Feb 2005
Distribution: slack 10
Posts: 50

Rep: Reputation: 15
Quote:
Originally posted by noxious
I opened a terminal and navigated there using nautilus, as root and dragged/dropped the launcher into another opened gedit window.
if you have trouble opening files as root you could also just type "gedit launchername" as root
 
Old 02-09-2005, 12:42 PM   #10
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
Cool!
 
Old 02-09-2005, 03:43 PM   #11
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
you could also just type "gedit launchername" as root
This is true. My only trouble (and I'm sure this will sound dumb) is remembering the launcher name. Especially when it's under "applications:///" or something.

Which reminds me of a cool trick. Maybe everyone else already knows this. Set up a panel on the bottom of your screen in Gnome. Only put launchers in the panel. If you take something like gedit and add a launcher for it on the panel, you can simply drag file icons onto the launcher to have them open in gedit. Works for a whole bunch of different stuff.
 
Old 02-19-2005, 02:44 AM   #12
pdemaers
Member
 
Registered: Apr 2004
Location: Belgium
Distribution: Fedora Core 2
Posts: 42

Rep: Reputation: 15
Can't create any launchers on desktop either

Hi Guys,

i'm an 'advanced' newbie with a similar problem. I'm on Gnome with FC3 and i can not add any launchers to the desktop. When i create a new launcher for a app, nothing happens when i close the add launcher window. Sometimes when i reboot the launcher is there, sometimes not. I don't know what the pattern is there. Also, when i mount a drive (my vfat windows drive or my usb flashdrive) no icon appears on the desktop either, but the drive is accessible through the filebrouwser.

I checked for the .gnome2/vfolder/ dir, but i don't have it. Any suggestions .... thanks !!

Kind regards,

Patrick
 
  


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
Cannot add launcher Ephracis Linux - Software 0 07-10-2005 04:43 PM
How to add launcher to gnome applications menu? Linux24 Linux - Newbie 9 05-01-2005 03:56 PM
How to create a menu group and application launcher? kiranprashant Programming 5 02-26-2005 12:15 AM
Adding a launcher to the main menu for all users. saravkrish Fedora 3 08-27-2004 09:51 PM
Add a Launcher to the menu Xgkkp Red Hat 1 08-31-2003 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 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
Open Source Consulting | Domain Registration