Spyke

Posts

fedora·Fedora Linuxbyriquisimo

Help using KDE Connect + Display Configuration Switcher

cross-posted from: https://lemmy.dbzer0.com/post/49416647

Ok, first off KDE Connect is a killer app. It's so slick and convenient. Love it.

My desktop is running Fedora 42 Workstation with Gnome. Since I've got GNOME instead of KDE, I'm using an extension called GSConnect to communicate with KDE connect on my phone. It's working perfectly.

I've also got this extension called "Display Configuration Switcher" that lets me use a keyboard shortcut ( ctrl + ; ) to switch between two display configs:

  1. Standard desktop layout
  2. TV only.

(Fedora 42 is using Wayland, when I was on X11 I could use ARandR to create custom commands but Wayland is... more complicated.)

I want to add a command to KDE Connect/GSConnect to switch my display configuration from "desktop" output to "TV" output. The problem is I don't know what command to invoke to trigger "Display Configuration Switcher" to swap configurations.

There are multiple ways to approach this. The best solution is just to figure out what command is invoked when I press the keyboard shortcut "ctrl + ;", which is the shortcut to switch display configs. I'm not sure how to see what command is run when I press a button or shortcut.

Alternatively, I could find a way to send the ctrl + ; shortcut from the KDE connect app. Sending keyboard shortcuts would be handy regardless, but this is a workaround.

Any help would be appreciated. Thank you in advance!

EDIT: Solution is in cross-post! https://lemmy.dbzer0.com/post/49416647

View original on lemmy.dbzer0.com
5
linuxquestions·Linux Questionsbyriquisimo

Help using KDE Connect + Display Configuration Switcher

Ok, first off KDE Connect is a killer app. It's so slick and convenient. Love it.

My desktop is running Fedora 42 Workstation with Gnome. Since I've got GNOME instead of KDE, I'm using an extension called GSConnect to communicate with KDE connect on my phone. It's working perfectly.

I've also got this extension called "Display Configuration Switcher" that lets me use a keyboard shortcut ( ctrl + ; ) to switch between two display configs:

  1. Standard desktop layout
  2. TV only.

(Fedora 42 is using Wayland, when I was on X11 I could use ARandR to create custom commands but Wayland is... more complicated.)

I want to add a command to KDE Connect/GSConnect to switch my display configuration from "desktop" output to "TV" output. The problem is I don't know what command to invoke to trigger "Display Configuration Switcher" to swap configurations.

There are multiple ways to approach this. The best solution is just to figure out what command is invoked when I press the keyboard shortcut "ctrl + ;", which is the shortcut to switch display configs. I'm not sure how to see what command is run when I press a button or shortcut.

Alternatively, I could find a way to send the ctrl + ; shortcut from the KDE connect app. Sending keyboard shortcuts would be handy regardless, but this is a workaround.

Any help would be appreciated. Thank you in advance!

EDIT: Ok, a lot of options below worked!

  • wtype and ydotool can be used to send keystrokes via commands. While wtype didn't work for me, ydotool did! It requires setting up a daemon to run in the background on system boot.

  • Simply installing a keyboard on android that supports modifier keys (specifically the ctrl key) works too. I used Unexpected Keyboard. Once installed and enabled you can go into KDE Connect > remote input > keyboard and hit the language icon/globe thing and your keyboard swaps between the preferred keyboard and Unexpected keyboard. On UK press Ctrl and swipe down&right on the “n” key to access semicolon and my display config switches.

  • My preferred solution, however, is using gdctl and pactl to manually set the dispay and audio output. Once I figured out the commands I put them in a bash script and point GSConnect to that. My displayConfig_tv.sh script looks like this:

#!/bin/bash
gdctl set --logical-monitor \
--primary \
--monitor HDMI-2 \
--mode [email protected]
pactl set-default-sink alsa_output.pci-0000_2f_00.1.hdmi-stereo-extra3

My TV by default wanted to be 4K at 60Hz, which makes everything too small and at 60Hz everything was stuttery. I had to add the "--mode [email protected]" to force it to 1080p at 120Hz.

(Also of note is that I was having an issue with one of my desktop monitors having a weird refresh rate. I kept trying to set the monitor to "--mode 2560x1440@144" but got an error that no such mode existed. I ended up setting the refresh rate through GNOME settings and running "gdctl show" to see what the current profile was, which was 2560x1440@144.006. Including the ".006" fixed my issue.)

The final issue I'm having is the pactl command fails because the TV audio-out doesn't exist until the display is enabled. My fix is just to press the command a second time once the TV is active. I may see if adding a "time sleep" or something to the bash script fixes this issue.

Thank you to everyone who helped!

View original on lemmy.dbzer0.com
pcmasterrace·PC Master Racebyriquisimo

I got a glorious 32" IPS monitor and I'm confused and disappointed.

I recently picked out a 32in QHD monitor to pair with two 27in QHDs for a triple-monitor setup. After using the 27in QHDs for a few years I decided the pixel density was a bit too high for comfort so I decided to upgrade my primary to a 32in.

Both of my QHD screens are IPS monitors with 178 degree viewing angles, so I made sure the 32in monitor I picked was an IPS screen with a 178 (or higher) viewing angle. With a little color correction everything should look the same, but wow, this monitor really looks different.

When looking at the monitor straight-on from ~2 feet away the sides of the screen are dark. The best way I can exaggerate this is if I fill the screen with white and move my head side to side. The "bright" part of the screen stays straight in front of me and the rest of the monitor gets darker as it gets further away.

My other two monitors don't do this. I can tilt both of them to an extreme angle before they start to appear dark. I don't understand what is different about this monitor that makes it this way. The darkening is so extreme that, if the screen is filled with solid white, the edges of the screen appear "shimmery" as the angle from my left eye is getting a darker/brighter image than my right eye.

I thought maybe it was the "screen surface finish" but my two 27in monitors are "matte" and "glossy," the new 32in is "glossy." All three are IPS displays. All three boast a 178 degree viewing angle. Reviews for the 32in talk about how it looks great and I don't understand how people can stand this. It feels like an old LCD TV, not a gaming LED monitor.

Does anyone know what attribute I need to look for?

The 32in is the "SAMSUNG 32-Inch Odyssey G50D."

My two 27in's are the "ASUS TUF Gaming VG27AQ1A" and the "Acer Nitro VG271U."

EDIT: I posted in the comments, it's an LCD and Samsung deliberately tried to hide that fact.

View original on lemmy.dbzer0.com
69
pop_os·Pop!_OS (Linux)byriquisimo

Pop!_OS crashes on suspend after updating to Nvidia 560 drivers.

cross-posted from: https://lemmy.dbzer0.com/post/30765479

I updated my graphics drivers from nvidia 470 to nvidia 560 due to issues running certain games. It's fixed my gaming issue but reintroduced the problem that kept me from updating for so long.

After setting my computer to "suspend," it wakes up to this screen on all monitors. I am unable to scroll up or type further commands, my only option is to reboot the machine.

  • My graphics card is: NVIDIA Corporation GP104 [GeForce GTX 1070]
  • Nvidia driver version: 560.35.03
  • My desktop environment is Cinnamon X11. (This does not occur on Wayland, but there is no Cinnamon Wayland.)

I can't make heads or tails of this error screen. The best I can understand is the "Fixing recursive fault but reboot is required!" line. How can I get more information? Does anyone have any ideas on how I can fix this? Thanks in advance.

Edit: It seems important to mention this is happening only on X11 (Pop default and Cinnamon), and not on Pop!_OS on Wayland.

View original on lemmy.dbzer0.com
9
popos·Pop!_OS byriquisimo

Pop!_OS crashes on suspend after updating to Nvidia 560 drivers.

cross-posted from: https://lemmy.dbzer0.com/post/30765479

I updated my graphics drivers from nvidia 470 to nvidia 560 due to issues running certain games. It's fixed my gaming issue but reintroduced the problem that kept me from updating for so long.

After setting my computer to "suspend," it wakes up to this screen on all monitors. I am unable to scroll up or type further commands, my only option is to reboot the machine.

  • My graphics card is: NVIDIA Corporation GP104 [GeForce GTX 1070]
  • Nvidia driver version: 560.35.03

I can't make heads or tails of this error screen. The best I can understand is the "Fixing recursive fault but reboot is required!" line. How can I get more information? Does anyone have any ideas on how I can fix this? Thanks in advance.

View original on lemmy.dbzer0.com
7

Pop!_OS crashes on suspend after updating to Nvidia 560 drivers.

I updated my graphics drivers from nvidia 470 to nvidia 560 due to issues running certain games. It's fixed my gaming issue but reintroduced the problem that kept me from updating for so long.

After setting my computer to "suspend," it wakes up to this screen on all monitors. I am unable to scroll up or type further commands, my only option is to reboot the machine.

  • My graphics card is: NVIDIA Corporation GP104 [GeForce GTX 1070]
  • Nvidia driver version: 560.35.03
  • My desktop environment is Cinnamon X11. (This does not occur on Wayland, but there is no Cinnamon Wayland.)

I can't make heads or tails of this error screen. The best I can understand is the "Fixing recursive fault but reboot is required!" line. How can I get more information? Does anyone have any ideas on how I can fix this? Thanks in advance.

Edit: It seems important to mention this is happening only on X11 (Pop default and Cinnamon), and not on Pop!_OS on Wayland.

View original on lemmy.dbzer0.com
53

After upgrading from Ubuntu Jellyfish to Numbat, my desktop seems broken? Super key doesn't open menu, dark theme/settings doesn't work. How can I fix this?

One of the wallpapers has XFCE on it, but I didn't change my desktop environment. Also of note, when I open the terminal it doesn't look the same as it used to. Instead of the dark purple window it's a black window with white text and the window's icon is a red "X" with a dark blue "T" on it.

This is a headless machine and I connect to it through remote-desktop.

If I go through the applications menu (manually clicking, the super key does nothing and my keyboard does not have a "Fn" key) and go to settings I get the window on the left. Changing the settings in this window does nothing. Right clicking the desktop and clicking "desktop settings" I get the window on the right. This window correctly changes the wallpaper.

When I open the home folder I get Thunar.

My guess is there are two desktop environments competing or something right now? How can I fix this?

Also, weirdly, if I click my name in the upper right I can "lock screen" and "log out..." but I can't "switch user," "suspend," or "shut down."

Thank you in advance for any help.

View original on lemmy.dbzer0.com
89

You reached the end