LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-27-2021, 01:10 PM   #1
PasBern
Member
 
Registered: Dec 2009
Location: Near Frankfurt, Germany
Distribution: OpenSUSE Leap 15.5, MacOS
Posts: 122

Rep: Reputation: 2
Setting Custom Keyboard ShortcutS for Audio Playback Control in XFCE


Hello all,

I want to set custom keyboard shortcuts for control audio playback like next & previous title (the function keys of my Thinkpad X250 work fine for volume control, but there are no dedicated keys for playback commands) for my XFCE desktop.
By that I mean control audio playback from the desktop (not in terminal) not matter which virtual desktop I am on and the audio program is running in the background. This should work no matter which program I use: Audacious, VLC, Clementine, Rythmbox, Amarok, etc.

In my XFCE settings there is nothing available, although there is the option to configure something, but my Linux knowledge is not sufficient to make some headway here.


So far I haven't found any helpful tutorials on the web (this one for example isn't useful). In Gnome Shell it is possible to assign a custom key combinations for a preset audio command like next / previous title / pause / stop.


I am running on Fedora 33, although the distribution shouldn't matter much.

Many thanks in advance for your tips.

Last edited by PasBern; 03-27-2021 at 02:47 PM.
 
Old 03-27-2021, 01:40 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Settings ‣ Keyboard ‣ Application Shortcuts

See application options of Parole music player for how to control it from the command line.

Last edited by shruggy; 03-27-2021 at 02:34 PM.
 
1 members found this post helpful.
Old 03-27-2021, 02:49 PM   #3
PasBern
Member
 
Registered: Dec 2009
Location: Near Frankfurt, Germany
Distribution: OpenSUSE Leap 15.5, MacOS
Posts: 122

Original Poster
Rep: Reputation: 2
Thanks shruggy for your quick reply.

Thanks, now I have set commands for Audacious audio player, the one I use most often. Looks like there is no program agnostic command. Well, I can live with that

Last edited by PasBern; 03-27-2021 at 03:13 PM.
 
Old 03-27-2021, 04:33 PM   #4
PasBern
Member
 
Registered: Dec 2009
Location: Near Frankfurt, Germany
Distribution: OpenSUSE Leap 15.5, MacOS
Posts: 122

Original Poster
Rep: Reputation: 2
I found solution in using the playerctl package which is also in the Fedora repositories.
 
  


Reply

Tags
audio, xfce



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rosegarden Midi Keyboard Playback (Fedora31/Xfce/Jack Audio/PulseAudio/UR12/Rosegarden)??? scatterbrainz Fedora 3 12-10-2019 09:05 AM
Rosegarden Midi Keyboard Playback (Fedora31/Xfce/Jack Audio/PulseAudio/UR12/Rosegarden)??? scatterbrainz Fedora 1 12-10-2019 03:08 AM
Creating Custom Keyboard Shortcuts in Ubuntu lifeafterdeath Linux - Newbie 4 05-13-2010 12:51 PM
How can I create custom keyboard shortcuts in Gnome? (not the ones they have set!) DreameR-X Linux - General 2 06-12-2005 05:56 AM
Custom Keyboard Shortcuts in Gnome mvanadel Linux - General 5 09-28-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration