Skip to content

u/CKRocks

In this archive from Mar 2019 to Oct 2020

10
posts
40
comments
5
media
427
score
2 saved before deletion

Code blocks on reddit don’t follow the conventional three backticks, you have to put four or three (I don’t remember which) spaces before each line.

Also, sorry if this is a dumb question but how did you get your pacman to look like that? I noticed it’s like that on the docket image but I don’t know what the option is.

9 points

Personally I would even remove the add_efi_memmap but that’s just me. Which kernel do you have installed? Could you run ls /boot for me? You didn’t install a kernel! chroot into your system and run pacman -S linux

2 points

I setup the udev rule that the arch wiki shows

~ 
➜ cat /etc/udev/rules.d/backlight.rules 
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/udev/rules.d/backlight.rules
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="acpi_video0", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
   2   │ ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="acpi_video0", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

I can adjust my brightness fine except when X is running, whether it be bspwm or twm or even gnome.

~ 
➜ ls -l /sys/class/backlight/acpi_video0/
total 0
-r--r--r-- 1 root root  4096 Aug  1 20:17 actual_brightness
-rw-r--r-- 1 root root  4096 Aug  1 20:26 bl_power
-rw-rw-r-- 1 root video 4096 Aug  1 20:26 brightness
lrwxrwxrwx 1 root root     0 Aug  1 20:26 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root  4096 Aug  1 20:16 max_brightness
drwxr-xr-x 2 root root     0 Aug  1 20:26 power
-r--r--r-- 1 root root  4096 Aug  1 20:26 scale
lrwxrwxrwx 1 root root     0 Aug  1 20:16 subsystem -> ../../../../../../class/backlight
-r--r--r-- 1 root root  4096 Aug  1 20:16 type
-rw-r--r-- 1 root root  4096 Aug  1 20:16 uevent
1 points

I’m using nvidia rtx 2060, I’ve just been adjusting it by logging into root cause my user auto starts X or by running sudo -s (which doesn’t work cause X has started by then), although I am on an optimus laptop, before X starts the keyboard shortcuts work but as soon as it starts my brightness goes to max and the keys change the file but don’t actually adjust the backlight

1 points

When booting with lts kernel I don't get the problem so it shows no error, but here is the output

systemctl status boot.mount
● boot.mount - /boot
     Loaded: loaded (/etc/fstab; generated)
     Active: active (mounted) since Fri 2020-05-15 10:58:48 EDT; 4h 50min ago
      Where: /boot
       What: /dev/nvme0n1p1
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
      Tasks: 0 (limit: 19050)
     Memory: 60.0K
     CGroup: /system.slice/boot.mount

May 15 10:58:48 ArchY540 systemd[1]: Mounting /boot...
May 15 10:58:48 ArchY540 systemd[1]: Mounted /boot.
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.