Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]How to disable eDP with xorg?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nurali
Apprentice
Apprentice


Joined: 17 Nov 2022
Posts: 182
Location: Somewhere,Earth

PostPosted: Mon Apr 08, 2024 8:46 am    Post subject: [SOLVED]How to disable eDP with xorg? Reply with quote

Hello all:
As said on title,I want to disable eDP and use DisplayPort-0
Code:

ali@gentoo ~ $ xrandr
Screen 0: minimum 320 x 200, current 7040 x 2160, maximum 16384 x 16384
DisplayPort-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 597mm x 335mm
   3840x2160     60.00*+  29.56
   2560x1600     74.97    59.99
   2560x1440     60.00
   1920x1440     75.00    60.00
   1856x1392     75.00    60.00
   1792x1344     75.00    60.00
   2048x1152     60.00
   1920x1200     74.93    59.88
   1920x1080     75.00    60.00    60.00    50.00    59.94
   1600x1200     75.00    70.00    65.00    60.00
   1680x1050     74.89    59.95
   1400x1050     74.87    59.98
   1600x900      60.00
   1280x1024     75.02    71.96    60.02
   1440x900      74.98    59.89
   1280x960      60.00
   1280x800      74.93    59.81
   1152x864      75.00
   1280x768      74.89
   1280x720      60.00    50.00    59.94
   1024x768      75.03    70.07    60.00
   800x600       72.19    75.00    60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    60.00    59.94
   720x400       70.08
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
eDP connected 3200x2000+3840+0 (normal left inverted right x axis y axis) 336mm x 210mm
   3200x2000     90.00*+  72.00    60.00    50.00    48.00    60.00
   1920x1200     90.00
   1920x1080     90.00
   1600x1200     90.00
   1680x1050     90.00
   1280x1024     90.00
   1440x900      90.00
   1280x800      90.00
   1280x720      90.00
   1024x768      90.00
   800x600       90.00
   640x480       90.00
DisplayPort-1 disconnected (normal left inverted right x axis y axis)

I only use the screen which connected to DP port,but I found cursor can break the border of this screen(out from the right border of this screen and appears on eDP screen),I don't use laptops internal screen at all,so I want to disable it when the big screen is connected.
I tried man xorg.conf.d and wrote some config file in required dir,but did not work
So,how should I do this?
Plz help


Last edited by nurali on Mon Apr 08, 2024 1:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
nurali
Apprentice
Apprentice


Joined: 17 Nov 2022
Posts: 182
Location: Somewhere,Earth

PostPosted: Mon Apr 08, 2024 1:05 pm    Post subject: Reply with quote

Done!
Unplugged the eDP cable from the laptop motherboard
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3434

PostPosted: Mon Apr 08, 2024 1:30 pm    Post subject: Reply with quote

Physically unplugging it seems excessive, if you have a skill issue with xrandr, you can use one of it GUI alternatives. I'm pretty sure every DE provides one, and it should even be linked to monitor layout configuration function button... And you can always try arandr if you want something generic.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum