![]() |
Re: what is the x terminal command that opens an application?
There isn't one single answer, for each program you need to find what the executable file is called and where it is located (this second part is not always necessary, some executables are placed in specific folders that the system is set to look into from anywhere so you don't need to specify the folder)
|
Re: what is the x terminal command that opens an application?
Quote:
And with find, you may want to add wildcards, like: Code:
find / -name '*leafpad*' Quote:
Code:
nohup ./some-text-editor myfile.txt & |
Re: what is the x terminal command that opens an application?
Quote:
thanks Tiago |
Re: what is the x terminal command that opens an application?
Check the contents of the shortcut files, they got .desktop extensions, i forgot where they are located, but should be easy to find on the forum or the wiki.
|
Re: what is the x terminal command that opens an application?
Programs reside under various areas and usually is controlled by the package manager which is probably equivalent to windows' add/remove programs.
The default package manager for maemo 5 (fremantle) is dpkg and its command line based only. Unfortunately there's no easy way to go about finding out the correct name of the executable (and without using find which just thrashes I/O) what you could do is something like: Code:
dpkg -l foo Code:
dpkg -l| grep foo Code:
dpkg -L foobar Code:
for i in `dpkg -L foobar`; do file $i; done |
Re: what is the x terminal command that opens an application?
the .desktop files are in
/usr/share/applications/hildon/ Code:
ls /usr/share/applications/hildon/ Code:
ls /usr/share/applications/hildon | grep paper Code:
cat /usr/share/applications/hildon/papertoss.desktop and there is the command you use. Note that if the command points to something in /usr/bin you can just start that app with the last word in the command. For example the calendar.desktop file points to /usr/bin/Calendar so just typing Calendar from your home dir would start the calendar app. When I want to launch an app from command line I usually try with just typing the beginning of the app name first and pressing tab to see if that command exists. Before going trough the trouble of looking at .desktop files. |
Re: what is the x terminal command that opens an application?
Quote:
http://talk.maemo.org/showpost.php?p=857534&postcount=2 you can narrow the list by [ first letter of app ] then double tab |
Re: what is the x terminal command that opens an application?
...and don't forget 'apropos' and 'locate' as well (which are not installed by default).
|
Re: what is the x terminal command that opens an application?
@tuxsavvy
thanksss a lot ...these comands helped me a lot...I didn't know them before.. thanks tuxsavvy!! |
Re: what is the x terminal command that opens an application?
@mece
Superb information.... these commands worked with me and helped me open several applications from the x terminal ....yet sometimes it gives me :not found....but that's not a big deal... mece when I have and application that is written with 2 or more words.. for example "pocket calc" ---(notice that there is a space between the 2 words).... then in this case would the command be ls /usr/share/applications/hildon | grep pocket calc or ls /usr/share/applications/hildon | grep pocketcalc i.e written in one word what command would I enter in this case the 1st or the 2nd? |
All times are GMT. The time now is 10:34. |
vBulletin® Version 3.8.8