KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  .- Knowledge Base  . 

View on TV


KDE Service Menu

Score 81%
View on TV

Link:  http://
Downloads:  2492
Submitted:  Jun 30 2004
Updated:  Jul 24 2004


Inspired by this (http://www.iofcea.de/cgi-bin/seite.pl?file=linuxtvout) idea on supporting the TV-Out on Nvidia Cards I made a small Service Menu to view videos on TV.

You are able to select between Xine and Mplayer (they and X have to be in your Path otherwise edit the Service Menu File).

Copy the file 'view_on_tv.desktop' to ~/.kde/share/apps/konqueror/servicemenus/ (only you will be able to use this Service Menu) or to /usr/share/apps/konqueror/servicemenus/ (depends on your KDE Installation and needs root permissions but all users are able to use the Service Menu).

Thanks go to Markus Iofcea for the idea.
Visit http://www.iofcea.de/cgi-bin/seite.pl?file=linuxtvout to see how it works (only german).

Update: Angel Luis Jimenez Martinez mailed me that it would be a good idea to kill the X-Server after finishing watching on TV. It's quite simple and a similar solution was on the website shown above. The only reason I didn't implement it into the service menu was that it didn't work for me. But maybe someone else has more luck with it.

Just open the service menu file with an editor and change the following two lines:

Exec=/bin/sh -c "X -screen TV :1 -ac & sleep 2; DISPLAY=:1 xine -f -g %U; ps ax|grep 'X -screen TV'|cut -f 1 -d' '|xargs kill"

Exec=/bin/sh -c "X -screen TV :1 -ac & sleep 2; DISPLAY=:1 mplayer -fs -vo xv -zoom -really-quiet %U; ps ax|grep 'X -screen TV'|cut -f 1 -d' '|xargs kill"

As a goodie I made an desktop icon for the DVD-drive to view DVDs and (S)VCDs directly on TV. It's in the [download]. The only problem with it is that some paths are hardcoded in it. So you have to edit it and use your correct paths to get it to work.

Have fun with it.

Maybe someone can help me out with a way to create an icon with the correct paths of the system or a service menu specially for this kind of ServiceType?

Send to a friend
Other  Artwork  from Cellardoor
Report inappropriate content

goto page: prev   1  2  3 



 by damjan on: Jul 29 2004
Score 50%

Instead of starting the X server, sleep-ing, starting the app etc...
you can use the startx script.

startx /usr/bin/xine arg1 arg2 -- --layout TV :1 Xarg3 Xarg4 ...

Reply to this



 by allanon on: Sep 5 2004
Score 50%

On my system (Arch Linux), the server is not killed with the above command. For some reason the ps list has a space as the first character, making cut find just a blank. Going for the second space fixes it though:
Exec=/bin/sh -c "X -screen TV :1 -ac & sleep 2; DISPLAY=:1 xine -f -g %U; ps ax|grep 'X -screen TV'|grep -v grep|cut -f 2 -d' '|xargs kill"

The "grep -v grep" is to stop it from finding itself :)

Reply to this


 only as Root???

 by quickmick on: Mar 13 2005
Score 50%

Hello, great work, but on my Maschine it only works as Root :-(
So, how can i make it work for a normal User? (the start of the second X-Server fails)

MAC is for working, LINUX is for networking and WINDOWS is for solitaire ;-)
Reply to this


 Re: only as Root???

 by CyrusQ on: Jun 6 2006
Score 50%

[Desktop Entry]

[Desktop Action ViewOnTV]
Name=View on TV
Name[de]=Auf Fernseher anschauen
Exec=kanotix-su "X -screen TV :1 -ac & sleep 2; DISPLAY=:1 mplayer -fs -vo xv -zoom -really-quiet '%U'; ps ax|grep 'X -screen TV'|cut -f 1 -d' '|xargs kill"

Reply to this


 Re: Re: only as Root???

 by CyrusQ on: Jun 6 2006
Score 50%

sry, this post was intended as a reply for the user elektrohirn (post below)

Reply to this



 by elektrohirn on: May 18 2005
Score 50%

Hello, nice script, but I'd like to modify it such that I have only one entry that plays it with MPlayer. I just commented the second entry out, but now I have "Actions - View on TV - MPlayer". How could I modify the script so that I have only ONE entry "Actions - View on TV" that I have to click? (without this submenu containing MPlayer and Xine)


Reply to this


 Re: Nice!

 by cparker on: Nov 12 2006
Score 50%

I'd appreciate being able to do this, as well.

Christopher C. Parker
FSF Associate Member #795

Reply to this


 ATI TV-out

 by miralong on: Jul 12 2005
Score 50%
Efarm, s.r.o.

is there some idea how this made on ATI video card?

Reply to this


 Re: ATI TV-out

 by kennyX on: Sep 4 2005
Score 50%

I have been trying is on a Ati card with some succes, it's should possible but you have to tweak it a bit from the nvidea version. the basics should be the same

good luck

Reply to this



 by Meamu on: Jul 12 2006
Score 50%

i have done it with an old ati card (radeon 7500) but i have a problem with the service menu... the command from the website is working if i start it in a bash but if i try to use the service menu only the X-server starts... the problem is that i cant use it with mplayer or xine because they don't work with my grafic drivers.. so i have to take vlc ... but as i said it isn't realy working... could someone post a version with a working vlc ?

Reply to this

goto page: prev   1  2  3 

Add commentBack


How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.


 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2001-2016 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.