• 1 Post
  • 40 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle









  • I’ve had mine for at least 5 years, probably more. You don’t need any software on Linux, it’s picked up as a normal USB audio device: SteelSeries ApS SteelSeries Arctis 7 I’m no audiophile, but audio quality is great. I had the Logitech G930 before and I like this better. The one USB device actually presents 2 audio devices to the computer because it has this neat dial that lets you mix your game sound and chat sounds right on the headset.








  • I did a workaround by editing a script I found and don’t understand using xprop, xwininfo, and xdotool. I probably should have mentioned that I’m using X, most of this stuff doesn’t work on Wayland. Here’s my script so far:

    #!/bin/bash
    
    xprop -spy -root _NET_ACTIVE_WINDOW | grep --line-buffered -o '0[xX][a-zA-Z0-9]\{7\}' |
    while read -r id; do
        class="`xprop -id $id WM_CLASS 2> /dev/null | grep TeamViewer`"
        if [ -n "$class" ]; then
            if xprop -id "$id" | grep -q 'WM_NAME(STRING) = "TeamViewer Authentication"'; then
                echo "key Tab
                key space
                key shift+Tab
                key shift+Tab
                key Down
                key Tab
                type {my.username}
                key Tab
                key ctrl+u"| xdotool -
                # wait for the window to be closed
                xprop -spy -id $id > /dev/null 2>&1
                fi
        fi
    done
    
    

    It spits out errors after the window closes because I think it’s trying to get windows properties from the now closed window, but it gets the job done!

    Edit: changed the script to be much smaller and not show errors.