Visit Our UNIX and Linux User Community


error running firefox.desktop file

 
Thread Tools Search this Thread
Operating Systems Linux Debian error running firefox.desktop file
# 8  
Old 08-10-2009
the reason why your firefox doesn't start up is because you created the wrong symlink.
you created a symlink to /usr/lib/firefox/firefox (which most likely does not exist) in the directory /usr/bin/firefox (the directory where you installed firefox).

you need to check the /usr/bin/ directory for the symlink you created before.
if you do a ls command in that folder, you should get something like:
Code:
lrwxrwxrwx    1 foo  foo         4 2003-02-07 16:49 firefox -> /usr/bin/firefox

that should be the old symlink, which is not really of any use.
what you need to do is remove the old symlink (verify that what you are about to delete is a symlink and not the actual application):
Code:
rm /usr/bin/firefox

you then can create the correct symlink:
Code:
ln -s /usr/bin/firefox/firefox /usr/local/bin/firefox

after this your shortcut should launch firefox without any problems.
# 9  
Old 08-11-2009
The fault was found.
I wrongly forgot the line "Exec=firefox" in the firefox.desktop file.

The symlink is correct since I downloaded and installed the Firefox under /usr/lib/firefox/ according to the orders I read somewhere. Also I can activate the Firefox anywhere in the directory tree. :-)

Thank you very much Leppie, without you nothing would have been solved.
# 10  
Old 08-11-2009
please be more careful when providing the information. when people are trying to help you, it's difficult to find the solution if you provide the wrong info.
you first wrote:
Quote:
Originally Posted by JonesD1
The firefox is installed under /usr/bin/firefox/

The symlink done was:
ln -s /usr/lib/firefox/firefox /usr/bin/firefox
you then posted:
Quote:
Originally Posted by JonesD1
The symlink is correct since I downloaded and installed the Firefox under /usr/lib/firefox/ according to the orders I read somewhere.
these statements clearly contradict each other. then you also you the instructions for the firefox.desktop file as the actual firefox.desktop file you were using. obviously things don't work out if people post the instructions they were supposed to follow instead of posting the actions they performed.
when trying to obtain help, post your own configurations, findings, output, etc. as we all can get the instructions of the internet.

anyways, i'm happy you found the problem.
# 11  
Old 08-11-2009
you are absolutely right.
I am sorry for my errors. The environment is new to me, which makes me confusing over and over again.
Thank you again.
# 12  
Old 08-11-2009
you're welcome Smilie
well, we all learn (at least, most of us do) from our mistakes. there's plenty to study and learn in Debian.
why did you not use apt-get to install firefox? that's the Debian-way and much easier for newbies and it would've taken care of the main menu shortcut missing issue. about that, what desktop environment are you using?
# 13  
Old 08-11-2009
Was not aware about this option. I am learning it from you just now.
BTW, have any idea about how to complete the FF instillation by adding it to the Gnome desktop menu?

Thanks you.
# 14  
Old 08-11-2009
to add firefox to your menu:
- right click your applications menu and hit “Edit Menus”
- select the "Internet" section
- check the Firefox entry, otherwise click "New Item" and use "application" for "Type", "Firefox" for "Name", "firefox" for "Command" and "Web browser" for "Comment" then click ok.
- close the menu editor and check that the new firefox shortcut is under the "Internet" section

Previous Thread | Next Thread
Test Your Knowledge in Computers #257
Difficulty: Easy
Musical melodies were first generated by the computer originally named the CSIR Mark 1 (later renamed CSIRAC) in Australia in 1950.
True or False?

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 Ive 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

Featured Tech Videos