Results 1 to 7 of 7

Thread: Where is/are the MATE desktop config file(s)

  1. #1
    Join Date
    Jun 2016
    Location
    Ireland
    Posts
    215

    Default Where is/are the MATE desktop config file(s)

    Hello,
    I want to restore the MATE desktop panel in my Opensuse 15.2 box.
    Where is/are the config file(s)?

    Thanks

  2. #2
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    406

    Default Re: Where is/are the MATE desktop config file(s)

    They are 3 in .config folder and 1 in the .cache folder

    Code:
    llrainey@VM1:~> ls .config/mate*
    .config/mate:
    backgrounds.xml  eom  panel2.d
    
    .config/mate-menu:
    applications  applications.list
    
    .config/mate-session:
    saved-session
    llrainey@VM1:~>  ls .cache/mate*
    background
    llrainey@VM1:~>
    OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)

  3. #3
    Join Date
    Jun 2016
    Location
    Ireland
    Posts
    215

    Default Re: Where is/are the MATE desktop config file(s)

    Quote Originally Posted by larryr View Post
    They are 3 in .config folder and 1 in the .cache folder

    Code:
    llrainey@VM1:~> ls .config/mate*
    .config/mate:
    backgrounds.xml  eom  panel2.d
    
    .config/mate-menu:
    applications  applications.list
    
    .config/mate-session:
    saved-session
    llrainey@VM1:~>  ls .cache/mate*
    background
    llrainey@VM1:~>
    I replaced files with a backup 1 week old. Files dates was the same. Nothing changed panel still removed.
    I'd guess there are other place for MATE config.

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,072

    Default Re: Where is/are the MATE desktop config file(s)

    Did you clear the cache file(s)??

  5. #5
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    406

    Default Re: Where is/are the MATE desktop config file(s)

    there is system wide mate settings in /etc

    Code:
    -rw-r--r--  1 root root     3050 Jun 22 10:03 mate_defaults.conf
    drwxr-xr-x  3 root root     4096 May 16  2020 mate-settings-daemon
    OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
    Pi4 with Ubuntu MATE 20.04
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)

  6. #6
    Join Date
    Jun 2016
    Location
    Ireland
    Posts
    215

    Default [Solved}: Where is/are the MATE desktop config file(s)

    Quote Originally Posted by larryr View Post
    there is system wide mate settings in /etc

    Code:
    -rw-r--r--  1 root root     3050 Jun 22 10:03 mate_defaults.conf
    drwxr-xr-x  3 root root     4096 May 16  2020 mate-settings-daemon
    I am afraid you are wrong, theses directory and files are default config, do not contain parameter and never change.
    I don't think there is a file as Mate uses a database.

    In fact I found what I was looking for.The following link explain how to backup and restore Mate config (and more) with dconf. Configuration can be change with dconf editor.
    I'll add this backup to my usual one and use it when I reinstall my system or migrate it.

    https://www.addictivetips.com/ubuntu...ettings-linux/

    Thank you.

  7. #7

    Default Re: Where is/are the MATE desktop config file(s)

    Check out the dump and load commands in "man 1 dconf." I backed up three dconf directories with "dconf dump" back when I had to reinstall Fedora every year or two. Then all I had to do to rebuild the MATE desktop was use "dconf load <filename>" to get back the settings for various things. The files are stored as ASCII text, here is the one I use to restore mate-power-manager.
    Code:
    > cat mate-power-manager
    [/]
    button-power='interactive'
    brightness-ac=75.0
    info-last-device='/org/freedesktop/UPower/devices/battery_BAT1'
    percentage-low=15
    button-lid-ac='suspend'
    kbd-brightness-dim-by-on-idle=100
    button-hibernate='suspend'
    action-low-ups='shutdown'
    action-critical-battery='shutdown'
    button-suspend='suspend'
    brightness-dim-battery=33
    info-page-number=2
    percentage-critical=12
    kbd-brightness-on-ac=50
    percentage-action=10
    info-history-type='charge'
    kbd-brightness-dim-by-on-battery=100
    button-lid-battery='suspend'
    idle-brightness=50
    info-stats-type='discharge-accuracy'
    action-sleep-type-battery='suspend'
    use-time-for-policy=false
    Gene

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •