Mailinglist Archive: opensuse-kde (169 mails)
| < Previous | Next > |
Re: [opensuse-kde] Selecting a player
- From: Bob S <911@xxxxxxxxxxx>
- Date: Fri, 12 Jun 2009 00:28:11 -0400
- Message-id: <200906120028.11188.911@xxxxxxxxxxx>
On Thursday 11 June 2009 03:29:45 am Martin Schlander wrote:
Yes, I am aware that this can be done, and I personally do this. However my
wife and grand-daughter complain why they have to do this when they used to
be able just select and start the app from the menu that pops up when the
disk is inserted.
didn't supply sufficient information. I am running 11.0 with KDE3.5 You give
the following excellent guidance but is useless in this situation because I
do not have the /solid/actions/ directories. Do you think I could create
them and it would work?
No, I blame nobody. I realize they are not SuSE/KDE apps. Just trying to
solve a problem and promote peace in computer usage in the family.
Thanks again,
Bob S
--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
Torsdag den 11. juni 2009 07:07:19 skrev Bob S:Thank you for replying Martin,
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.
Yes, I am aware that this can be done, and I personally do this. However my
wife and grand-daughter complain why they have to do this when they used to
be able just select and start the app from the menu that pops up when the
disk is inserted.
If you want solid actions to pop up automatically when you enter certainYes, and it is the convenience they want. First I need to apologize in that I
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.
didn't supply sufficient information. I am running 11.0 with KDE3.5 You give
the following excellent guidance but is useless in this situation because I
do not have the /solid/actions/ directories. Do you think I could create
them and it would work?
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).
No, I blame nobody. I realize they are not SuSE/KDE apps. Just trying to
solve a problem and promote peace in computer usage in the family.
Thanks again,
Bob S
--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
| < Previous | Next > |