Skip to content

u/vtrac

In this archive from Sep 2016 to Nov 2026

28
posts
129
comments
0
media
534
score
1 saved before deletion

They are both pretty similar. I was using Kitty but then ran into some weird bug that was resolved by Alacritty. I don't even remember what the bug was, but I haven't gone back.

2 points

I ended up mapping my keyboard's brightness keys to a script I wrote so that it syncs my external and laptop's hardware brightness levels:

#!/bin/bash

# This script syncs the brightness on my laptop screen as well as my
# Dell 2720QM external usb-c monitor

# References:
# https://blog.tcharles.fr/ddc-ci-screen-control-on-linux

# Steps
# 1. Add udev rules to /etc/udev/rules.d/45-ddcutil-i2c.rules:
# KERNEL=="i2c-[0-9]*", GROUP="vtrac", MODE="0660"
# 2. Get I2C bus ID:
# ddcutil detect


function getDellBrightness() {
    local busId=5

    echo $(ddcutil --bus=$busId getvcp 10 | sed -n 's/.*current value =[[:space:]]*\(.*\),.*$/\1/p')
}

function setDellBrightness() {
    local level=$1
    local busId=5

    ddcutil --bus=$busId setvcp 10 $level
}

function decrementBrightness() {
    current=$(getDellBrightness)
    new=$(expr $current - 25)

    setDellBrightness $new

    # set laptop screen
    brightnessctl set 10%-
}

function incrementBrightness() {
    current=$(getDellBrightness)
    new=$(expr $current + 25)

    setDellBrightness $new

    # set laptop screen
    brightnessctl set +10%
}


function main() {
    action=$1

    if [ "${action}" == "up" ]; then
        incrementBrightness
    elif [ "${action}" == "down" ]; then
        decrementBrightness
    fi
}


main $@

It works way better than the xrandr way (which I have been using for months).

1 points

What's the upgrade path from pulseaudio -> pipewire here? Just install the pipewire and pipewire-pulse packages, enable the pipewire systemd units, disable the pulseaudio units, and then reboot?

14 points

I used gentoo for years and had a very customized kernel with only the things I needed specifically for my hardware, with all of the optimized compilation flags set. While it was fun to learn everything, the time I spent on doing this is probably orders of magnitude greater than the time saved by my computer running faster.

Now I just run the stock arch kernel and rarely think about it. :)

48 points

Hangouts/meet, primarily. Sometimes zoom via browser.

Also, pre-corona, meetups and conference speaking was a pain with Wayland since there is no screen mirroring. As a presenter, you can't see on your laptop what is on the screen behind you, since they were different screens.

1 points

Sway is fantastic and handles multiple monitors really well (on x11/i3, I have a custom shell that switches via xrandr when I plug in my monitor). However, wayland/sway doesn't handle screen sharing during video calls, which I use all of the time, so it's a no-go for me.

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.