You are not logged in.
I installed Firefox and there is no icon for it. I must manually enter "firefox" in the terminal. Also, when I run the java command, it says it cannot be found. I just installed java from the AUR package. Also, how do I make files without an extension run in the terminal or be sh by default?
Last edited by kensclark16 (2013-11-01 05:09:06)
Offline
No icon for it… where?
And the second issue is an issue of execution permissions. See `man chmod` for more detail.
All the best,
-HG
Offline
Sorry. I am using GNOME 3 and Firefox does not show in the applications list. The file does have run permission. Wait, are you talking about the file I want to run using sh or the java command?
Offline
Where is that java file? Are you sure it's in your $PATH? Maybe you need to relog / reboot?
To execute (run) a file, the file in question has to be executable. See 'man chmod' for more detail - as HalosGhost said.
Offline
I also had this issue with Firefox not showing up in gnome. a reboot fixed that for me though.
Offline
karol, I know. The file is executable but it is running in gedit.
Offline
it is running in gedit.
gedit is an editor, what do you mean by "it is running"?
How exactly are you trying to run it? Did you doubleclick that file, did you type the path? If you typed 'gedit /path/to/file' - you will open it in gedit.
Offline
I am double clicking the bash script and it is opening in gedit.
Offline
I don't know if there's a contextual menu when you right click on the file, but maybe you can execute it that way - or simply use the terminal.
Offline
I am double clicking the bash script and it is opening in gedit.
Do something like this (we assume the file you want to execute is called "runme" in this example):
chmod +x runmeThat will mark the file as "executable" as you say. Also, by default Gnome will prompt you on whether or not to run a script like this -- offering to execute it, execute it in a terminal or display its contents. I am not certain but I THINK that default process can be changed in the settings of Nautilus to do something by default -- like display in a text editor (gEdit) or run the script.
YMMV on this as I am not at my box, to confirm any of this.
Matt
"It is very difficult to educate the educated."
Offline
I also had this issue, if you do not want to reboot it is enough to restart gnome shell by pressing "Alt + F2" then "r" and finally Enter.
Same thing happened with thunderbird but other applications like gnome-tweak-tool appeared directly in the gnome apps menu.
I also had this issue with Firefox not showing up in gnome. a reboot fixed that for me though.
Offline