Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
2
answers
1836
views
Switch audio output by keyboard in KDE Plasma
I would like to have a way of switching the audio output device (internal speakers/headphones to bluetooth speakers etc) by keyboard actions (which I usually can do without searching, finding and putting my glasses on my nose). Plasma tray elements can be activated with shortcuts, and thus I can con...
I would like to have a way of switching the audio output device (internal speakers/headphones to bluetooth speakers etc) by keyboard actions (which I usually can do without searching, finding and putting my glasses on my nose).
Plasma tray elements can be activated with shortcuts, and thus I can connect, disconnect, switch between bluetooth devices by keyboard, because when the drop-down menu is visible, selection with arrow-keys and Enter to activate does the trick.
But that doesn't work when trying to switch between audio devices themselves. I can bring forth the audio volume tray element with a shortcut:
but further interaction by keyboard is limited to volume level.
There is a widget called [audio device switcher](https://store.kde.org/p/1195707/) which brings the options more to the front, but its shortcut does nothing. Overall, it lacks keyboard interaction.
The closest thing to what I want is to simply disable bluetooth by the first method *IF* that device is the one that is currently playing...



cipricus
(1779 rep)
Nov 21, 2023, 12:41 PM
• Last activity: Jul 16, 2025, 01:36 PM
2
votes
0
answers
60
views
How can I stop KDE widgets from moving when I return from a different activity with different screen resolution?
I recently bought a new laptop (ASUS ROG Strix SCAR ). It has a 2560x1440 pixel screen, which is great for my imaging work, but makes text hard for me to read. So, I set up three activities, one with 2560x1440, one 1689x1050, and one 1280x720. I use the higher resolution for my imaging and graphics,...
I recently bought a new laptop (ASUS ROG Strix SCAR ). It has a 2560x1440 pixel screen, which is great for my imaging work, but makes text hard for me to read. So, I set up three activities, one with 2560x1440, one 1689x1050, and one 1280x720. I use the higher resolution for my imaging and graphics, and then the lower resolution ones for reading blogs, emails, and writing documents. I change resolutions on entering the activity by means of an xrandr script that runs on activation, e.g. xrandr --output eDP --mode 1680x1050
The problem I have is that I have different widgets in each activity. Fig 1 is a screenshot of my high resolution screen (which I call "4k"). Fig 2 is a screenshot of my lower resolution screen (which I call "2K"). When I switch from the 2K screen back to the 4K screen, the widgets rearrange as shown in Fig 3.
Fig1:
Fig2:
Fig3 (upon return):
My workaround is to create a second 4K activity that has *no* widgets (which I call activity "4K play"). When I want to switch back from 2K to 4K, if I quickly go 2K -> 4K play -> 4K. Then widget positions are preserved.
What I believe is happening is that when I go directly from 2K to 4K, the widgets are rearranged as if it were a 2K screen *before* the xrandr script is run changing it to 4K. But I don't know.
Is there a better way to preserve widget positions when changing screen resolution between activities?



William Oliver
(121 rep)
Apr 18, 2024, 04:07 PM
1
votes
0
answers
121
views
Command to open directly "download new plasma widgets"
Widgets are an essential part of Plasma/KDE, and I have always found rather odd and cumbersome the way of accessing the interface to install them, by - right-clicking the panel or the desktop, - selecting "Add widgets", *then*: - "Get new widgets", *then*: - "Download new... ... Can we get a command...
Widgets are an essential part of Plasma/KDE, and I have always found rather odd and cumbersome the way of accessing the interface to install them, by
- right-clicking the panel or the desktop,
- selecting "Add widgets", *then*:
- "Get new widgets", *then*:
- "Download new... ...
Can we get a command (and a launcher for that) that would simply open this window?

cipricus
(1779 rep)
Sep 4, 2023, 12:26 PM
• Last activity: Sep 11, 2023, 08:34 AM
Showing page 1 of 3 total questions