Active Topics

 



Notices


Reply
Thread Tools
Posts: 296 | Thanked: 47 times | Joined on Oct 2009
#1
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?
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#2
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"
write this behind "Exec=" in the desktop-file.

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. (:
 

The Following 2 Users Say Thank You to b666m For This Useful Post:
Posts: 296 | Thanked: 47 times | Joined on Oct 2009
#3
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
 
Posts: 29 | Thanked: 5 times | Joined on Nov 2009 @ Lausanne, CH
#4
Originally Posted by b666m View Post
the desktop-files are stored in /usr/share/applications/hildon/
.. where you can find the ovi store desktop file, ovi.desktop. Just rename it and change the content according to your needs:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=<app name (appears in application menu)>
Comment=<some comment>
Exec=dbus-send --print-reply --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.open_new_window string:<the link>
Icon=<icon name w/o the suffix>
Terminal=false
Type=Application
Categories=System;TerminalEmulator;
X-HildonDesk-ShowInToolbar=true
#X-Osso-Service=xterm
X-Osso-Type=application/x-executable
Originally Posted by b666m View Post
if you want your own icon place it in /usr/share/icons/hicolor/48x48/hildon/ - it has to be .png and 48*48 px.
Hmmm, I use 64x64 icons...

Here is a screenshot of one of my desktops, those shortcuts are all bookmarks:
Attached Images
 
 

The Following 2 Users Say Thank You to demirole For This Useful Post:
Posts: 296 | Thanked: 47 times | Joined on Oct 2009
#5
well, I got it to work
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)
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:16.