Skip to content

Which way one could mute/unmute sounds at chromium with keyboard shortcut?

Removed before it was archived.

1 points1 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Score
1 · 100% up
Kind
Text
ID
13kzigp

1 comment

Unfortunately, the Wayland folks did not make an early commitment to a compositor-agnostic input plumbing scheme, so global hot keys and virtual inputs (eg. autotype) are compositor-specific hacks or broken attempts to use an inadequate protocol at the moment, if the compositor you are running happens to support them.

As of about a year ago there is a global-shortcuts portal in xdg-desktop-portal but the API is a little ridiculous, missing critical features (eg. there is no good way to get a window title to target), and requires clients (or at least client toolkits) to be specifically aware of it, so there may be another perturbation before wide adoption of a standard.

AFIK sway doesn't currently have either an portals based solution or an equivalent to Hyprland's "pass" feature that lets you hard-code specific key combinations to be passed to specific programs in the compositor configuration.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.