error running firefox.desktop file

 
Thread Tools Search this Thread
Operating Systems Linux Debian error running firefox.desktop file
# 1  
Old 08-10-2009
Computer error running firefox.desktop file

Hi,

I installed the FF3 on my new Debian, and part of the installation guidance is to save a file named firefox.desktop on the desktop, which should act like a shortcut to the FF. The file content is:
[Desktop Entry]
Name=Mozilla Firefox Browser
Comment=lightweight browser based on mozilla
Exec=firefox
Icon=firefox.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Application;Network;X-Red-Hat-Base;X-Red-Hat-Base-Only;
I have done all of this.

My questions are:
1) what kind of file is this? is it a script?
2) do I have to change the file mode attributes before running it?
# 2  
Old 08-10-2009
is this a personal or system wide installation?

if this is a system wide install, did you create a symlink to your firefox installation?
create one with the following command:
Code:
ln -s /opt/firefox/firefox /usr/local/bin/firefox

/opt/firefox/ is a default choice of directory to install firefox into for system wide installations, if you chose another directory amend that part accordingly.

if you did a personal install, the directory should be something like /home/userid/*/firefox/ which you need to include into the Exec= option.

hope this helps
# 3  
Old 08-10-2009
ln -s was done, thank you

and I can run the firefox from any directory via a terminal. This is not an issue.

The issue is to be able to activate firefox with the firefox.terminal file being showed in my original post.

My main object is to learn and understand, so I will much appreciate an answer to my 2 questions in my original post.

Thank you for the answer so far.

Also - I hope I am in the correct sub-forum (which I am not sure I am)
# 4  
Old 08-10-2009
Quote:
Originally Posted by JonesD1
and I can run the firefox from any directory via a terminal. This is not an issue.

The issue is to be able to activate firefox with the firefox.terminal file being showed in my original post.
is this about firefox.terminal or firefox.desktop???

Quote:
Originally Posted by JonesD1
My main object is to learn and understand, so I will much appreciate an answer to my 2 questions in my original post.
1 - a .desktop file is like a windoze shortcut, so not really a script
2 - if this is a system wide install, you may have to change permissions. if this is a personal install, this should not be an issue.

Quote:
Originally Posted by JonesD1
Also - I hope I am in the correct sub-forum (which I am not sure I am)
if this is an issue in Debian, this is the correct sub-forum

if you want a quick way to create shortcuts, try drag and drop from the main menu to the desktop.

Last edited by Leppie; 08-10-2009 at 01:53 PM..
# 5  
Old 08-10-2009
This is a personal/private system

And I mean that the Linux machine is for one user only. hope you meant this.

About the file name, my mistake, sorry, the name is as in the original post "firefox.desktop".

Thank you for the clarification, now I know what is a *.desktop is.

But still when I am double clicking on it, I'm getting a nice small window saying "Do you want to run"Firefox.desktop", or display its contents?"
and asking me to select between:
1) Run in Terminal
2) Display
3) Cancel
4) Run
Non of the above works (only 'cancel' works of course)

The "firefox.desktop" file attributes are: 0775

Does anyone knows what do I miss here?
# 6  
Old 08-10-2009
in what directory did you install firefox?

filepermissions are ok for launching the shortcut.
1 = execute, 2 = write, 4 = read, these are summed up.
so 775 means read, write and execute permissions for the owner and the group that the file is owned by and read and execute permissions for others.

have you tried to drag and drop the shortcut from the main menu to your desktop?
this might give you some insight in what info you are missing or is incorrect in your current shortcut.
# 7  
Old 08-10-2009
The firefox is installed under /usr/bin/firefox/

The symlink done was:
ln -s /usr/lib/firefox/firefox /usr/bin/firefox

Do you mean to drag and drop any other SW application to learn from it, because the FF is not shown in the menus, which BTW I will be happy to solve as well.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Error when running .sh file in AIX platform

Hi, I am trying to open Oracle Warehouse Builder (10g) Design Center in AIX platform using the command ./OWBClient.sh. When I execute, I am getting the below error. The JVM option is invalid: -XX: MaxPermSize=256M. Could not create the Java Virtual Machine. Any resolution guidance for the... (4 Replies)
Discussion started by: becky123
4 Replies

2. Homework & Coursework Questions

Firefox is already running, but is not responding.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am logging in as a regular user, whose home directory is being mounted from nfs server. When I tried to open a... (8 Replies)
Discussion started by: Ankur Goyal
8 Replies

3. UNIX for Advanced & Expert Users

Library file error while running command

I am running a command in Solaris non-global zone and it is complaining for a library file, while that is already preset in server. mwcontrol: fatal: relocation error: file /usr/openwin/lib/locale/common/xlibi18n.so.2: symbol _XlcAddUtf8Converters: referenced symbol not found # ls -l... (15 Replies)
Discussion started by: solaris_1977
15 Replies

4. Slackware

I/O Error on starting firefox

I was trying to open the port for my ftp end also I´ve triedto start firefox and so i received the following error: Input / Output Error. When i try to start that one in console i receive the following: No Protocol Especified No Protocol Especified Error: Cannot open display: :0,0 (1 Reply)
Discussion started by: darkpirate
1 Replies

5. Shell Programming and Scripting

Error running a .sh script when extracted from a jar file.

I am trying to run a script called install.sh as follows: I get a jar file, and extract it using the command: unzip filename.jar -D path/to/files then I navigate to that directory where I extracted the files, and run the command: sh install.sh (where install.sh is one of the files... (12 Replies)
Discussion started by: albert_newton
12 Replies

6. Ubuntu

UBUNTU 8.1 Desktop Edition not running after installation

I am a new Ubuntu user, installing Ubuntu on Windows XP . The installation process is successful but after installing when I login , it just freezes with a blank screen for both XClient scripts and GNOME sessions. I have given 10 GB space to the installation. Also i noticed that the time... (5 Replies)
Discussion started by: singla
5 Replies

7. Shell Programming and Scripting

running localhost:8080 on firefox gives error .

I have copied a simple.xml file into the folder /var/www/html and trying to access it on the brower by giving the command "http://localhost:8080/simple.xml" but it gives "Connection Failed " Error . While if i type "http://localhost/" It dispays the contents of the index.html file in the... (2 Replies)
Discussion started by: madhumathikv
2 Replies

8. Shell Programming and Scripting

error running sqlplus from shell file

I am running a shell file following script on bash shell in solaris 10 ( echo abc@orcl echo abc echo "set feedback off" echo "truncate table SIndexDataTypeHst1_changes;" ) | sqlplus -s but getting the following error ERROR: ORA-01005: null password given; logon denied ... (3 Replies)
Discussion started by: mmunir
3 Replies

9. Programming

Error while running C++ make file

The problem is that the original program was compiled using v5.0 MQ client but now we are using MQ client v5.3. Had modified the "make file" options as follows but still i could see the errors. #CLIENT_V5_LIBS = -limqb23ss -limqc23ss -lmqic -lmqmcs -lnsl -ldl CLIENT_V5.3_LIBS =... (1 Reply)
Discussion started by: hram
1 Replies

10. OS X (Apple)

Running Applications on my desktop?.....

Hello, I am running MAC OS X PANTHER I was wandering if anyone knew how to make the desired applications run on my desktop? I know how to do this if I make my own apps. using Realbasic, but what if I want to run CPU monitor, calender, CPU temperature, etc...? I know there has to be a way to do... (8 Replies)
Discussion started by: adamcb
8 Replies
Login or Register to Ask a Question