The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
2

How to change the systems volume?

asked 2012-06-14 10:36:14 +0000

NobbZ gravatar image

Hi there!

I am on a laptop that allows adjusting its volume only with softkeys. When using gnome or unity I can use these softkeys out of the box, is there any way to enable the keys in i3? Or at least have a "tray icon" where I can change the volume like you can with windows?

edit retag flag offensive close merge delete

11 answers

Sort by ยป oldest newest most voted
0

answered 2012-06-14 14:05:11 +0000

joepd gravatar image

updated 2012-07-02 21:12:09 +0000

As for tray icon: That depends on what sound backend you use. For alsa, volwheel seems popular with people who dig light applications. For pulseaudio, I am using pavucontrol from a keyboard shortcut. No tray icon, but also one mouseclick less.

To assign a command to a soft key press, you need to find out what command to send. You can assign the key to this command in your i3/config. One way to find out what keycode to use, is launch xev in a terminal and see what the X-server returns when you press the key.

There is a nice overview of how to work with xev on the archwiki.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2012-06-14 10:36:14 +0000

Seen: 55,357 times

Last updated: Oct 19 '14