This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Open
Conversation
Hi, I first contact Bo to pull and give my vision of your script. He redirected me to you. So I pull my change to GIT and you will do what you want to do with it. The big change in my way is that the script is not Fedora only. It permit to use the actual displays xrandr configuration for xinitrc and to set permanently the display to Nvidia on each start. It also use complete xorg conf for each card and optional config file for custon nvidia install or for other distro. I thought to create an alternate project, maybe a better way to not pollute yours. Tell me your thoughts. My only big issue was I didn't nicely manage the white space for the xrandr screen list. If your have a better way, be welcome (line 81 to 84) Have a nice day.
Author
|
Hi again, |
| printf "xrandr" >> $install_dir/xinitrc.$conf | ||
| else | ||
| printf "xrandr" > $install_dir/xinitrc.$conf | ||
| fi |
Author
There was a problem hiding this comment.
May be not necessary because xinitrc.intel doesn't like to have xrandr source configured when Intel starts.
So :
if [[ $conf == nvidia ]]; then
xrandr_source='NVIDIA-0'
xrandr_sink='modesetting'
fi
is maybe enough.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I first contact Bo to pull and give my vision of your script. He redirected me to you.
So I pull my change to GIT and you will do what you want to do with it.
The big change in my way is that the script is not Fedora only.
It permit to use the actual displays xrandr configuration for xinitrc
and to set permanently the display to Nvidia on each start.
It also use complete xorg conf for each card and optional config file for custon nvidia install
or for other distro.
I thought to create an alternate project, maybe a better way to not pollute yours.
Tell me your thoughts.
My only big issue was I didn't nicely manage the white space for the xrandr screen list.
If your have a better way, be welcome (line 81 to 84)
Have a nice day.