Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-10-24 20:42:07

MoonKid
Member
Registered: 2016-07-24
Posts: 19

Mousepad: config file file location

I can not find the config file of Mousepad (0.4.0 in Debian 9 stable).

Manpage doesn't tell about it.
The about dialog doesn't tell me also.
There is ~/.config/Mousepad/ but the content doesn't make sense.

Offline

#2 2018-10-24 20:53:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,717

Re: Mousepad: config file file location

The config information is stored in gsettings:

gsettings list-recursively org.xfce.mousepad

Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-10-24 22:12:34

MoonKid
Member
Registered: 2016-07-24
Posts: 19

Re: Mousepad: config file file location

"gsettings" is an application. But where is the config data stored in the filesystem?

Offline

#4 2018-10-24 22:20:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,717

Re: Mousepad: config file file location

dconf database. See: https://en.wikipedia.org/wiki/Dconf.

Edit: if you are looking for the location of the database, it's located at ~/.config/dconf/user. Or at least it is on Arch.

Last edited by ToZ (2018-10-24 22:21:52)


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2022-02-02 16:41:02

christofarn
Member
Registered: 2022-02-02
Posts: 1

Re: Mousepad: config file file location

https://docs.xfce.org/apps/mousepad/start#settings helped me. I even managed to preselect line wrapping in print.

Offline

#6 2022-03-06 15:34:10

him610
Member
From: Pennsylvania USA
Registered: 2022-02-19
Posts: 24

Re: Mousepad: config file file location

You may want to look in this directory, /usr/share/polkit-1/actions


Do no harm.

Offline

#7 2023-05-31 06:01:27

smed79
Member
Registered: 2014-12-24
Posts: 1

Re: Mousepad: config file file location

The settings of Mousepad can be exported/imported from gsettings to share/backup them between users/computers as below

$ dconf dump /org/xfce/mousepad/ > mousepad.settings
$ dconf load /org/xfce/mousepad/ < mousepad.settings

Hope this help someone.

Offline

#8 2025-01-29 12:01:59

him610
Member
From: Pennsylvania USA
Registered: 2022-02-19
Posts: 24
LinuxChrome 132.0

Re: Mousepad: config file file location

SMed79 wrote:

The settings of Mousepad can be exported/imported from gsettings to share/backup them between users/computers as below

$ dconf dump /org/xfce/mousepad/ > mousepad.settings
$ dconf load /org/xfce/mousepad/ < mousepad.settings

Hope this help someone.

@SMed79
Yes, it did help me. I found myself without a menubar in mousepad, and could not figure out how to get it back until I read the dump and load method. After I dumped the mousepad.settings I opened it with a text editor and changed the menubar-visible=false to menubar-visible=true. Saved it then reloaded it. Next time I opened mousepad, my menubar had returned smile


Do no harm.

Offline

#9 2025-01-30 00:06:36

k3dAR
Member
From: Czech Republic
Registered: 2022-07-27
Posts: 58
LinuxChrome 132.0

Re: Mousepad: config file file location

him610 wrote:

[...] I found myself without a menubar in mousepad, and could not figure out how to get it back until [...]

BTW: menubar in mousepad you can toggle by hotkey CTRL+M ;-)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 549.45 KiB (Peak: 550.29 KiB) ]