Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] amixer output problem
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: [SOLVED] amixer output problem
If you plan to use the command in conky then it's best to use as few commands and pipes as possible so as to save on memory usage and processor cycles — conky can use up a significant proportion of your CPU capability if you make it run enough commands every clock tick.
deadbang
Re: [SOLVED] amixer output problem
Here is my config
Code: Select all
out_to_x no
out_to_console yes
update_interval 1
TEXT
${mem} / ${memmax} \
${downspeedf enp2s0} / ${upspeedf enp2s0}KiB \
${apcupsd_charge} \
${fs_used} / ${fs_size} \
${exec dpkg --list | wc --lines} \
${time} \
${exec amixer get Master | awk -F'[' '/Left:/{gsub("]","");print $2}'}
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: [SOLVED] amixer output problem
The output of `dpkg --list` includes some lines not related to installed packages, this will give the correct figure:pawRoot wrote:Code: Select all
${exec dpkg --list | wc --lines}
Code: Select all
${exec dpkg --list | grep -c ^i}
deadbang