Gammastep. I updated so X is gone

Error: Could not control gamma, exiting.
Error: Failed to start adjustment method: wayland

but trhe process is still running, I tried to close konsoe & it told me that.

Have you installed plasma-x11-session after running the Stable update?

1 Like

Have you installed plasma-x11-session after running the Stable update?

No, why do I need that in Wayland?

gammastep requires libx11, maybe.

Hmmm, maybe, odd it would need any x11 stuff. Nope, same error, with that installed.

Nope, installed plasma-x11-session, atill same errpr/

Hi @Edward78,

Please post the output of the following:

cat ~/.config/gammastep/config.ini
1 Like

cat: /home/nick/.config/gammastep/config.ini: No such file or directory

 $ pamac info gammastep
...
Depends On            : glibc hicolor-icon-theme libdrm libx11 libxcb libxxf86vm wayland glib2 libgio-2.0.so=0-64 libgobject-2.0.so=0-64 libglib-2.0.so=0-64
...

Updates or installations never touch user’s local folder - so either the file was not there to begin with or you have deleted it.

1 Like

That was my exact thoughts. According to:

…that file is necessary. Luckily it also tells us where to get it, but I’ll just give you the command to download and save it. Run the following:

mkdir ~/.config/gammastep && curl --header 'Host: gitlab.com' --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --cookie 'super_sidebar_collapsed=false; event_filter=all; _gitlab_session=7ded35f70d7c06d513dbc45c021af494; _cfuvid=qzxxrXNJMyjR7vNzcERnx2JbKi4epmKhB6lbDfZKOFo-1765461555827-0.0.1.1-604800000; __cf_bm=V6ruoLSCC5Zos89vF8XqlQWr83PIxNzq3vpTxBSAA.Q-1765461555-1.0.1.1-VX9BFWgXbxrT_0LsosMdq2fsoB7BPw.sW0G7iGMu6VQeRljWi79vBJbtHMUnCEq0DOzsByLysZcFoYo41p_d9BgJ46gsxeJYzWMwwr.TszY' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-Fetch-Dest: document' --header 'Sec-Fetch-Mode: navigate' --header 'Sec-Fetch-Site: same-origin' --header 'Sec-Fetch-User: ?1' --header 'DNT: 1' --header 'Sec-GPC: 1' 'https://gitlab.com/chinstrap/gammastep/-/raw/master/gammastep.conf.sample?inline=false' --output '~/.config/gammastep/config.ini'

Then let’s do the replacement mentioned on that website. Once again, only this command should be necessary:

sed 's/^adjustment-method=randr$/adjustement-method=wayland/1' ~/.config/gammastep/config.ini

And then use it as you usually would. I think.

Possibly more: Wayland utilities · CuriousCoding

First command gave me

mkdir \~/.config/gammastep && curl --header ‘Host: gitlab.com’ --user-agent ‘Mozilla/5.0 (X11; Linux
x86_64; rv:146.0) Gecko/20100101 Firefox/146.0’ --header ‘Accept: text/html,application/xhtml+xml,application
/xml;q=0.9,\*/\*;q=0.8’ --header ‘Accept-Language: en-US,en;q=0.5’ --cookie ‘super_sidebar_collapsed=false; even
t_filter=all; \_gitlab_session=7ded35f70d7c06d513dbc45c021af494; \_cfuvid=qzxxrXNJMyjR7vNzcERnx2JbKi4epmKhB6lbDf
ZKOFo-1765461555827-0.0.1.1-604800000; \__cf_bm=V6ruoLSCC5Zos89vF8XqlQWr83PIxNzq3vpTxBSAA.Q-1765461555-1.0.1.1-
VX9BFWgXbxrT_0LsosMdq2fsoB7BPw.sW0G7iGMu6VQeRljWi79vBJbtHMUnCEq0DOzsByLysZcFoYo41p_d9BgJ46gsxeJYzWMwwr.TszY’ -
-header ‘Upgrade-Insecure-Requests: 1’ --header ‘Sec-Fetch-Dest: document’ --header ‘Sec-Fetch-Mode: navigate’
–header ‘Sec-Fetch-Site: same-origin’ --header ‘Sec-Fetch-User: ?1’ --header ‘DNT: 1’ --header ‘Sec-GPC: 1’
‘https://gitlab.com/chinstrap/gammastep/-/raw/master/gammastep.conf.sample?inline=false’ --output ‘\~/.config/g
ammastep/config.ini’

Did omething wrong, still same errpr. From command 2. It us crazy Nvidia has no settings app yet & no Kgamma.

You don’t show the error, but I notice the output file name is inside single quotes, which will prevent (some) shells expanding the ~, so I would try this (assuming the crearion of the directory worked):

curl --header 'Host: gitlab.com' --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --cookie 'super_sidebar_collapsed=false; event_filter=all; _gitlab_session=7ded35f70d7c06d513dbc45c021af494; _cfuvid=qzxxrXNJMyjR7vNzcERnx2JbKi4epmKhB6lbDfZKOFo-1765461555827-0.0.1.1-604800000; __cf_bm=V6ruoLSCC5Zos89vF8XqlQWr83PIxNzq3vpTxBSAA.Q-1765461555-1.0.1.1-VX9BFWgXbxrT_0LsosMdq2fsoB7BPw.sW0G7iGMu6VQeRljWi79vBJbtHMUnCEq0DOzsByLysZcFoYo41p_d9BgJ46gsxeJYzWMwwr.TszY' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-Fetch-Dest: document' --header 'Sec-Fetch-Mode: navigate' --header 'Sec-Fetch-Site: same-origin' --header 'Sec-Fetch-User: ?1' --header 'DNT: 1' --header 'Sec-GPC: 1' 'https://gitlab.com/chinstrap/gammastep/-/raw/master/gammastep.conf.sample?inline=false' --output ~/.config/gammastep/config.ini

If that fails, be sure to include the error message in your post.

Output

                           Dload  Upload   Total   Spent    Left  Speed 

100 2459 100 2459 0 0 9509 0 --:–:-- --:–:-- --:–:-- 9494
   ~   :check_mark:

No files in gammastep dir though. Still same error I started with, man Nvidia get that setting app working in Watland. Odd, GS doesn’t just create the .ini. Thought I would just create a config.ini, but nope. Still get

Error: Could not control gamma, exiting.
Error: Failed to start adjustment method: wayland

Since gammastep will not work, what is the best app to control gamma/brightness/contrast for the whole screen, my monitor doesn’t seem that good. An app like GIMP would be perfect, many times I make images clear with that. So Intel? AMD would be the same issue right?

This might help somewhat:

OK. Just tested the command and there was, indeed, an error. Try this one instead:

mkdir ~/.config/gammastep && curl --header 'Host: gitlab.com' --user-agent 'Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Language: en-US,en;q=0.5' --cookie 'super_sidebar_collapsed=false; event_filter=all; _gitlab_session=7ded35f70d7c06d513dbc45c021af494; _cfuvid=qzxxrXNJMyjR7vNzcERnx2JbKi4epmKhB6lbDfZKOFo-1765461555827-0.0.1.1-604800000; __cf_bm=V6ruoLSCC5Zos89vF8XqlQWr83PIxNzq3vpTxBSAA.Q-1765461555-1.0.1.1-VX9BFWgXbxrT_0LsosMdq2fsoB7BPw.sW0G7iGMu6VQeRljWi79vBJbtHMUnCEq0DOzsByLysZcFoYo41p_d9BgJ46gsxeJYzWMwwr.TszY' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-Fetch-Dest: document' --header 'Sec-Fetch-Mode: navigate' --header 'Sec-Fetch-Site: same-origin' --header 'Sec-Fetch-User: ?1' --header 'DNT: 1' --header 'Sec-GPC: 1' 'https://gitlab.com/chinstrap/gammastep/-/raw/master/gammastep.conf.sample?inline=false' --output ~/.config/gammastep/config.ini

I tested that and it worked. Make sure it’s installed:

pamac install gammastep

After that follow the test of my post:

Then let’s do the replacement mentioned on that website. Once again, only this command should be necessary:

sed 's/^adjustment-method=randr$/adjustement-method=wayland/1' ~/.config/gammastep/config.ini

And then use it as you usually would. I think.

mkdir: cannot create directory ‘/home/nick/.config/gammastep’: File exists

Is what I get, not sure where it is. I never deleted it at intall, it wasn’t there at fist so I just created a file names that, I got that even with it there. So I just deleted it, it was emty amyway. Still no changed. I will just reinstall gammastep, hopefully that fixes it. Why is this so hard?


Moderator edit: Fixed formatting for readability

I have no idea!

I also don’t know if reinstalling it would make any difference at all, since it’s in your $HOME directory.

Ok, the dir got made & the file is in it, I typed gammastep in konsole. This time no error, but the curser is just there, what am I suppose to do? I am sorry for all this pain.

Ok I got the dir/file issue fixed, they both exist now. .config/gammastep/config.ini, not I type in term, just curser & nothing, what should I type??