![]() |
Creating a shortcut with a defined icon that leads to a defined web address
Hello,
I am using DVBViewer + Recording Service to stream radio and TV channels to my N900. In the web UI of Recording Service you can select the channel to stream which you then need to open in KMPlayer to watch. What I'd like is to create a shortcut with the channel logo and when opened it leads to the stream config for that channel. I thought of using web bookmarks, but they take up a lot of space and I can't set my own icon. Basically what I want is the following: An app that has my own defined icon that opens a link. Could anyone guide me in the right direction to create my own ''apps'' which work as bookmarks? |
Re: Creating a shortcut with a defined icon that leads to a defined web address
the desktop-files are stored in /usr/share/applications/hildon/
just take a look at one of those to know the content... or simply copy to anywhere else and edit it :) for launching the browser from cli use: Code:
/usr/bin/browser --url="http://i-am-an-address.com" if you want your own icon place it in /usr/share/icons/hicolor/48x48/hildon/ - it has to be .png and 48*48 px. if it's called "example.png" then you have to edit the icon-line in the desktop-file to "Icon=example". hope that helps. (: |
Re: Creating a shortcut with a defined icon that leads to a defined web address
Great :) Thanks a lot
I just have one more questıon :) Is it possible to hide these icons from the menu? I'd like to only have them on one of my desktops and not clutter the whole menu structure :) |
Re: Creating a shortcut with a defined icon that leads to a defined web address
1 Attachment(s)
Quote:
Code:
[Desktop Entry] Quote:
Here is a screenshot of one of my desktops, those shortcuts are all bookmarks: |
Re: Creating a shortcut with a defined icon that leads to a defined web address
well, I got it to work :D
Now I'm trying to figure out if there's a way to tell KMPlayer to start playing a file in the same way (stream.m3u in MyDocs/Playlists) :) |
All times are GMT. The time now is 15:23. |
vBulletin® Version 3.8.8