Saturday, April 27, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2301  / 2 Years ago, fri, september 23, 2022, 5:36:34

I enabled vlc dbus interface:



Is there a way to control VLC from the Sound Menu?



VLC now appears in the sound menu and the controls work.



However, the keyboard shortcuts configured for the media player (System Settings -> Keyboard -> Shortcuts -> Sound and Media) for Play, "Next Track" and "previous track" aren't working. They work fine with banshee.


More From » shortcut-keys

 Answers
6

Your command in comments seems fine. Best way to set, if using compiz, is in ccsm > Commands. (you also need to have the dbus plugin enabled.



Then for command enter as commented dbus-send --type=method_call --print-reply --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause



Enable it to the media key in the key bindings as seen in screen, here it's run command 2, when going to the set 'key combo', I just used the media play/pause on keyboard, ie. no combo



enter image description here


[#38535] Friday, September 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
utschang

Total Points: 357
Total Questions: 120
Total Answers: 119

Location: Croatia
Member since Sat, May 2, 2020
4 Years ago
;