Announcement

Collapse
No announcement yet.

how do i edit the "right click" menu in kde4?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how do i edit the "right click" menu in kde4?

    i have the following problem when using Device Notifier: when i highlight a new Filesystem and right click, i get the follwoing choices (for and uadio CD) Open Audio CD in Dolphin, Extract Audio Data with K3B, and Do Nothing.

    How can I add a "Play CD with Kaffeine" choice?

    This was easy to do in Kde3.x but i see no way to do it in Kde4.

    I have already made sure that the audio files are associated with both kaffeine and Amarok. However, neither choice is available from the right click menu.

    Any ideas?

    #2
    Re: how do i edit the "right click" menu in kde4?

    Maybe something like here > An example how to add device notfier action opendvd with kaffeine, vlc and smplayer.

    Yes, something like that. There is a package: kscd - audio CD player for KDE 4. It will install: /usr/share/kde4/apps/solid/actions/kscd-play-audiocd.desktop

    Copying kscd-play-audiocd.desktop to kaffeine-play-audiocd.desktop and modifying it.

    With the /usr/share/kde4/apps/solid/actions/kaffeine-play-audiocd.desktop
    Code:
    [Desktop Entry]
    X-KDE-Solid-Predicate=[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio' ]
    Type=Service
    Actions=open;
    
    [Desktop Action open]
    Exec=kaffeine AudioCD
    Icon=kaffeine
    Name=Play Audio CD with Kaffeine
    X-Ubuntu-Gettext-Domain=desktop_kdemultimedia
    Now there is an option to play audio CD with the Kaffeine



    ... and as a .deb package > device-notifier-action-play-audiocd-with-kaffeine
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment

    Working...
    X