Mailinglist Archive: opensuse-kde (169 mails)
| < Previous | Next > |
Re: [opensuse-kde] Selecting a player
- From: Martin Schlander <martin.schlander@xxxxxxxxx>
- Date: Thu, 11 Jun 2009 09:29:45 +0200
- Message-id: <200906110929.45336.martin.schlander@xxxxxxxxx>
Torsdag den 11. juni 2009 07:07:19 skrev Bob S:
One option would be to just launch VLC -> Media -> open disk...
Or from the commandline for example: vlc dvd:///dev/dvd
Similar methods work for mplayer and xmms.
If you want solid actions to pop up automatically when you enter certain media
you can achieve that too - but I hope you realize that this is not necessary
for playing the media, it's just a little convenience.
1) create for example vlc-dvd.desktop
2) Put this content in the file:
[Desktop Entry]
X-SuSE-translate=true
X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND
OpticalDisc.availableContent == 'Data|VideoDvd' ] OR [ StorageVolume.ignored
== false AND OpticalDisc.availableContent == 'Data|VideoDvd' ]]
Type=Service
Actions=open;
[Desktop Action open]
Name=Play DVD with VLC
Name[da]=Afspil dvd med VLC
Exec=DISPLAY=:0.1 vlc -f dvd:///dev/dvd
Icon=vlc
3) Copy the file to ~/.kde4/share/apps/solid/actions/ (for user specific) or
/usr/share/kde4/apps/solid/actions/ (for system wide)
4) Restart KDE
The easiest way to make more of these custom solid actions imo is to use the
existing ones in /usr/share/kde4/apps/solid/actions/ as "templates". In KDE
4.3 there's a systemsettings module for creating these solid actions.
PS: If you want to complain about the lack of these solid actions "out of the
box". You shouldn't blame KDE or openSUSE - you should blame either the
upstream developers or your package provider (since neither vlc, mplayer nor
xmms are a part of openSUSE).
--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
Hopefully somebody here will now how to do this and tell the dense one how
to do it.
When one inserts a music CD or a movie DVD, Hal ???? brings up a menu on
what to do with it. Of course none of the choices are correct. I've tried
the configure option but still no luck. Want to play a DVD with Mplayer or
VLC, a music CD with XMMS. How do I do this?
One option would be to just launch VLC -> Media -> open disk...
Or from the commandline for example: vlc dvd:///dev/dvd
Similar methods work for mplayer and xmms.
If you want solid actions to pop up automatically when you enter certain media
you can achieve that too - but I hope you realize that this is not necessary
for playing the media, it's just a little convenience.
1) create for example vlc-dvd.desktop
2) Put this content in the file:
[Desktop Entry]
X-SuSE-translate=true
X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND
OpticalDisc.availableContent == 'Data|VideoDvd' ] OR [ StorageVolume.ignored
== false AND OpticalDisc.availableContent == 'Data|VideoDvd' ]]
Type=Service
Actions=open;
[Desktop Action open]
Name=Play DVD with VLC
Name[da]=Afspil dvd med VLC
Exec=DISPLAY=:0.1 vlc -f dvd:///dev/dvd
Icon=vlc
3) Copy the file to ~/.kde4/share/apps/solid/actions/ (for user specific) or
/usr/share/kde4/apps/solid/actions/ (for system wide)
4) Restart KDE
The easiest way to make more of these custom solid actions imo is to use the
existing ones in /usr/share/kde4/apps/solid/actions/ as "templates". In KDE
4.3 there's a systemsettings module for creating these solid actions.
PS: If you want to complain about the lack of these solid actions "out of the
box". You shouldn't blame KDE or openSUSE - you should blame either the
upstream developers or your package provider (since neither vlc, mplayer nor
xmms are a part of openSUSE).
--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
| < Previous | Next > |