Keyboard shortcuts / hotkeys for brightness and volume stopped working, also cannot install anything from pamac

So I noticed that neither my brightness keys (f3, f4) nor my volume keys (f9-f11) work. Every other key seems to work, though.

Also if I attempt to install something from pamac, it gives me an “authentication failed” -message without asking for password or anything, didn’t find any help for that on the internet.

Also I can’t auto-complete results in terminal for pacman -S applications. Previously if I typed in “pacman -S spo” and pressed tab, it would have given me the names of different spotify apps and if I recall correctly, even filled them in automatically. Now it doesn’t do anything. This might be a clue for what’s wrong, and I’d like it fixed, too. :smiley:

I installed my Linux as Manjaro XFCE, but I use AwesomeWM, so I don’t know if my Manjaro still counts as an XFCE or not. If it’s any help, this is a laptop with an AMD cpu and gpu, which is probably integrated, and I believe my brightness software is xbacklight because that’s what I can change my brightness with in terminal.

I’ve tried to troubleshoot the brightness by going to /etc/default/grub and I’ve changed the

GRUB_CMDLINE_LINUX_DEFAULT to acpi_backlight=vendor.

I am pretty certain I’ve only added the acpi_backlight setting, others were there by default:

acpi_backlight=vendor apparmor=1 security=apparmor
resume=UUID=0ef469cd-3992-4682-a6bd-8b53e55073af udev.log_priority=3”

Any idea what’s wrong?

:+1: Welcome to Manjaro! :+1:

Please read this:

and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  1. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

  2. What’s the output of:

    ls /sys/class/backlight/


P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU you have, …

  1. The output of inxi --admin --verbosity=7 --filter --no-host --width is:

      Kernel: 5.10.7-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
      parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
      root=UUID=52965578-71dc-4418-abd7-a7a14ba39714 rw quiet 
      acpi_backlight=vendor apparmor=1 security=apparmor 
      resume=UUID=0ef469cd-3992-4682-a6bd-8b53e55073af udev.log_priority=3 
      Desktop: awesome 4.3 info: polybar dm: LightDM 1.30.0 Distro: Manjaro Linux 
      Type: Laptop System: Acer product: Aspire A315-42 v: V1.03 serial: <filter 
      Mobo: PK model: Sleepy_PK v: V1.03 serial: <filter UEFI: Insyde v: 1.03 
      date: 05/30/2019 
      ID-1: BAT1 charge: 26.6 Wh condition: 26.6/37.0 Wh (72%) volts: 8.3/7.7 
      model: PANASONIC 0x41,0x50,0x31,0x36,0x4D,0x35,0x0008 type: Li-ion 
      serial: <filter status: Full 
      RAM: total: 5.8 GiB used: 1.93 GiB (33.2%) 
      RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
      Info: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 
      bits: 64 type: MT MCP arch: Zen/Zen+ note: check family: 17 (23) 
      model-id: 18 (24) stepping: 1 microcode: 8108102 L2 cache: 2 MiB 
      bogomips: 33550 
      Speed: 1223 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 
      1: 1223 2: 1222 3: 1250 4: 1226 5: 1224 6: 1226 7: 1292 8: 1375 
      Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
      bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
      cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
      fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca 
      mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl 
      npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
      perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
      rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme 
      smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce 
      topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt 
      xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
      Vulnerabilities: Type: itlb_multihit status: Not affected 
      Type: l1tf status: Not affected 
      Type: mds status: Not affected 
      Type: meltdown status: Not affected 
      Type: spec_store_bypass 
      mitigation: Speculative Store Bypass disabled via prctl and seccomp 
      Type: spectre_v1 
      mitigation: usercopy/swapgs barriers and __user pointer sanitization 
      Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
      disabled, RSB filling 
      Type: srbds status: Not affected 
      Type: tsx_async_abort status: Not affected 
      Device-1: AMD Picasso vendor: Acer Incorporated ALI driver: amdgpu v: kernel 
      bus ID: 05:00.0 chip ID: 1002:15d8 
      Device-2: Chicony VGA WebCam type: USB driver: uvcvideo bus ID: 1-1:2 
      chip ID: 04f2:b5e0 serial: <filter 
      Display: x11 server: X(dot)Org 1.20.10 compositor: picom v: git-dac85 driver: 
      loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
      display ID: :0 screens: 1 
      Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
      s-diag: 582mm (22.9") 
      Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
      diag: 395mm (15.5") 
      OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.40.0 
      5.10.7-3-MANJARO LLVM 11.0.1) 
      v: 4.6 Mesa 20.3.3 direct render: Yes 
      Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio 
      vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
      bus ID: 05:00.1 chip ID: 1002:15de 
      Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
      vendor: Acer Incorporated ALI driver: N/A 
      alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus ID: 05:00.5 
      chip ID: 1022:15e2 
      Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI 
      driver: snd_hda_intel v: kernel bus ID: 05:00.6 chip ID: 1022:15e3 
      Sound Server: ALSA v: k5.10.7-3-MANJARO 
      Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
      vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 2000 
      bus ID: 03:00.0 chip ID: 10ec:8168 
      IF: enp3s0 state: down mac: <filter 
      Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless 
    Network Adapter 
      vendor: Lite-On driver: ath10k_pci v: kernel port: 2000 bus ID: 04:00.0 
      chip ID: 168c:0042 
      IF: wlp4s0 state: up mac: <filter 
      IP v4: <filter type: dynamic noprefixroute scope: global 
      broadcast: <filter 
      IP v6: <filter type: noprefixroute scope: link 
      Device-3: Lite-On Qualcomm Atheros QCA9377 Bluetooth type: USB driver: btusb 
      bus ID: 1-4:3 chip ID: 04ca:3015 
      WAN IP: <filter 
      Message: No RAID data was found. 
      Local Storage: total: 238.47 GiB used: 29.34 GiB (12.3%) 
      SMART Message: Required tool smartctl not installed. Check --recommends 
      ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM256GDJTNG-8310A 
      size: 238.47 GiB block size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
      lanes: 2 serial: <filter rev: 80002C00 temp: 30.9 C 
      Message: No Optical or Floppy data was found. 
      ID-1: / raw size: 229.37 GiB size: 224.77 GiB (97.99%) 
      used: 29.34 GiB (13.1%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
      label: N/A uuid: 52965578-71dc-4418-abd7-a7a14ba39714 
      ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) 
      used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A 
      uuid: 06CC-073B 
      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
      ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 
      dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A 
      uuid: 0ef469cd-3992-4682-a6bd-8b53e55073af 
      Message: No Unmounted partitions found. 
      Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
      speed: 480 Mb/s chip ID: 1d6b:0002 
      Device-1: 1-1:2 info: Chicony VGA WebCam type: Video driver: uvcvideo 
      interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 04f2:b5e0 serial: <filter 
      Device-2: 1-4:3 info: Lite-On Qualcomm Atheros QCA9377 Bluetooth 
      type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
      chip ID: 04ca:3015 
      Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
      chip ID: 1d6b:0003 
      Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
      speed: 480 Mb/s chip ID: 1d6b:0002 
      Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 speed: 10 Gb/s 
      chip ID: 1d6b:0003 
      System Temperatures: cpu: 55.1 C mobo: N/A gpu: amdgpu temp: 55.0 C 
      Fan Speeds (RPM): N/A 
      Processes: 257 Uptime: 9m wakeups: 1 Init: systemd v: 247 
      target: Compilers: gcc: 10.2.0 Packages: 1505 pacman: 1484 
      lib: 433 flatpak: 11 snap: 10 Shell: Zsh v: 5.8 running in: urxvt 
      inxi: 3.2.02 
  2. Output of ls /sys/class/backlight/ is:

  1. In the future, when providing code/output, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text so that the output looks like this:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    instead of like this:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`

    (as that makes both our lives much easier)

  2. No need to do anything right now as I’m an editor here on this site and have fixed it for you already. However, in the future I might not see your post so review my edits by pushing the orange pencil above the post I just fixed. :wink:

  3. What is the output of:

    cat /sys/class/backlight/amdgpu_bl0/actual_brightness
    cat /sys/class/backlight/amdgpu_bl0/brightness
    cat /sys/class/backlight/amdgpu_bl0/max_brightness


You’re probably confused as pacman would not give you spotify, as it is not provided in Manjaro repos (but there are many spotify related packages in the AUR). However, what you seek is bash-completion package to auto complete commands in bash shell. It adds support for pacman apparently.

1 Like

Sorry, I’m new here.
Here’s the output:

cat /sys/class/backlight/amdgpu_bl0/actual_brightness

cat /sys/class/backlight/amdgpu_bl0/brightness

cat /sys/class/backlight/amdgpu_bl0/max_brightness

It seems I have already installed the bash-completion package.

> pacman -Ss bash-completion
extra/bash-completion 2.11-1 [installed]
    Programmable completion for the bash shell

What does:

echo 50 | sudo tee /sys/class/backlight/amdgpu_bl0/brightness

do? Does that change the brightness?

It decreased the brightness.

OK, then I cannot help you any further as you seem to have a keyboard definition problem and I’m not running XFCE. (KDE here)

While waiting for an XFCE expert to tell you how to change the keyboard hardware layout on XFCE, you can use the above command to change the brightness:

  • 255: maximum
  • 0: off (don’t try this one or you’ll have a black screen and need to type blind!)

Somewhere in the middle should be good, depending on your environmental conditions.


Note: In KDE, changing the keyboard hardware is done by going to System SettingskeyboardKeyboard Model

Find something similar in XFCE and take the correct keyboard layout and stuff should start working again! :crossed_fingers: (reboot might be required…)

So it should work in a bash shell.

I’m using zsh. Is it different than bash shell?

Yes it is a different one. You need same kind of package but for zsh.

I have now installed the package zsh-completions but I still can’t find aur packages nor official packages by pressing tab. Instead it just lists the directories or files in my computer.

Here’s a screenshot:

(I can’t link nor can I add media items to my text, this is really counter-productive)

The wanted behaviour would be that pressing tab after typing “pacman -S s” it would list installable packages that start with the letter s.

Please read this:

Forgot to say: pacman is an Arch utility, thus created for experts, by experts.
Instead, use the standard Manjaro tool

pamac search

to find packages and have a look at pamac --help for other commands.

If you search for a package name, use pacman -Ss then some letters within the package name
pacman -S s
just one letter is a little too short for effective autocompletion, but I have no idea how the completion is implemented

1 Like

But I used to be able to search for packages by just typing in “pacman -S (start of the package name I’m looking for, like ‘chro’, if I’m searching for chromium)”: “pacman -S chro”, and it would list out all the packages starting with chro just like it lists out files normally.

It was so much simpler and easier to follow like that instead of typing in “pacman -Ss chro”, because it lists out a huge, non-responsive list from which I can’t find anything I’m looking for: (ss: imgur . com/iCEtSL9.png), compared to the previous functionality (imgur . com/0yzO4ks.png), example shows directories/files because obviously it doesn’t work anymore :smiley:

How did it work before? I tried messing around with some theming and such and might have touched the zsh configs but I don’t know what I’ve changed so that the autocompletion doesn’t work for the packages anymore.

So install the same kind of package, for ZSH. In the AUR the official repos. Search for it.

If that worked and now it doesn’t it could be because of your shell.
Perhaps you used to use Bash
and now you are using zsh.
If that’s the case and the reason …
Shell can be changed easily:
chsh -u

I previously used zsh as well.