Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd December 2011, 06:07 PM
ta12121 Offline
Registered User
 
Join Date: Dec 2011
Posts: 1
linuxfirefox
Question Questions about Fedora 16 XFCE spin

Hi,

1. How can I tell what executable is launched by an item in the application menu? Analogous to right clicking on an item in the Start menu in Windows and looking at the shortcut properties.

2. How do I configure the Gnome Display Manager? I want it to use the external monitor for my laptop if there is one connected. The GDM configurator does not appear anywhere in the Applications menu.

Thanks for any help.
Reply With Quote
  #2  
Old 3rd December 2011, 06:39 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxfirefox
Re: Questions about Fedora 16 XFCE spin

There are a few ways to snoop out the command name that launches a program. In many cases, it's the same same as the package that installed it, but in other cases, the package name and the actual executable name don't share much in common.

Method 1: launch the program from the menu. Then run "top" in a terminal. I used "audacious" as an example:
Code:
Tasks: 123 total,   1 running, 122 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.3%us,  0.7%sy,  0.0%ni, 98.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2063212k total,  1102356k used,   960856k free,    89824k buffers
Swap:  4128764k total,        0k used,  4128764k free,   653732k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                              
 1028 root      20   0 94480  17m 9324 S  0.7  0.9   2:11.54 Xorg                                                                 
 1737 paul      20   0  506m 169m  31m S  0.7  8.4   8:17.32 firefox                                                              
 1652 paul      20   0  111m  13m 9.9m S  0.3  0.7   0:02.23 Terminal                                                             
 3512 paul      20   0  250m  21m  11m S  0.3  1.1   0:00.43 audacious                                                            
 3527 paul      20   0  3800 1192  912 R  0.3  0.1   0:00.13 top                                                                  
    1 root      20   0 16768  14m 2044 S  0.0  0.7   0:01.96 systemd
No surprise here, the package name that installed audacious was "audacious", the binary executable (shown under the Command column in top) is "audacious", and the menu item name is "Audacious".

Method 2: If you know the name of the rpm package that installed the program, you could use rpm and grep to find the executable(s):
Code:
[paul@CarCrusher ~]$ rpm -ql audacious | grep bin/
/usr/bin/audacious
/usr/bin/audtool
Method 3: Identify the *.desktop file in /usr/share/applicationns/ that is associated with the program and examine it, or grep it:
Code:
[paul@CarCrusher ~]$ ls /usr/share/applications/ | grep audacious
audacious.desktop
audacious-ffaudio.desktop
livna-audacious-aac.desktop
livna-audacious-mp3.desktop
[paul@CarCrusher ~]$ grep -i Exec /usr/share/applications/audacious.desktop
Exec=audacious %U
TryExec=audacious
Then there is just:
Code:
[paul@CarCrusher ~]$ which audacious
/usr/bin/audacious
I can't help you with your second question.

Last edited by PabloTwo; 3rd December 2011 at 06:41 PM.
Reply With Quote
Reply

Tags
fedora, questions, spin, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 10 X86_86 (The XFCE live CD Spin) lauwers Installation and Live Media 2 31st December 2008 03:38 PM
Fedora 9 XFCE Spin **Beta** Olcay Fedora Focus 8 28th July 2008 03:32 PM
Fedora 8 Xfce Spin RahulSundaram Fedora Focus 19 21st February 2008 09:37 PM
Announcing Fedora 8 Xfce Spin RahulSundaram News 0 13th February 2008 04:56 AM
Updated Fedora 8 Xfce Spin RahulSundaram Fedora Focus 47 8th February 2008 09:50 PM


Current GMT-time: 18:51 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat