![]() |
Create *.desktop entry for a file
Hi All,
Can somebody help me with create luncher icon for a file? I want to get a shortcut on the luncher screen which will open a file from MyDocs. I now that it must be created *.desktop file in /usr/share/applications but what should contain? Code:
[Desktop Entry] |
Re: Create *.desktop entry for a file
I don't know about N9 if it has filebox cuz this is how I do it on N900
PHP Code:
|
Re: Create *.desktop entry for a file
And if I will say that the file is html file it will change something?
|
Re: Create *.desktop entry for a file
that code I mentioned earlier is to open a certain folder/file. but if you wanna open an html link or a picture then it is different. you need to call the browser. you're aiming to open an html file?
===== if that's the case, let's say you wanna make a google link shortcut. you'll have to change the Exec line too look like this: PHP Code:
|
Re: Create *.desktop entry for a file
OK, I have to call Internet Browser but it must open my (local) HTML file located on MyDocs. How to inform the path to a file?
|
Re: Create *.desktop entry for a file
As usual, check the Wiki before asking a question. It has a good run-down on .desktop files and the different applicable entries.
|
Re: Create *.desktop entry for a file
Quote:
|
Re: Create *.desktop entry for a file
Quote:
|
Re: Create *.desktop entry for a file
have you tried typing the url of your file ( file:///home/user/MyDocs/<html file name> ) in the browser and then "add to home" like any website?
|
Re: Create *.desktop entry for a file
Hi
Sorry, I borrow this topic... Can someone tell how to make launcher for multible instances of application... like terminal? I'd like to make different laucher for terminal with top but if i have terminal allready running that does not work... Thank You |
| All times are GMT. The time now is 07:21. |
vBulletin® Version 3.8.8