LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12: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, 09: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, 04:55 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:45 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