greets!
I was trying to get a second monitor (a tv) to work using xrandr. I noticed that the screen on the laptop would suffer severe, almost 'psychedelic', effects if I hit a certain setting.
unfortunately I don't recall the setting but the ill effect was consistent and rendered the disply nearly unreadable. and the only solution was to end the session.
then by accident I hit the 'save this configuration' key and now the setting is permanent.
btw I created a second user and it doesn't suffer from the problem.
I cannot find a way to restore the proper display setting.
I have been told there is no way to save configuration built into xrandr so (I guessed) the configuration must be stored by the TDERandRtray application. but I don't see anything in '/root/.trinity/share/config/tderandrtrayrc' and besides, if there were, it should affect the second user too.
it's an Asus Zenbook with Intel HD graphics.
I am considering shifting to the second user and grappling with the UID and GID changes though I ultimately want to resurrect the original username.
thank you for any help.
f.
Hi Felmon,
On 08/01/2020 16:38, Felmon Davis wrote:
I have been told there is no way to save configuration built into xrandr so (I guessed) the configuration must be stored by the TDERandRtray application. but I don't see anything in '/root/.trinity/share/config/tderandrtrayrc' and besides, if there were, it should affect the second user too.
only for clarification. Is root a typo or was your first user really root? If not you should search in the
/home/$USER/.trinity/share/config/tderandrtrayrc
folder.
BTW: Settings in /root/.trinity/... are only valid for root. The global settings should be somewhere else (e.g. /opt/trinity/etc)
Gerhard
On Wed, 8 Jan 2020, Gerhard Zintel wrote:
Hi Felmon,
On 08/01/2020 16:38, Felmon Davis wrote:
I have been told there is no way to save configuration built into xrandr so (I guessed) the configuration must be stored by the TDERandRtray application. but I don't see anything in '/root/.trinity/share/config/tderandrtrayrc' and besides, if there were, it should affect the second user too.
only for clarification. Is root a typo or was your first user really root? If not you should search in the
I see I was partly blind. yes, there is a config file for root but also one in the user's directory (each user's directory to be precise).
it contains nothing interesting, just an Autostart instruction, Michael, just as you say.
sorry for the false start.
/home/$USER/.trinity/share/config/tderandrtrayrc
folder.
BTW: Settings in /root/.trinity/... are only valid for root. The global settings should be somewhere else (e.g. /opt/trinity/etc)
I didn't find anything here. I dug as far as /opt/trinity/etc/xdg/menus/
but grep came up empty.
Charles, asking which program I'm using: not 'arandr' but a variant, "tderandrtray" which comes with the Trinity KDE desktop (old KDE, a further development of KDE3). 'locate' reveals nothing interesting.
my guess is something in the display configuration has been altered. 'monitor.xml' looks sane (to me); not sure where else to look.
I would be happy just to re-install this or that to fix it but I don't have time to do a reinstall of the whole chimichanga, not right now.
I am getting comfortable with the second user; I'm sudoing around but may try to migrate and rename.
f.
On Wednesday 08 January 2020 08:41:42 Felmon Davis wrote:
On Wed, 8 Jan 2020, Gerhard Zintel wrote:
Hi Felmon,
On 08/01/2020 16:38, Felmon Davis wrote:
I have been told there is no way to save configuration built into xrandr so (I guessed) the configuration must be stored by the TDERandRtray application. but I don't see anything in '/root/.trinity/share/config/tderandrtrayrc' and besides, if there were, it should affect the second user too.
only for clarification. Is root a typo or was your first user really root? If not you should search in the
I see I was partly blind. yes, there is a config file for root but also one in the user's directory (each user's directory to be precise).
it contains nothing interesting, just an Autostart instruction, Michael, just as you say.
sorry for the false start.
/home/$USER/.trinity/share/config/tderandrtrayrc
folder.
BTW: Settings in /root/.trinity/... are only valid for root. The global settings should be somewhere else (e.g. /opt/trinity/etc)
I didn't find anything here. I dug as far as /opt/trinity/etc/xdg/menus/
but grep came up empty.
Charles, asking which program I'm using: not 'arandr' but a variant, "tderandrtray" which comes with the Trinity KDE desktop (old KDE, a further development of KDE3). 'locate' reveals nothing interesting.
my guess is something in the display configuration has been altered. 'monitor.xml' looks sane (to me); not sure where else to look.
I would be happy just to re-install this or that to fix it but I don't have time to do a reinstall of the whole chimichanga, not right now.
I am getting comfortable with the second user; I'm sudoing around but may try to migrate and rename.
f.
I don't use this thingie, so I thought better to let others have a turn.
It occurs to me that 1) you can create a second user; thus, 2) you ought to have created a new config file, somewhere, with new settings - probably one of those -rc files.
Maybe it's hiding in another location? in /opt, or your home folder, where Trinity also keeps config files? Maybe it's in the second user's home folder?
If so, then you ought to be able to make a backup copy of the *working* config file. Copy it elsewhere (to another folder or wherever, for purposes of self-hacking). It goes without saying, that one ought to make backups of everything now and then; but especially any such files, which are to be used for these experiments in self-abuse.
Then, maybe you can adapt the settings that actually work, just by changing the relevant details. Use it to overwrite the problematic configuration file (... assuming, of course, that there is such a config file).
Bill
On Wed, 8 Jan 2020, William Morder via trinity-users wrote:
I don't use this thingie, so I thought better to let others have a turn.
It occurs to me that 1) you can create a second user; thus, 2) you ought to have created a new config file, somewhere, with new settings - probably one of those -rc files.
yeah, I created a new user, which works fine (and solved some font size problems I still had).
Maybe it's hiding in another location? in /opt, or your home folder, where Trinity also keeps config files? Maybe it's in the second user's home folder?
got advice to grep around for 'color' and such in config files and a member of another list proposed an interesting experiment:
- check you have a bash prompt available somewhere, eg a VC.
- make some change with xrandr (any change).
- save the configuration.
- run the line: find ~ -type f -mmin -3
I'll try this tomorrow.
If so, then you ought to be able to make a backup copy of the *working* config file. Copy it elsewhere (to another folder or wherever, for purposes of self-hacking). It goes without saying, that one ought to make backups of everything now and then; but especially any such files, which are to be used for these experiments in self-abuse.
Then, maybe you can adapt the settings that actually work, just by changing the relevant details. Use it to overwrite the problematic configuration file (... assuming, of course, that there is such a config file).
yeah, if I get hold of the responsible config file I'll likely see the way through.
f.
On Wednesday 08 January 2020 09:38:32 am Felmon Davis wrote:
I was trying to get a second monitor (a tv) to work using xrandr. I noticed that the screen on the laptop would suffer severe, almost 'psychedelic', effects if I hit a certain setting.
unfortunately I don't recall the setting but the ill effect was consistent and rendered the disply nearly unreadable. and the only solution was to end the session.
then by accident I hit the 'save this configuration' key and now the setting is permanent.
btw I created a second user and it doesn't suffer from the problem.
I cannot find a way to restore the proper display setting.
I have been told there is no way to save configuration built into xrandr so (I guessed) the configuration must be stored by the TDERandRtray application.
but I don't see anything in '/root/.trinity/share/config/tderandrtrayrc' and besides, if there were, it should affect the second user too.
Wrong username? You probably should be looking in the user you are in the GUI of not root's. Compare the broken user to the second user.
Here's mine, not sure if it helps?:
michael@local [~]# cat .trinity/share/config/tderandrtrayrc [General] Autostart=false
Best, Michael
On Wed, 8 Jan 2020 16:38:32 +0100 (CET) Felmon Davis moelmoel2714@gmail.com wrote:
greets!
I was trying to get a second monitor (a tv) to work using xrandr. I noticed that the screen on the laptop would suffer severe, almost 'psychedelic', effects if I hit a certain setting.
unfortunately I don't recall the setting but the ill effect was consistent and rendered the disply nearly unreadable. and the only solution was to end the session.
then by accident I hit the 'save this configuration' key and now the setting is permanent.
btw I created a second user and it doesn't suffer from the problem.
I cannot find a way to restore the proper display setting.
My guess is that you did something awkward to the color profile or gamma correction. No idea where that information is stored, though--I'd probably resort to grepping through likely directories looking for "[Cc]olor". If it affects only a specific user, then the setting is probably in your home directory, since most distros don't like mingling user settings with general system settings.
E. Liddell
On Wed, 8 Jan 2020, E. Liddell wrote:
On Wed, 8 Jan 2020 16:38:32 +0100 (CET) Felmon Davis moelmoel2714@gmail.com wrote:
greets!
I was trying to get a second monitor (a tv) to work using xrandr. I noticed that the screen on the laptop would suffer severe, almost 'psychedelic', effects if I hit a certain setting.
unfortunately I don't recall the setting but the ill effect was consistent and rendered the disply nearly unreadable. and the only solution was to end the session.
then by accident I hit the 'save this configuration' key and now the setting is permanent.
btw I created a second user and it doesn't suffer from the problem.
I cannot find a way to restore the proper display setting.
My guess is that you did something awkward to the color profile or gamma correction. No idea where that information is stored, though--I'd probably resort to grepping through likely directories looking for "[Cc]olor". If it affects only a specific user, then the setting is probably in your home directory, since most distros don't like mingling user settings with general system settings.
E. Liddell
As David Wright and Dan Ritter have said, I was on a false track with seeking configuration files for xrandr. (I assume - haven't checked - tderandrtray is some kind of front-end for xrandr though.)
As it turns out, I'd tried yesterday to make sense of things via xgamma and the gamma utility in tderandrtray (aka xrandr?), to no avail, that is, I can improve aspects of the display but not restore it.
I'm on the hunt now for where color profiles are stored, the hunt will be undertaken tomorrow unless I decide to just stick with the new user setup. (incidentally it has fixed some font size issues I had.)
f.
On Wed, 8 Jan 2020, E. Liddell wrote:
On Wed, 8 Jan 2020 16:38:32 +0100 (CET) Felmon Davis moelmoel2714@gmail.com wrote:
greets!
I was trying to get a second monitor (a tv) to work using xrandr. I noticed that the screen on the laptop would suffer severe, almost 'psychedelic', effects if I hit a certain setting.
unfortunately I don't recall the setting but the ill effect was consistent and rendered the disply nearly unreadable. and the only solution was to end the session.
then by accident I hit the 'save this configuration' key and now the setting is permanent.
btw I created a second user and it doesn't suffer from the problem.
I cannot find a way to restore the proper display setting.
My guess is that you did something awkward to the color profile or gamma correction. No idea where that information is stored, though--I'd probably resort to grepping through likely directories looking for "[Cc]olor". If it affects only a specific user, then the setting is probably in your home directory, since most distros don't like mingling user settings with general system settings.
just a quick general update.
I set up a second user which, it turns out, is not affected by the psychedelia.
it had the side-benefit of eliminating pretty much all the font size and dpi-related problems I had except for an oddity or two under Firefox which could be fixed by adding some code to userChrome.css.
this reign of peace and clarity has been so captivating that I haven't yet gone back to diagnose the problems of the first user setup.
I do believe that once the psychedelic effects did occur under user #2 but I was nimble enough not to 'save configuration' of TDERandRTray which is probably the trouble-maker I've been advised and not xrandr.
I may see it it's true that the effect can be generated under user #2 also. and I'll do a little experimenting under user #1 to find the cause of the problem there.
I may settle in with user #2 but then I'd (at some risk) shift GID's and UID's to get back to the former username.
thanks all.
f.