I am kinda stuck. I want to add a menu item and like all previous versions of Centos I used Alacarte without issue. In C7, it will not allow you to put anything but a one name command. IE, firefox. You can not have something like java -jar /opt/PROG/NAME.jar. It grays out the OK button as soon as you put a space after java. Note if you edit a menu item that that has a space, it is also grayed out. Any other way to add one> Thanks - Doug
On Sat, 12 Jul 2014 23:45:16 +0000 (UTC) Doug Sommer wrote:> Any other way to add onePut your command into a bash script that's named something without a space, perhaps? -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
On 07/12/2014 07:45 PM, Doug Sommer wrote:> I am kinda stuck. I want to add a menu item and like all previous versions > of Centos I used Alacarte without issue. In C7, it will not allow you to put > anything but a one name command. IE, firefox. You can not have something > like java -jar /opt/PROG/NAME.jar. It grays out the OK button as soon as you > put a space after java. > > Note if you edit a menu item that that has a space, it is also grayed out. > > Any other way to add one>I don't have a running Centos 7 in front of me, so this is an educated guess: Is there a separate line for "parameters" or "arguments"? I recall seeing a form like that, where the command went in one box, and the arguments in a different box. The program put them together to create the complete command line. Ted Miller
On 12 July 2014 @23:45 zulu, Doug Sommer wrote:> I am kinda stuck. I want to add a menu item and like all previous versions > of Centos I used Alacarte without issue. >Versions prior to C7 used GNOME 2.x as the default GUI, and Alacarte worked great with that... sounds like C7 has GNOME 3, and the last I knew Alacarte had not been fully adapted to GNOME 3.
On Sat, 2014-07-12 at 23:45 +0000, Doug Sommer wrote:> I am kinda stuck. I want to add a menu item and like all previous versions > of Centos I used Alacarte without issue. In C7, it will not allow you to put > anything but a one name command. IE, firefox. You can not have something > like java -jar /opt/PROG/NAME.jar. It grays out the OK button as soon as you > put a space after java. > > Note if you edit a menu item that that has a space, it is also grayed out. > > Any other way to add one> > > Thanks - Doug >Hi, Below is an example of how to do it under c7. - Create file named as you wish with a '.desktop' extension. - Insert the text below and edit to your needs. [Desktop Entry] Encoding=UTF-8 Name=My Java App GenericName=My Java app Exec=java -jar /path_to/my_java_app.jar Terminal=false Icon=/path_to/my_icon.png Type=Application - Save file. - Copy file to: * '/home/<username>/.local/share/applications/' to be local to that user only. or * '/usr/share/applications' to be available system wide. Your app will appear in a new menu group of 'Other'. Note: The example is for a java gui app. If a terminal application, change the 'Terminal' line rvalue to true. Regards Phil -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20140714/d071bfc4/attachment-0003.sig>
Ok so I've gone ahead and gotten CentOS to install to a Unetbootin USB, but when I go to install it from there and get the usual command prompt, I try to get a GUI by going "startx"...but I get an error that says "startx: command not found" How do I get the GUI to install from the Live usb? (Mind you I chose the netinstall since it was smaller!) I have tried everything I know...but cannot seem to get the GUI to come up. (This also includes the "yum groupinstall "Desktop environment" command which I?m told is ALSO not found!...what gives?) any advice or help anyone can give would be greatly appreciated! Cheers! EGO II