LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-03-2004, 02:30 PM   #1
vswr31
Member
 
Registered: Apr 2004
Location: phoenix,az
Distribution: red hat/suse
Posts: 54

Rep: Reputation: 15
Firefox and applications in general


How do I ensure a program shows up on the application bar when I install it.
I just rebuilt my machine and I am having a devil of a time getting firefox to run from the GUI by just clicking an icon on the GUI
Also what is the linux equivalent of the windows *.exe file?

Last edited by vswr31; 10-03-2004 at 02:39 PM.
 
Old 10-03-2004, 02:41 PM   #2
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
For the application bar, you can create a shortcut and place it there, just like you would on Windows. On SuSE 9.1, you can drag and drop, don't know about the rest of them. As for teh linux equavelent of an exe file, there really is no such thing. *.sh files open in the console, and files with no extension will just...open...or not. It realy depnds on the file. A quick way to check if it's an executable is always the file's properties.
 
Old 10-03-2004, 02:44 PM   #3
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
I'm not entirely sure about the application bar (do you mean the panel, or when you go into the menu from the panel?). I generally use <alt-f2> then type in the command of the program.

For the *.exe question I should be able to shed some light. Many types of programs are executable, bash scripts, C/C++ binaries, perl scripts, etc. While there are some standards (bash scripts may end in .sh), there is no general rule that says a file has to be named with a certain extention. Files do contain properties and permissions, and one of those permissions is "executable." Enter a bash shell and type

# ls -al

This will give you a detailed list of all the files/folders in your default directory. Here is an example using mysql, in my /usr/bin directory.

-rwxr-xr-x 1 root bin 175196 2004-05-19 16:00 mysql*

See the x at the end of the first line? This stands for executable. Without this, a program cannot be executed. You can turn this on of off by using chmod

# chmod -x /usr/bin/mysql

The output would now be:

-rwxr-xr-- 1 root bin 175196 2004-05-19 16:00 mysql*

Now, I want that file executable so I'm putting it back with the +x option of chmod

# chmod +x /usr/bin/mysql

Not sure if that fully answered your question or not, but hope it helps.
 
Old 10-03-2004, 03:43 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
I'm sure the missing Linux equivalent to Windows .exe is perplexing at first
Linux is based on the Unix principle of "No Special Cases"
files are just files -- even devices and sockets and pipes are just files as well
"No Special Cases"
However under the hood Linux uses a format for binary executables
(ELF) Extensible Linking Format that allows the kernel to identify the file as (.exe)
they all start with '\177ELF'.
executable scripts that to the user appear the same as binary executables use a format as well
with #! at the beginning to call an interpreter.
beyond that files are just linear byte streams and it's totally up to applications to make sense of them.

the firefox executable is actually a shell script in firefox-x.x/bin called firefox mine also has a link to it in /usr/bin called
MozillaFirefox
this shell script named firefox sets some environmental junk and calls another shell script called
run-mozilla.sh that's in firefox-x.x/lib/mozilla-1.6 run-mozilla.sh tests for some integrity stuff and sets somemore environmental junk and then calls the (.exe) that is named firefox-bin
this setup is suposed to seem more simple than other more confusing opperating systems where this stuff is not transparent to the user. The shell script are equivalent to windows "batch" files i guess.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox helper applications... al.basili Linux - Software 1 02-08-2006 05:20 PM
Libgtk and firefox and general questions houston1981 DamnSmallLinux 0 12-01-2004 01:09 AM
directory for applications (and directories in general) mr_a_ali Linux - General 6 08-17-2004 05:04 PM
Who is Knowing about daemon applications and how to develop these applications? ms_890 Linux - Software 0 04-14-2004 02:04 AM
General Applications Micah Linux - Software 2 06-27-2002 08:41 AM


All times are GMT -5. The time now is 07:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration