this post was submitted on 21 Jun 2023
17 points (90.5% liked)

Linux

48372 readers
1665 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Basically what happens is my monitors are positioned incorrectly. So the monitor that should be to the right is to the left and vice versa. This makes using my setup quite difficult, since I have to move the mouse to the left to get to the monitor that's physically on my right side. Can someone show me an example configuration for xorg.conf? I am using the proprietary Nvidia driver if that changes anything. I also have an Intel integrated GPU but I don't really need an hybrid graphics setup for now, and want to use my Nvidia GPU.

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago

You could possibly do this with xrandr where source1 and source2 are the names of your two monitors.

xrandr --output source1 --left-of source2

If your desktop environment has a monitor settings option, that might be more reliable.

[–] [email protected] 5 points 1 year ago

if you are on nvidia, just set them up from nvidia-settings, you can move them around and then save the configuration

[–] Jagger2097 2 points 1 year ago (1 children)

Unhelpful reply, can you physically swap the monitors?

[–] filgas08 1 points 1 year ago

The problem is one of the monitor is my laptop, and since they are different sizes and refresh rates, swapping them is not something I could do without losing something.

[–] p5f20w18k 2 points 1 year ago (1 children)

What desktop/window manager are you using?

You can use xrandr, or arandr if you want a gui. Arandr let’s you output a .sh file that you can run in boot (there’s a number of ways to do this)

[–] filgas08 1 points 1 year ago (1 children)

I am using plasma or awesome, it depends on what I want to do. Plasma works fine, like any other DE, but in sddm and awesome there is this problem

Anyway, I'll probably end up doing what you said and just write a startup script, it's easier.

[–] p5f20w18k 2 points 1 year ago

I had similar issues with sddm, never solved it though

In awesome you should be able to put the xrandr script into your config, I’ve not used awesomewm though so don’t quote me on that

[–] [email protected] 1 points 1 year ago

you got also give arandr a try, as it is a GUI to xrandr and you can move your virtual monitors around a bit, until it matches the physical locations/orientations

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Stupid question but can you swap the cables on one end?

[–] filgas08 1 points 1 year ago

i have a laptop so no

[–] [email protected] 1 points 1 year ago (1 children)

X12?

About your problem: You can configure your monitors through the nvidia-utils and then generate a xorg.conf file for these settings.

[–] filgas08 1 points 1 year ago (1 children)

typo. i meant x11. anyway when I get home i'll try using nvidia-utils

[–] [email protected] 2 points 1 year ago

I thought you were using some obscure X11 fork, lol

[–] [email protected] 0 points 1 year ago (1 children)
[–] filgas08 1 points 1 year ago

typo. meant x11

load more comments
view more: next ›