Re: gnome-key-manager-> seahorse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 April 2010 19:30, William Case <billlinux@xxxxxxxxxx> wrote:
> Just to add another dimension to this naming discussion. The name often
> has nothing to do with the command line run command and there is no easy
> way to find what command to use on the command line if or when you want
> to run an application from there instead of a menu icon.

I do this often enough, that I have a bash shell function that takes
the Display Name as the argument and finds the program run:

[sam@samlap ~ ]$ desktop_menu_exec "AisleRiot Solitaire"
/usr/bin/sol

[sam@samlap ~ ]$ tail -n4 .bash_profile
function desktop_menu_exec {
   FILES=`grep -l "$1" /usr/share/applications/*`
   grep Exec $FILES | cut -d= -f2 | xargs -n1 which
}

--
Sam
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux