LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 09-17-2009, 01:39 AM   #1
aasmith
LQ Newbie
 
Registered: Sep 2009
Location: Portland, OR
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
Gnome menu load has blank terminal


Hi all--
I'm trying to add a Java program to the Gnome menu using Alacarte. After much banging of head against monitor, I finally got Gnome to start the program up from the menu. However, it also loads up a blank terminal window at the same time. If I close the blank terminal, the program gets killed too. This is annoying, and takes up screen real estate, but I have no idea if it's Java or Gnome at fault. Can anybody point me in the right direction?

Additional question: Alacarte and I have been having some serious issues. If anybody can point me toward a manual that doesn't assume I'm a total newbie, I'd be grateful. (The Gnome manual barely covers Alacarte, and doesn't yield any new info.) If anybody can tell me what the %f and %u arguments means in a launcher command, I'd be doubly so.

Thanks,
Adam
 
Old 10-01-2009, 10:30 AM   #2
sonshine
LQ Newbie
 
Registered: Sep 2008
Location: Maine, USA, Earth
Distribution: Kubuntu 8.04
Posts: 8

Rep: Reputation: 0
Question Terminals

I always get two terminal consoles when I use the command line. I don't know why. Does the program work in the active console window? My stuf usually works okay the two windows close together when I shut down the active terminal console window.

Sonshine Penguin
 
Old 10-03-2009, 05:55 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
It sounds like what happens if you click on an icon for a script, and that script is a wrapper for the gui program.
You might want to compare your menu item with another program that launches a wrapper script as well. One example is "firefox".
 
Old 10-04-2009, 02:06 AM   #4
aasmith
LQ Newbie
 
Registered: Sep 2009
Location: Portland, OR
Distribution: Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you guys. Unfortunately, this has become a moot question, because my laptop was stolen last week. (I left it in my car near a sketchy area of town in plain site in my back seat, and I just wasn't thinking straight because fasting for Yom Kippur had *just* ended.) But for intellectual curiosity's sake:

The program being run was java--plain old java--that was in turn running a program that was the actual app I was running. I looked at other launchers in the menu, but the only thing I saw that was different were those wacky %f and %u arguments. (Still don't know what those mean, or where any of that information might be written down.) All I saw was that the one launcher I made from scratch was doing something that the others didn't. Yeah, I think something somewhere was likely considering java to be a wrapper. But why? Is there some magic trick to making your own menu items, that's not obvious?
 
  


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
How to change GNOME main menu icon(Applications menu) deepclutch Linux - Software 7 06-25-2007 02:31 PM
openSuSE 10.0 + Gnome 2.12 desktop... NO TERMINAL ON THE CONTEXT MENU! hamstar Linux - Software 1 12-08-2005 06:35 AM
Gnome terminal program went blank rem Linux - Software 3 03-29-2005 02:25 AM
Opening a new terminal from Fluxbox menu (or another terminal) hallamigo Linux - Software 1 05-02-2004 04:32 AM
KDE applications menu replaced by Gnome style menu denh0 Mandriva 2 11-24-2003 01:14 AM


All times are GMT -5. The time now is 08:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration