You are not logged in.

#1 2014-10-17 11:53:57

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Where are monitor settings stored beside krandrrc

Hi.

I would like to ask for help. Recently i've found interesting issue regarding KDE monitor system settings. KDE system settings make one config file in ~/.kde4/share/config named krandrrc. When we use KDE monitor system settings, configurations are stored in file krandrrc (information like resolution, refresh rate, orientation when there are 2 LCD displays connected and so on are stored here).

I have dual monitor setup. I found this issue because of what i do by an mistake. I chosed to disable my second screen, hit save - i wanted to disable it. Than by mistake i disabled my first, primary screen and this choos was saved right on the spot (i though that when i won't acept settings, they will be restored, just like in Windows, but there were not). So, in fact, i ended with second screen disabled and my first screen disabled, so after each boot, i log in and than, my picture/screen goes off and my lcd monitor shuts itself off.

I tried to delete krandrrc file in ~/.kde4/share/config but it did not make a change. Is there a different config file for monitor settings in KDE? How i could restore it back? Is there a way? I restored it by a chance (i just logged in, hit alt+f2, tried to type "terminal", and than type xrandr --auto but this metod is a metod that needs luck because we can't see anything with disabled screen). I deleted also xorg.conf but in Arch, in fact, it is not needed because udev.  I tried to log into tty by hitting alt+f1, but in terminal typing xrandr --auto won't make difference, it says that it can't start X window session so it works only in gui.

Could somebody help? Maybe you have a fix for it?

Thanks.

Last edited by firekage (2014-10-17 11:57:36)

Offline

#2 2014-10-22 18:41:45

tparvu
Member
Registered: 2013-01-31
Posts: 7

Re: Where are monitor settings stored beside krandrrc

Hi firekage,

I came across your post while trying to fix a similar issue on my laptop.  I don't have a krandrrc file.  However, I found that if I deleted the files in my ~/.kde4/share/apps/kscreen directory I was able to "start over" and configure my displays again.

Hope that helps you out.

--Ted

Offline

#3 2014-11-06 16:20:51

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: Where are monitor settings stored beside krandrrc

Thanks for a reply wink Will be a great help.

Offline

#4 2015-11-01 13:13:56

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: Where are monitor settings stored beside krandrrc

Sorry for refreshing my old topic - i switched to plasma desktop and now...i don't know where are monitor settings stored again. I don't have krrandrc file. I don't have also kscreen folder. I checked this topic:
https://www.reddit.com/r/kde/comments/3 … ry_reboot/

and in fact, i have kscreen folder in ~/.local/share/kscreen. There are 3 random named files like 2324233432424 3453445345365654 234535344. What is strange, one of them is

[firekage@Arch_BX_100 ~/.local/share/kscreen]$ cat 6116061af8e618203674eda4fc85606b 
[
    {
        "enabled": true,
        "id": "a93e00e255c078b3d0e762041734dbd4",
        "metadata": {
            "fullname": "xrandr-HP w2228h-CZQ83208H4",
            "name": "DVI-D-0"
        },
        "mode": {
            "refresh": 59.954250335693359,
            "size": {
                "height": 1050,
                "width": 1680
            }
        },
        "pos": {
            "x": 0,
            "y": 0
        },
        "primary": true,
        "rotation": 1
    }
]
[firekage@Arch_BX_100 ~/.local/share/kscreen]$ 

I had this monitor few years ago...and now, i have plain install of Arch on different monitor [:|] I did not have HP while installing Arch.

Last edited by firekage (2015-11-01 13:19:32)

Offline

Board footer

Powered by FluxBB