How to copy custom Xorg.conf settings automatically on each boot

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
My issue is with an external graphics card that I sometimes use. When it is plugged in, LXDE changes the DPI settings and text/other items becomes unreadable.
The solution is copying this line into each of the "Screen" sections in "/etc/X11/xorg.conf""Option "DPI" "96 x 96"
However, the issue is that when I disconnect/reconnect the external graphics card, the settings are reset to their defaults and I have to manually enter these settings again and reboot.
What I would like to do is make sure that my custom xorg.conf file is copied over early-on in the loading of the LXDE environment, this way the settings are permanently saved. (Or otherwise make the changes to xorg.conf permanent.)
nvidia lubuntu xorg lxde xserver
add a comment |Â
up vote
0
down vote
favorite
My issue is with an external graphics card that I sometimes use. When it is plugged in, LXDE changes the DPI settings and text/other items becomes unreadable.
The solution is copying this line into each of the "Screen" sections in "/etc/X11/xorg.conf""Option "DPI" "96 x 96"
However, the issue is that when I disconnect/reconnect the external graphics card, the settings are reset to their defaults and I have to manually enter these settings again and reboot.
What I would like to do is make sure that my custom xorg.conf file is copied over early-on in the loading of the LXDE environment, this way the settings are permanently saved. (Or otherwise make the changes to xorg.conf permanent.)
nvidia lubuntu xorg lxde xserver
Found Solution: I needed to create this directory: /etc/X11/xorg.conf.d Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI: Section "Screen" Identifier "intel" Device "intel" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "DPI" "96 x 96" EndSection
â jdubu420
Mar 19 at 5:38
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My issue is with an external graphics card that I sometimes use. When it is plugged in, LXDE changes the DPI settings and text/other items becomes unreadable.
The solution is copying this line into each of the "Screen" sections in "/etc/X11/xorg.conf""Option "DPI" "96 x 96"
However, the issue is that when I disconnect/reconnect the external graphics card, the settings are reset to their defaults and I have to manually enter these settings again and reboot.
What I would like to do is make sure that my custom xorg.conf file is copied over early-on in the loading of the LXDE environment, this way the settings are permanently saved. (Or otherwise make the changes to xorg.conf permanent.)
nvidia lubuntu xorg lxde xserver
My issue is with an external graphics card that I sometimes use. When it is plugged in, LXDE changes the DPI settings and text/other items becomes unreadable.
The solution is copying this line into each of the "Screen" sections in "/etc/X11/xorg.conf""Option "DPI" "96 x 96"
However, the issue is that when I disconnect/reconnect the external graphics card, the settings are reset to their defaults and I have to manually enter these settings again and reboot.
What I would like to do is make sure that my custom xorg.conf file is copied over early-on in the loading of the LXDE environment, this way the settings are permanently saved. (Or otherwise make the changes to xorg.conf permanent.)
nvidia lubuntu xorg lxde xserver
nvidia lubuntu xorg lxde xserver
asked Mar 18 at 15:20
jdubu420
33
33
Found Solution: I needed to create this directory: /etc/X11/xorg.conf.d Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI: Section "Screen" Identifier "intel" Device "intel" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "DPI" "96 x 96" EndSection
â jdubu420
Mar 19 at 5:38
add a comment |Â
Found Solution: I needed to create this directory: /etc/X11/xorg.conf.d Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI: Section "Screen" Identifier "intel" Device "intel" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "DPI" "96 x 96" EndSection
â jdubu420
Mar 19 at 5:38
Found Solution: I needed to create this directory: /etc/X11/xorg.conf.d Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI: Section "Screen" Identifier "intel" Device "intel" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "DPI" "96 x 96" EndSection
â jdubu420
Mar 19 at 5:38
Found Solution: I needed to create this directory: /etc/X11/xorg.conf.d Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI: Section "Screen" Identifier "intel" Device "intel" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "DPI" "96 x 96" EndSection
â jdubu420
Mar 19 at 5:38
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Found Solution:
I needed to create this directory:
/etc/X11/xorg.conf.d
Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI:
Section "Screen"
Identifier "intel"
Device "intel"
Option "DPI" "96 x 96"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
Option "DPI" "96 x 96"
EndSection
Each time XServer is loaded, it will first generate the default Xorg.conf file, then it will load any changes from xorg.conf.d/*.conf files. Finally the service will start.
I was losing my settings made to xorg.conf because I had to place my modified xorg.conf file in /etc/X11/xorg.conf.d/
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Found Solution:
I needed to create this directory:
/etc/X11/xorg.conf.d
Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI:
Section "Screen"
Identifier "intel"
Device "intel"
Option "DPI" "96 x 96"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
Option "DPI" "96 x 96"
EndSection
Each time XServer is loaded, it will first generate the default Xorg.conf file, then it will load any changes from xorg.conf.d/*.conf files. Finally the service will start.
I was losing my settings made to xorg.conf because I had to place my modified xorg.conf file in /etc/X11/xorg.conf.d/
add a comment |Â
up vote
0
down vote
Found Solution:
I needed to create this directory:
/etc/X11/xorg.conf.d
Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI:
Section "Screen"
Identifier "intel"
Device "intel"
Option "DPI" "96 x 96"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
Option "DPI" "96 x 96"
EndSection
Each time XServer is loaded, it will first generate the default Xorg.conf file, then it will load any changes from xorg.conf.d/*.conf files. Finally the service will start.
I was losing my settings made to xorg.conf because I had to place my modified xorg.conf file in /etc/X11/xorg.conf.d/
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Found Solution:
I needed to create this directory:
/etc/X11/xorg.conf.d
Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI:
Section "Screen"
Identifier "intel"
Device "intel"
Option "DPI" "96 x 96"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
Option "DPI" "96 x 96"
EndSection
Each time XServer is loaded, it will first generate the default Xorg.conf file, then it will load any changes from xorg.conf.d/*.conf files. Finally the service will start.
I was losing my settings made to xorg.conf because I had to place my modified xorg.conf file in /etc/X11/xorg.conf.d/
Found Solution:
I needed to create this directory:
/etc/X11/xorg.conf.d
Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI:
Section "Screen"
Identifier "intel"
Device "intel"
Option "DPI" "96 x 96"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
Option "DPI" "96 x 96"
EndSection
Each time XServer is loaded, it will first generate the default Xorg.conf file, then it will load any changes from xorg.conf.d/*.conf files. Finally the service will start.
I was losing my settings made to xorg.conf because I had to place my modified xorg.conf file in /etc/X11/xorg.conf.d/
answered Mar 19 at 5:42
jdubu420
33
33
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017017%2fhow-to-copy-custom-xorg-conf-settings-automatically-on-each-boot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Found Solution: I needed to create this directory: /etc/X11/xorg.conf.d Then place a file called xorg.conf within containing the sections I am modifying, in my case the the file contained these settings to fix the DPI: Section "Screen" Identifier "intel" Device "intel" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" Option "DPI" "96 x 96" EndSection
â jdubu420
Mar 19 at 5:38