this post was submitted on 31 Jul 2023
23 points (100.0% liked)

General Programming Discussion

7711 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

The goal is to have my screen rotate to normal and start Barrier (keyboard and mouse share software) on boot up.

So, i have a laptop laying on top of my desktop monitor that i use kinda like a second monitor. But it boots up with the display sideways and i have to login to be able to use mouse and keyboard from my desktop.

I have tried everything to get a systemd service to handle those problems. But no luck, i think the service isnt running properly on boot. Please help me out.

Let me know if there is a better community to post to or if additional info is needed. Thanks.

you are viewing a single comment's thread
view the rest of the comments
[–] iknt@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Your xrandr script is missing output monitor. Try this

COMMAND=/usr/bin/xrandr --ouput LVDS1 --rotate normal

If LVDS1 is incorrect. You can check the output by running xrandr.

https://wiki.archlinux.org/title/Xrandr#Scripts