Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
8
votes
1
answers
9900
views
Does gsettings have a GUI frontend?
There is `dconf-editor` for `dconf`, but `dconf` is a low-level configuration system and direct use of it is discouraged. Users are recommended to use `gsettings` instead, but I cannot find a GUI tool for it. By the way, the keys in `dconf` and `gsettings` don't always match. So it's not possible to...
There is
dconf-editor
for dconf
, but dconf
is a low-level configuration system and direct use of it is discouraged. Users are recommended to use gsettings
instead, but I cannot find a GUI tool for it.
By the way, the keys in dconf
and gsettings
don't always match. So it's not possible to use dconf-editor
on gsettings
IDs.
Cyker
(4562 rep)
Dec 21, 2016, 03:22 AM
• Last activity: Aug 5, 2025, 05:07 AM
2
votes
2
answers
3220
views
Why does my laptop screen dim after a few seconds on battery power?
It isn't actually locking or going to sleep. After a few seconds, the screen just clicks to a slightly darker setting. I have looked through dconf editor and the settings menu, and can't find any. Someone on here asked a similar question about Fedora, but it was a system update that fixed it. I'm ru...
It isn't actually locking or going to sleep. After a few seconds, the screen just clicks to a slightly darker setting. I have looked through dconf editor and the settings menu, and can't find any. Someone on here asked a similar question about Fedora, but it was a system update that fixed it. I'm running Debian 9, so that won't work for me. Below I will include a screenshot of my dconf power menu:
To be clear, this issue doesn't plague me when the laptop is plugged in. But when it's unplugged, the computer gets noticeably darker after just a few seconds of idling.
Also, the screen brightens back up as soon as I touch the mouse or the keyboard.
**Solved, kind of**: While dealing with some other issues, I rebooted my computer a few times (something I hadn't done since messing with dconf) and the issues seems to have gone away. So perhaps it was just necessary to reboot after editing?

Clayton McCray
(123 rep)
Nov 9, 2017, 08:40 PM
• Last activity: May 24, 2025, 06:04 AM
0
votes
1
answers
2653
views
unable to create directory '/run/user/7093511/dconf': Permission denied. dconf will not work properly
I'm getting following error message running an aplication: (process:53978): dconf-CRITICAL **: 12:30:48.383: unable to create directory '/run/user/7093511/dconf': Permission denied. dconf will not work properly. The problem is that I have permissions to write in /run/user/7093511 (700) so I'm really...
I'm getting following error message running an aplication:
(process:53978): dconf-CRITICAL **: 12:30:48.383: unable to create directory '/run/user/7093511/dconf': Permission denied. dconf will not work properly.
The problem is that I have permissions to write in /run/user/7093511 (700) so I'm really confused where that comes from.
mwas01
(1 rep)
Aug 17, 2021, 10:43 AM
• Last activity: Apr 27, 2025, 10:07 PM
0
votes
1
answers
34
views
Why does `dconf read` return empty string (nothing) whereas `gsettings get` returns non-empty value?
I've recently noted that for some `path key` `dconf read /path/key` return empty string whereas `gsettings get path key` returns non-empty. If I change the value by `gsettings set path key value`, then `dconf read /path/key` returns that new value. Why doesn't `dconf read` return initial value?
I've recently noted that for some
path key
dconf read /path/key
return empty string whereas gsettings get path key
returns non-empty. If I change the value by gsettings set path key value
, then dconf read /path/key
returns that new value. Why doesn't dconf read
return initial value?
Alex Martian
(1287 rep)
Apr 18, 2025, 03:57 AM
• Last activity: Apr 18, 2025, 03:20 PM
39
votes
3
answers
18592
views
How can I view the content of a backup of the dconf database file?
I've taken a backup of the file where my [`dconf`][1] database is stored (`~/.config/dconf/user` which is a binary file), and now I need to move some keys from the backup to the `dconf` in use. How can I view the content of the backed up `dconf` without putting it "in place" and view it with for exa...
I've taken a backup of the file where my
dconf
database is stored (~/.config/dconf/user
which is a binary file), and now I need to move some keys from the backup to the dconf
in use.
How can I view the content of the backed up dconf
without putting it "in place" and view it with for example `dconf-editor
`?
PetaspeedBeaver
(1398 rep)
May 1, 2015, 11:56 AM
• Last activity: Mar 22, 2025, 09:22 AM
0
votes
1
answers
108
views
Which program asks to open "/etc/dconf/db/local:X" and why cant't it?
I'm setting a fresh Debian 12 bookworm up. I played a little with settings and extensions. While trying to set my compose key —GUI allows to set it as "pause", but it has no effect, while I *can* choose "right-super"— I could have messed up a bit. I downloaded and executed the perl script at , but o...
I'm setting a fresh Debian 12 bookworm up.
I played a little with settings and extensions.
While trying to set my compose key —GUI allows to set it as "pause", but it has no effect, while I *can* choose "right-super"— I could have messed up a bit.
I downloaded and executed the perl script at , but only in export mode anyway:
./keybindings.pl -e /tmp/keys.csv
.
I ran it both as root
and as user 1000
.
In both cases I get
dconf-WARNING **: 16:55:41.021: unable to open file '/etc/dconf/db/local:X': L’ouverture du fichier « /etc/dconf/db/local:X » a échoué : échec de open() : Aucun fichier ou dossier de ce type; expect degraded performance
Neither Google nor Bing have any response to the query for "/etc/dconf/db/local:X"
(with quotes).
dconf
itself is just a back-end for configuration settings…
According to loginctl
, my session is of type Wayland
.
I currently have
$ ls -l /etc/dconf/db
total 20
drwxr-xr-x 2 root root 4096 2024-12-30 12:41 ibus.d
drwxr-xr-x 3 root root 4096 2025-01-13 10:52 local.d
-rw-r--r-- 1 ondelettes ondelettes 5459 2025-01-14 16:56 ibus
-rw-r--r-- 1 ondelettes ondelettes 408 2025-01-14 16:56 local
$ ls -l /etc/dconf/profile
total 8
-rw-r--r-- 1 root root 28 2023-02-13 12:22 ibus
-rw-r--r-- 1 root root 31 2025-01-13 10:39 user
$ chmod a+rxw /etc/dconf/db
had no effect on the issue.
$ dconf update
as user or root returns no error, nor any improvement.
If I touch /etc/dconf/db/local:X
, I get invalid gvdb header
the next time.
If I launch gnome-terminal
or soffice
from command line, I get the same warning message (unable to open file '/etc/dconf/db/local:X'
), which is annoying as I work whole day from command line.
ondelettes
(11 rep)
Jan 14, 2025, 04:57 PM
• Last activity: Feb 4, 2025, 10:37 AM
0
votes
0
answers
24
views
debian sddm window manager: set focus-mode to either sloppy or mouse: no effect
On debian version 12.8 fully upgraded, sddm window manager. Using either gsetting or dconf-editor, I can set and verify org.gnome.desktop.wm.preferences focus-mode to either sloppy or mouse but neither takes effect: still have to click in window to raise focus. gsettings set org.gnome.desktop.wm.pre...
On debian version 12.8 fully upgraded, sddm window manager.
Using either gsetting or dconf-editor, I can set and verify org.gnome.desktop.wm.preferences focus-mode to either sloppy or mouse but neither takes effect: still have to click in window to raise focus.
gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy gsettings get org.gnome.desktop.wm.preferences focus-mode 'sloppy'
Using either gsetting or dconf-editor, I can set and verify org.gnome.desktop.wm.preferences focus-mode to either sloppy or mouse but neither takes effect: still have to click in window to raise focus.
gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy gsettings get org.gnome.desktop.wm.preferences focus-mode 'sloppy'
Steve Dutky
(111 rep)
Dec 20, 2024, 06:08 PM
1
votes
1
answers
250
views
How can I disable the GNOME Tour system-wide?
I'm creating purpose-built operating system images based on Fedora Silverblue and want to disable the tour that GNOME Shell pops up on first login. How can I do this? Other answers I've seen have suggesting just removing the `gnome-tour` package, but I can't get this to work in my build environment....
I'm creating purpose-built operating system images based on Fedora Silverblue and want to disable the tour that GNOME Shell pops up on first login. How can I do this?
Other answers I've seen have suggesting just removing the
gnome-tour
package, but I can't get this to work in my build environment. Is there any other way of doing this?
strugee
(15371 rep)
Oct 13, 2024, 10:30 AM
0
votes
1
answers
469
views
How to reliably determine the name of an application for use in Gnome: Favorite Applications?
I have ran the following command to setup my Favorite Applications menu: ``` gsettings set org.gnome.shell favorite-apps "[ \ 'docker-desktop.desktop', \ 'org.gnome.Nautilus.desktop', \ 'firefox-esr.desktop', \ 'github-desktop.desktop', \ 'gnome-system-monitor.desktop', \ 'org.gnome.Terminal.desktop...
I have ran the following command to setup my Favorite Applications menu:
gsettings set org.gnome.shell favorite-apps "[ \
'docker-desktop.desktop', \
'org.gnome.Nautilus.desktop', \
'firefox-esr.desktop', \
'github-desktop.desktop', \
'gnome-system-monitor.desktop', \
'org.gnome.Terminal.desktop', \
'gnome-tweaks.desktop' \
]"
This is working perfectly (after working out the precise application names).
However I can't work out what the application name is for gnome-control-center
- I have tried all of these:
'gnome-control-center', \
'gnome-control-center.desktop', \
'gnome-controlcenter.desktop', \
'gnome.control-center.desktop', \
'org.gnome-control-center.desktop', \
'org.gnome.control-center.desktop', \
'org.gnome.controlcenter.desktop', \
'/usr/bin/gnome-control-center', \
'/usr/bin/gnome-control-center.desktop', \
None of them work. "Settings" (A.K.A. Control Center) does not show in my list of Favorite Applications.
How can I add it to my menu please? Do I have the application name wrong?
I am able to successfully launch it from the Terminal using both gnome-control-center
and /usr/bin/gnome-control-center
I am also looking for the name of the Text Editor (gnome-text-editor
) application - as I can't work that one out either, to add it to my Favorites.
How can we reliably determine the name of each application please?
I am running Gnome on Debian 12.
**Note:** I actually ended up setting the favorites system-wide for all users via 00-favorite-apps
- but the same is observed either way).

Danny Beckett
(797 rep)
Apr 5, 2024, 04:28 PM
• Last activity: Apr 6, 2024, 03:19 PM
2
votes
0
answers
121
views
gsetttings not working from inside bashrc
In my `~/.bashrc` ```bash Terminal() { TerminalDarkProfile="b1dcc9dd-5262-4d8d-a863-c897e6d979b9" TerminalLightProfile="3dd28c15-6ba4-4ba0-8289-ab023e6c88fc" Gsetting="org.gnome.Terminal.ProfilesList" [[ "${1}" == 'Light' ]] && gsettings set "${Gsetting}" default "${TerminalLightProfile}" [[ "${1}"...
In my
~/.bashrc
Terminal() {
TerminalDarkProfile="b1dcc9dd-5262-4d8d-a863-c897e6d979b9"
TerminalLightProfile="3dd28c15-6ba4-4ba0-8289-ab023e6c88fc"
Gsetting="org.gnome.Terminal.ProfilesList"
[[ "${1}" == 'Light' ]] && gsettings set "${Gsetting}" default "${TerminalLightProfile}"
[[ "${1}" == 'Dark' ]] && gsettings set "${Gsetting}" default "${TerminalDarkProfile}"
gsettings get "${Gsetting}" default
}
If I type Terminal Light
in bash terminal, there is no output and the Gnome terminal colour won't change.
But if I paste the function in the terminal manually:
$ Terminal() {
TerminalDarkProfile="b1dcc9dd-5262-4d8d-a863-c897e6d979b9"
TerminalLightProfile="3dd28c15-6ba4-4ba0-8289-ab023e6c88fc"
Gsetting="org.gnome.Terminal.ProfilesList"
[[ "${1}" == 'Light' ]] && gsettings set "${Gsetting}" default "${TerminalLightProfile}"
[[ "${1}" == 'Dark' ]] && gsettings set "${Gsetting}" default "${TerminalDarkProfile}"
gsettings get "${Gsetting}" default
}
$ Terminal Light
'3dd28c15-6ba4-4ba0-8289-ab023e6c88fc'
Then, we can see that gsettings are working, and indeed the gnome terminal profile changes!
# Issue
Why is this happening? How can I change gsettings from inside a script or bashfunction defined in ~/.bashrc
---
# Edit
$ type Terminal
bash: type Terminal: command not found
$ Terminal Dark
I am surprised that type Terminal: command not found
but Terminal Dark
gives no output!
# Additionally:
cat Theme.sh
#!/usr/bin/env bash
set -xv
echo $DBUS_SESSION_BUS_ADDRESS
whoami
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
gsettings get org.gnome.desktop.interface color-scheme
$ bash ./Theme.sh
echo $DBUS_SESSION_BUS_ADDRESS
+ echo unix:path=/run/user/1000/bus
unix:path=/run/user/1000/bus
whoami
+ whoami
lamy
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
+ gsettings set org.gnome.desktop.interface color-scheme prefer-light
gsettings get org.gnome.desktop.interface color-scheme
+ gsettings get org.gnome.desktop.interface color-scheme
'prefer-light'
$ gsettings get org.gnome.desktop.interface color-scheme
'prefer-dark'
We can see that gsettings get
immediately shows different value right after running the script!
Porcupine
(2156 rep)
Mar 17, 2024, 12:14 AM
• Last activity: Mar 24, 2024, 05:30 PM
0
votes
1
answers
81
views
Cannot automate with cron the changing of the configuration with dconf on Debian (it worked on Ubuntu)?
This script worked in adjusting the background color and the font color in `gnome-terminal` when run from cron on Ubuntu 22.04 LTS. ```bash #!/bin/bash detect_dstr() { distribution=$(grep -E '^ID=' /etc/os-release | awk -v FS='=' '{print $2}') if [ "$distribution" == "debian" ]; then echo "debian" e...
This script worked in adjusting the background color and the font color in
gnome-terminal
when run from cron on Ubuntu 22.04 LTS.
#!/bin/bash
detect_dstr() {
distribution=$(grep -E '^ID=' /etc/os-release | awk -v FS='=' '{print $2}')
if [ "$distribution" == "debian" ]; then
echo "debian"
elif [ "$distribution" == "ubuntu" ]; then
echo "ubuntu."
else
echo "unknown"
fi
}
chng_t_drk() {
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/background-color "'#000000'"
dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/foreground-color "'#ffffff'"
}
chng_t_lght() {
}
h=$(date +%-H)
if [[ "$h" -gt 16 ]]; then chng_t_drk
elif [[ "$h" -gt 4 && "$h" -lt 16 ]]; then chng_t_lght; fi
unset h
I am now on a Debian-stable-based distribution that utilizes sysvinit
and this script no longer works from cron. The theme changes when I manually execute it, though. Even specifying the display
does not help:
*/10 * * * * DISPLAY=:0 ~/gnome-terminal/change-theme.sh
I checked with dconf-editor
and the ID is the same on Ubuntu 22.04, Debian Testing(trixie) and on Antix (based on Debian Stable). Why is it then that I cannot automate of changing the configuration on the latter two distros?
John Smith
(827 rep)
Feb 8, 2024, 08:03 PM
• Last activity: Feb 9, 2024, 06:00 PM
3
votes
3
answers
13611
views
What are the causes of permission errors for /run/user/NNNN/dconf/user files? How can we resolve them?
There are several open questions regarding GUI apps whose console output shows repeated errors similar to the following: ``` (XXXX:YYYY): dconf-CRITICAL **: unable to create file '/run/user/NNNN/dconf/user': Permission denied. dconf will not work properly. ``` or ``` (XXXX:YYYY): dconf-CRITICAL **:...
There are several open questions regarding GUI apps whose console output shows repeated errors similar to the following:
(XXXX:YYYY): dconf-CRITICAL **: unable to create file '/run/user/NNNN/dconf/user': Permission denied. dconf will not work properly.
or
(XXXX:YYYY): dconf-CRITICAL **: unable to create directory '/run/user/NNNN/dconf': Permission denied. dconf will not work properly.
Where XXX is an application name, YYY is a number, and NNN is a user id number (?).
* https://unix.stackexchange.com/q/665025/34868
* https://unix.stackexchange.com/q/399323/34868 (due disclosure: An issue of mine from 3 years ago)
* https://unix.stackexchange.com/q/82974/34868
* https://unix.stackexchange.com/q/278797/34868
* https://unix.stackexchange.com/q/652444/34868
And these often remain unanswered, or with answers which don't resolve the issue (or possibly unresponsive posters).
I was hoping to attract enough community attention to this question (perhaps with a bounty if necessary) to provide proper description of the possible causes of this issue, and a list of several actions which should resolve, say in 90% of cases, so that in the future one could easily mark yet another variant of these questions as a duplicate of this one.
einpoklum
(10753 rep)
Jan 9, 2022, 09:15 AM
• Last activity: Jan 14, 2024, 07:35 PM
1
votes
0
answers
51
views
Keyboard Setting for Moving Windows to Different Workspaces in Gnome
Is there a GNOME/DCONF setting to set a keybind for moving windows to different workspaces? The desired behavior would be to press Super+Shift+3 (or whatever shortcut I specify), and have the both my view and the focused window moved to workspace 3.
Is there a GNOME/DCONF setting to set a keybind for moving windows to different workspaces?
The desired behavior would be to press Super+Shift+3 (or whatever shortcut I specify), and have the both my view and the focused window moved to workspace 3.
Capybara
(69 rep)
Dec 18, 2023, 07:07 AM
1
votes
2
answers
2145
views
How to set single key for customization keyboard shortcuts in gnome
I'm trying to set single key to operate anything i want in gnome settings. I'm using Debian-12 and Gnome 43. Settings->Keyboard>View and Customize Shortcuts(Keyboard Shortcuts)->Custom Shortcuts->Add Shortcut->Set Shortcut [![enter image description here][1]][1] In Set Shortcut panel, single keys is...
I'm trying to set single key to operate anything i want in gnome settings.
I'm using Debian-12 and Gnome 43.
Settings->Keyboard>View and Customize Shortcuts(Keyboard Shortcuts)->Custom Shortcuts->Add Shortcut->Set Shortcut
In Set Shortcut panel, single keys is not detected(neither model nor standard keys, i.e Super, Alt, CTRL, Shift etc. But Function keys could be detected i.e F1,F5...)
The thing I'm trying to do is to add single key and run any command by the shortcut or be able to change already available shortcuts by a single key i.e. pressing only
as in this link described but it didn't work.
Can you help. Thanks.

super
key should open application menu like in pressing in Windows key to open start menu.
So far, I've tried to change it by dconf
editor and played around with settings;
> org > gnome > desktop > input-sources > sources
> org > gnome > desktop > input-sources > xkb-options

livan3li
(123 rep)
Nov 29, 2023, 09:27 AM
• Last activity: Dec 12, 2023, 07:46 PM
11
votes
1
answers
9354
views
Set static number of workspaces in gnome-shell with dconf
How to set the behavior of `gnome-shell` workspaces (static instead of dynamic) via `dconf`? I configured `i3` style keyboard shortcuts to [switch to specific workspace][1] with Super + ` ` but `gnome-shell` creates workspaces dynamically, so I can not switch directly to 4th workspace to run program...
How to set the behavior of
gnome-shell
workspaces (static instead of dynamic) via dconf
?
I configured i3
style keyboard shortcuts to switch to specific workspace with Super+` but
gnome-shell` creates workspaces dynamically, so I can not switch directly to 4th workspace to run programs there if workspace 3 and 4 are not created.
anatoly techtonik
(2784 rep)
Dec 25, 2018, 07:28 AM
• Last activity: Nov 30, 2023, 09:28 PM
3
votes
1
answers
929
views
Settings schema 'org.gnome.shell.overrides' is not installed
The Citrix Receiver (wfica) (version 23.3.0.32) is trying to query the above schema in gnome (under Fedora 38) (wfica:6900): GLib-GIO-ERROR **: 09:03:32.851: Settings schema 'org.gnome.shell.overrides' is not installed Trace/Breakpoint ausgelöst (Speicherabzug geschrieben) and dumps core in: St...
The Citrix Receiver (wfica) (version 23.3.0.32) is trying to query the above schema in gnome (under Fedora 38)
(wfica:6900): GLib-GIO-ERROR **: 09:03:32.851: Settings schema 'org.gnome.shell.overrides' is not installed
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)
and dumps core in:
Stack trace of thread 6900:
#0 0x00007fc9096b8a2f g_log_structured_array (libglib-2.0.so.0 + 0x61a2f)
#1 0x00007fc9096b8d1c g_log_default_handler (libglib-2.0.so.0 + 0x61d1c)
#2 0x00007fc9096b8fc0 g_logv (libglib-2.0.so.0 + 0x61fc0)
#3 0x00007fc9096b92a3 g_log (libglib-2.0.so.0 + 0x622a3)
#4 0x00007fc908eecee5 g_settings_set_property (libgio-2.0.so.0 + 0xf6ee5)
#5 0x00007fc9097c471a object_set_property (libgobject-2.0.so.0 + 0x2471a)
#6 0x00007fc9097c5028 g_object_new_internal.part.0 (libgobject-2.0.so.0 + 0x25028)
#7 0x00007fc9097c716a g_object_new_valist (libgobject-2.0.so.0 + 0x2716a)
#8 0x00007fc9097c743f g_object_new (libgobject-2.0.so.0 + 0x2743f)
#9 0x00005613c52ca2f8 TWI_PlatformSpecificInit (wfica + 0x4ca2f8)
I couldn't find any information as to what (gnome) package installs that schema.
Is it possible that this schema has been renamed with the newest Fedora version?
How could I create that schema myself?
Andreas Spengler
(81 rep)
May 8, 2023, 09:55 AM
• Last activity: Aug 18, 2023, 03:07 PM
1
votes
1
answers
614
views
How would I convert this gsettings command into a dconf configuration file?
With a basic `gsettings` command such as, for example, `gsettings set org.gnome.desktop.secreensaver lock-enabled true`, I could easily turn it into a `dconf` config by just replacing the dots with slashes like this: [org/gnome/desktop/screensaver] lock-enabled=true I'm trying to do something simila...
With a basic
gsettings
command such as, for example, gsettings set org.gnome.desktop.secreensaver lock-enabled true
, I could easily turn it into a dconf
config by just replacing the dots with slashes like this:
[org/gnome/desktop/screensaver]
lock-enabled=true
I'm trying to do something similar but with a more complicated gsettings
command, and I'm not seeing how to correctly format it. The command is:
$ gsettings set org.gnome.settings-daemon.plugins.sharing.service:/org/gnome/settings-daemon/plugins/sharing/gnome-remote-desktop/ enabled-connections "['myuuidhere']"
This command activates Gnome's remote desktop sharing feature for the user that runs it, but for certain reasons I require it to be enabled by default without a user needing to do anything by hand (the file will be programmatically generated with the correct UUID along with other necessary settings, I'm just having trouble getting this specific command into a dconf
-usable format).
Kefka
(487 rep)
Jul 12, 2023, 02:01 PM
• Last activity: Jul 12, 2023, 02:43 PM
0
votes
1
answers
354
views
Hiding desktop icons in a custom Kali live ISO with gnome
I built for fun and convenience a portable customized Kali live ISO with gnome that I can carry easily around on my USB pen. I am struggling on two very stupid and useless things that, anyway, I would like to fix just for the sake of completeness. The one I am asking in here is about hiding the desk...
I built for fun and convenience a portable customized Kali live ISO with gnome that I can carry easily around on my USB pen. I am struggling on two very stupid and useless things that, anyway, I would like to fix just for the sake of completeness.
The one I am asking in here is about hiding the desktop icons that get automatically shown in the Desktop (home directory gets expanded in the desktop).
Some more details:
- Kali 6.1.0-kali9-amd64
- Gnome version 44.0
- I use persistence for
/home
and for /opt
, so all ~/.config
and user configurations will be persisted, while changes to /usr
, /etc
and so on can be easily changed in the build process of the iso.
I tried to play with both ~/.config/user-dirs.dirs
and dconf-editor
without any real success.
Bertone
(101 rep)
May 25, 2023, 04:24 PM
• Last activity: May 25, 2023, 05:42 PM
0
votes
1
answers
761
views
How can I find which command is bound to a given keyboard shortcut in gnome?
For example: /org/gnome/settings-daemon/plugins/media-keys/screensaver [' l'] Here, Super+L is bound to: xdg-screensaver lock or, dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock I want to find out which command is run when i press a keybind...
For example:
/org/gnome/settings-daemon/plugins/media-keys/screensaver ['l']
Here, Super+L is bound to:
xdg-screensaver lock
or,
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
I want to find out which command is run when i press a keybinding used with my window manager.
To be specific I want to know which commands are invoked by my window manager (I am using Zorin OS 16 which use Gnome Shell) for the a given keybindings.
For example, what happen when I invoke the keys for the following
/org/gnome/desktop/wm/keybindings/maximize
/org/gnome/desktop/wm/keybindings/unmaximize
/org/gnome/desktop/wm/keybindings/toggle-maximized
/org/gnome/desktop/wm/keybindings/minimize
/org/gnome/desktop/wm/keybindings/toggle-fullscreen
/org/gnome/desktop/wm/keybindings/toggle-tiled-left
/org/gnome/desktop/wm/keybindings/toggle-tiled-right
/org/gnome/desktop/wm/keybindings/show-desktop
I am fine with both CLI or dbus.
To be more specific, neither
xdotool
nor wmctrl
is working for me. More details in https://github.com/jordansissel/xdotool/issues/398
So, i need the specific commands which i want to use in a script.
Ahmad Ismail
(2998 rep)
Aug 25, 2022, 07:30 AM
• Last activity: May 9, 2023, 10:02 PM
0
votes
1
answers
710
views
Change specific settings with gsettings/dconf key. (archlinux, linux-lts-4.19)
I am trying to change the "custom-command" value for the Tilix terminal emulator in dconf from `python3 $HOME/Scripts/memux/main.py` to `python3 $HOME/.pps/pecan.py`, but I can't figure out the format for use with the dconf command line tool, and gsettings seems to lack the functionality to change a...
I am trying to change the "custom-command" value for the Tilix terminal emulator in dconf from
python3 $HOME/Scripts/memux/main.py
to python3 $HOME/.pps/pecan.py
, but I can't figure out the format for use with the dconf command line tool, and gsettings seems to lack the functionality to change a single setting of a key. Using the GUI is not an option. I did rtfm, and the last argument needs to be a string in "GVariant format".
dconf write /com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d/custom-command (some-argument)
Running the above command with no final argument results in the following.
error: value not specified
Usage:
dconf write KEY VALUE
Write a new value to a key
Arguments:
KEY A key path (starting, but not ending with '/')
VALUE The value to write (in GVariant format)
How do I format the string so that dconf accepts it? Or, if there's another better way, how do I set the value via that?
Below is a pair of screenshots with the GUI dconf-editor page containing the value I need to edit, if that helps.


Alex Lucas
(1 rep)
Aug 12, 2019, 03:39 AM
• Last activity: Mar 19, 2023, 03:39 AM
Showing page 1 of 20 total questions