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 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 Sun, 2014-07-13 at 11:23 -0400, Darr247 wrote:
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.
For the record, Gnome 3.0 was released to the public on Wednesday, 6 April 2011 [1]. Current version 3.12 [2]
[1] https://mail.gnome.org/archives/devel-announce-list/2011-April/msg00004.html)
[2] http://en.wikipedia.org/wiki/GNOME
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
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
On Sun, Jul 13, 2014 at 09:09:55PM -0400, EGO-II.1 wrote:
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!
I put up a little page which gives, among other things, the packages you need to get a basic X with dwm (which isn't in repos.)
My page is at http://srobb.net/minimaldesktop.html
What desktop are you expecting to get.
If you're looking for the standard Gnome desktop, it's probably something like yum groupinstall 'Gnome Desktop' (or yum install @gnome-desktop-environment)
On Sun, Jul 13, 2014 at 09:41:51PM -0400, Scott Robbins wrote:
If you're looking for the standard Gnome desktop, it's probably something like yum groupinstall 'Gnome Desktop' (or yum install @gnome-desktop-environment)
Sorry, that should be yum groupinstall 'GNOME desktop' or possibly 'GNOME Desktop'. The @gnome-desktop-environment is right though.
To find the exact name
yum grouplist -v |grep -i gnome
which will give you something like GNOME Desktop (gnome-desktop-environment)
On Sun, Jul 13, 2014 at 09:41:51PM -0400, Scott Robbins wrote:
On Sun, Jul 13, 2014 at 09:09:55PM -0400, EGO-II.1 wrote:
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?
By the way, the startx command itself is provided by the xorg-x11-xinit package. I have another small page explaining how to use yum provides to find what package gives what command at http://srobb.net/yumprovides.html
Which is funny, because I remember doing this same exact thing for C6 and "startx" worked right away......hmm...I guess they changed some things around for this version?...or maybe it really IS because I went and tried to do this with a netinstall instead of the regular CD/DVD iso.?...
EGO II
On 07/13/2014 09:48 PM, Scott Robbins wrote:
On Sun, Jul 13, 2014 at 09:41:51PM -0400, Scott Robbins wrote:
On Sun, Jul 13, 2014 at 09:09:55PM -0400, EGO-II.1 wrote:
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?
By the way, the startx command itself is provided by the xorg-x11-xinit package. I have another small page explaining how to use yum provides to find what package gives what command at http://srobb.net/yumprovides.html
On 07/13/2014 09:41 PM, Scott Robbins wrote:
On Sun, Jul 13, 2014 at 09:09:55PM -0400, EGO-II.1 wrote:
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!
I put up a little page which gives, among other things, the packages you need to get a basic X with dwm (which isn't in repos.)
My page is at http://srobb.net/minimaldesktop.html
What desktop are you expecting to get.
If you're looking for the standard Gnome desktop, it's probably something like yum groupinstall 'Gnome Desktop' (or yum install @gnome-desktop-environment)
Thanks so much for the reply, I guess I should have RTFM huh? I was trying to get the Gnome desktop, but I think I will just try again later on in the week when time permits. I will definitely try the suggestions you gave me. But one thing I noticed?...is that even whenI type in just "yum" it returns a command not found......what would cause that? or am I just stoopid?....I know when the USB boots up it gives me the option to "Install CentOs" which I do select...and since it goes through all the motions and lands me at a "#" command prompt...then it MUST have installed properly....no? sorry for being such a pest.....
EGO II
On Sun, Jul 13, 2014 at 09:09:55PM -0400, EGO-II.1 wrote:
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!
Sounds as if you didn't select what class of system to install, or chose one without a graphical desktop when you were in the installer.
On 07/13/2014 10:07 PM, Fred Smith wrote:
On Sun, Jul 13, 2014 at 09:09:55PM -0400, EGO-II.1 wrote:
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!
Sounds as if you didn't select what class of system to install, or chose one without a graphical desktop when you were in the installer.
Well it's like I had said before.....when the USB boots up, it doesn't give me any type of real options except to install the OS....or "Test" the media and THEN install the os. when I select "Install the OS" it automatically scrolls through a whole lot of lines of code and things its doing...and then "drops" me to the "#" command prompt. Maybe I'll download the CD/DVD iso and try again with the LiveUSB creator. Thanks again one and all for your insightful and helpful comments and advice. (Will definitely be KEEPING the links sent!...for future reference! since I plan on introducing this OS to my company for "server" usage!)
Cheers!
EGO II
On Mon, Jul 14, 2014 at 12:48:26AM -0400, Eddie G. O'Connor Jr. wrote:
On 07/13/2014 10:07 PM, Fred Smith wrote:
Well it's like I had said before.....when the USB boots up, it doesn't give me any type of real options except to install the OS....or "Test" the media and THEN install the os. when I select "Install the OS" it automatically scrolls through a whole lot of lines of code and things its doing...and then "drops" me to the "#" command prompt. Maybe I'll download the CD/DVD iso and try again with the LiveUSB creator.
It sounds as if it's not a live USB. Is there a live CD or USB for CentOS 7 yet? As for it dropping you to a root prompt, not sure what's goin on there. For me, when I used the netinstall, after various and sundry things, it opens to an Anaconda (the GUI installer) window and begins to install (after waiting for various input from me.)
If there is less than a certain amount of memory, it will then go through the crippled text install which doesn't allow you to do any customization unless you've set up a kickstart file.
So, if it's just dropping to a root prompt and not doing very much, something might be broken.
However, a description, even if brief, of the "things it's doing" might be useful.
On 7/13/2014 6:09 PM, EGO-II.1 wrote:
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!)
the netinstall ISO doesn't contain any GUI, its designed to do unattended 'kickstart' installs from a nfs or http server of the full system.
the minimal install ISO has a gui for installation (but doesn't let you choose packages, it just installs basics).
Thanks Phil. That works. Too bad we are taking steps backwards. I am good at cli, but the vast majority is not.