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
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
2
votes
1
answers
156
views
see what shell commands correspond to settings changes
I am trying to create automated routines to switch between light and dark modes for my desktop as described [here](https://unix.stackexchange.com/questions/620351/how-to-automate-switching-between-light-and-dark-modes). The only problem is, I don't know which `gsettings` commands correspond to the v...
I am trying to create automated routines to switch between light and dark modes for my desktop as described [here](https://unix.stackexchange.com/questions/620351/how-to-automate-switching-between-light-and-dark-modes) . The only problem is, I don't know which
gsettings
commands correspond to the various settings that I wish to change. The settings that I want to change are:
* Switch my GNOME terminal from my "light" custom theme to my "dark" custom theme (or vice versa).
* In the "Appearance" section of GNOME tweaks, switch the "Applications" theme from Adwaita to Adwaita-dark (or vice versa).
* In my chosen text editor (gedit
), switch from The "Kate" theme to the "Oblivion" theme (or vice versa).
But again, **I don't know** what commands correspond to these changes.
Thanks in advance for the help.
**EDIT:** I am on Rocky 9, using GNOME.
K.defaoite
(153 rep)
Jan 21, 2025, 07:37 PM
• Last activity: Jan 22, 2025, 06:02 AM
3
votes
2
answers
260
views
Set screen blanking after 40 minutes
My screen goes blank every 10 minutes (after idle time, not touching keyboard and touchpad). I'd like to increase this time (40 minutes). I tried to add this line to my `.profile` `xset s 2400` The second thing I tried is this command `gsettings set org.gnome.desktop.session idle-delay 2400` but uns...
My screen goes blank every 10 minutes (after idle time, not touching keyboard and touchpad).
I'd like to increase this time (40 minutes).
I tried to add this line to my
.profile
xset s 2400
The second thing I tried is this command
gsettings set org.gnome.desktop.session idle-delay 2400
but unsuccessful
I'm on Ubuntu Ubuntu 22.04.4 LTS
with i3
Here is the output of xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00fdffffdf7ffbbf
fedfffafffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 2400 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On
xralf
(15189 rep)
Jan 9, 2025, 05:23 PM
• Last activity: Jan 21, 2025, 06:19 AM
8
votes
3
answers
4761
views
Where does guake put it user preferences?
Previously guake used to have its preferences stored in ~/.gconf/apps/guake/general but with move to gtk3 it has moved to gsettings and dconf . While dconf-editor does show me the preferences with the toggle switch I'm unable to figure out where it actually stays.
Previously guake used to have its preferences stored in
~/.gconf/apps/guake/general
but with move to gtk3 it has moved to gsettings and dconf . While dconf-editor does show me the preferences with the toggle switch I'm unable to figure out where it actually stays.
shirish
(12954 rep)
Oct 9, 2018, 06:20 AM
• Last activity: Nov 12, 2024, 02:48 PM
0
votes
2
answers
144
views
In which file is stored the screen backlight brightness settings?
I would like to make a Debian 12 Live system for a laptop, from another computer that has an external display without backlight settings in the operating system. I need to know the file where is stored the backlight brightness settings, to copy it in the Live system, so that the backlight will be al...
I would like to make a Debian 12 Live system for a laptop, from another computer that has an external display without backlight settings in the operating system.
I need to know the file where is stored the backlight brightness settings, to copy it in the Live system, so that the backlight will be already adjusted when I will boot the live system.
The live system will use MATE desktop environment, a fork of GNOME. I wonder if the backlight configuration is part of gsettings ?
And so, which file I will have to copy, once the backlight brightness adjusted ?
Bertrand125
(1070 rep)
Oct 26, 2024, 03:26 PM
• Last activity: Oct 27, 2024, 09:58 AM
1
votes
0
answers
47
views
XKB group switch
Trying to implement the following for Gnome3 (Wayland) in Fedora 40. I would like to have a custom xkb symbols file, where I would like to define two layouts. 1. [EURKey Layout][1] 2. Russian Layout This because, I would like to override keys globally for both layouts at the same time. For example,...
Trying to implement the following for Gnome3 (Wayland) in Fedora 40.
I would like to have a custom xkb symbols file, where I would like to define two layouts.
1. EURKey Layout
2. Russian Layout
This because, I would like to override keys globally for both layouts at the same time. For example, change Control and Alt keys.
I have defined the following xkb file
test4
and evdev.xml
files that live in ~/.config/xkb/symbols
and ~/.config/xkb/rules
respectively. I am doing this, to escape the need to have scripts or other programs solving this problem. As I would like these files to be part of my dotfiles.
test4 contents:
default partial alphanumeric_keys modifier_keys
xkb_symbols "base" {
include "eu(basic)"
include "level3(ralt_switch)"
name[Group1]="EurKEY";
include "ru(winkeys)"
name[Group2]="Russian";
key {
[ ISO_Next_Group ]
};
};
evdev.xml contents:
test4
eu2
Custom EurKEY and Russian Layout
eng
ger
rus
Then I proceed to set the input-source:
gsettings set org.gnome.desktop.input-sources sources "[('xkb','test4')]"
Everything seems to load, however I notice the following issues:
* after settings the sources using gsettings, the Russian layout is always selected by default instead of the EURKey layout.
* the level3 (AltGr+key) symbols from EURKey Layout (e.g. ñ) are only available when Russian group is set. If I press and move to EURKey layout, I will not be able to access these keys. Not sure if this could be related to the fact that EURKey has defined 4 levels, while Russian layout only has 2.
I believe the solution is quite simple, I just do not see it. Any helps to solve it is much appreciated.
Mike
(111 rep)
Sep 16, 2024, 09:14 PM
0
votes
1
answers
60
views
F10 keybinding of unknown origin (maybe Gnome?)
I am running Fedora 40 which I installed a few months ago. I noticed that `F10` in my Emacs does not run the function that I have assigned to it in Emacs: in fact, Emacs does not see the `F10` key any longer (and I am pretty sure that this started happening when I upgraded to Fedora 40: it was worki...
I am running Fedora 40 which I installed a few months ago. I noticed that
F10
in my Emacs does not run the function that I have assigned to it in Emacs: in fact, Emacs does not see the F10
key any longer (and I am pretty sure that this started happening when I upgraded to Fedora 40: it was working fine in Fedora 38 - I skipped Fedora 39).
I can tell that Emacs does not see the key by using C-h C-k
, the help function to describe a key, and pressing F10
. Usually, the key is echoed in Emacs's echo area and the command bound to it is reported. In the F10
case, nothing is echoed in the echo area. Instead the File
menu is dropped down.
That behavior seems to be somewhat general: both Firefox
and Thunderbird
exhibit the same behavior, which is another reason to conclude that the desktop environment is what's doing this. Not every application does this however: in gnome-terminal
and xterm
, F10
apparently just generates an escape sequence: ^[[21~
.
I did gsettings list-recursively
and found one entry using F10
: that looked promising, so I set it to empty:
$ gsettings get org.gnome.desktop.interface menubar-accel
'F10'
$ gsettings set org.gnome.desktop.interface menubar-accel ''
$ gsettings get org.gnome.desktop.interface menubar-accel
''
but that didn't do anything AFAICT (after various levels of restarting: restarting Emacs, logging out and back in, rebooting, shutting down and starting from scratch). As far as I know, all the graphical widget thingies (Settings, Tweaks, etc.) are using the Gsettings API underneath, so this *should* have found the culprit - but no dice.
Since Emacs is built with libgtk-3.0, I also tried a GTK setting as described in [this answer](https://unix.stackexchange.com/a/40685/230615) but that also did not make any difference.
Although my main interest is to free up F10
from whoever its current master is and allow it to be passed to Emacs, I'd also be interested in any tips/hacks/methods you have come up with to deal with similar problems. Any ideas?
Version info:
- OS: Fedora 40
- Kernel: Linux 6.9.12-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jul 27 15:56:15 UTC 2024 x86_64 GNU/Linux
- Gnome: 46.3
- Emacs: bleeding-edge upstream, unreleased (31.0.50), but it also happens in the Emacs that comes with Fedora 40: GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-07-16
If more information is needed, I'd be happy to supply it: please let me know.
UPDATE: in response to the comment by David G. below, xev
does see F10
(and so do gnome-terminal
and xterm
as mentioned above, and of course whatever makes the File
menu to drop down in the case of Emacs
, Firefox
and Thunderbird
). The problem is not that it is not seen: the problem is that it is grabbed before I want it to be grabbed and I don't know what grabs it. That's what I'm trying to find out in the hope that I can convince that something to keep its hands off my F10
:)
In response to further comments by David G. (thanks for the responses and for keeping me honest!), I tried emacs -Q
which starts Emacs without any initialization files (either site-init (site-start.el
or user-init or early-init). But the GTK suggestion is intriguing. I built an Emacs without a toolkit at all and it behaves as expected wrt to F10
: the key is visible and I can bind it to a command. I then found [this section](https://docs.gtk.org/gtk4/class.Window.html#shortcuts-and-gestures) in the GTK documentation: it's about GTK4 and I cannot find the equivalent in the GTK3 documentation, but I'm assuming that the behavior is the same in the two versions. I'm no GTK programmer, so I don't know how to turn this behavior off yet, but it seems clear that David G. was right when he fingered the GTK interface in Emacs as the culprit.
NickD
(3018 rep)
Aug 9, 2024, 05:51 PM
• Last activity: Aug 11, 2024, 01:38 AM
0
votes
1
answers
115
views
gedit customisation via gsettings
I am trying to programmatically customise various settings in the `gedit` application, and currently I've got the following command to change the colour scheme. ``` gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt' ``` The issue I have is, if you see below, there are some colour schem...
I am trying to programmatically customise various settings in the
Now with that in mind, I've tried the following command, but with no success:
gedit
application, and currently I've got the following command to change the colour scheme.
gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt'
The issue I have is, if you see below, there are some colour schemes which are two words.

gsettings set org.gnome.gedit.preferences.editor scheme 'solarized dark'
Unfortunately, I do not get any errors or feedback to say the above command has not worked. Would anyone know what I have done wrong here?
hymcode
(133 rep)
Jul 29, 2024, 08:29 AM
• Last activity: Jul 29, 2024, 11:05 AM
0
votes
2
answers
345
views
Gnome Evolution Email - Saving my messages as a .PDF file issue
I wanted to save some Emails with all the formatting, images, and attachments, just as they appear in Evolution. I know I can 'File > Back up Evolution Data...' but I want it so I don't have to connect to the internet (IMAP server). I've tried following the advice here: https://help.gnome.org/users/...
I wanted to save some Emails with all the formatting, images, and attachments, just as they appear in Evolution. I know I can 'File > Back up Evolution Data...' but I want it so I don't have to connect to the internet (IMAP server).
I've tried following the advice here: https://help.gnome.org/users/evolution/stable/mail-save-as-pdf.html.en
But when I click on the file name to select the destination, I can't go past the Username directory. What's even more absurd is that I can't find the **.PDF** anywhere in the Terminal!
I also tried entering the code:
gsettings set org.gnome.evolution.mail drag-and-drop-save-file-format 'pdf'
I just get the message *No such schema “org.gnome.evolution.mail”*
Evolution was installed as flatpak through the Fedora Software Center.
Maitland
(1 rep)
Feb 20, 2023, 01:03 AM
• Last activity: May 3, 2024, 03:21 AM
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
1
votes
1
answers
741
views
ubuntu, several switches for keyboard layout
### I have: I am new to Ubuntu (or Wayland?) and have an issue with two different ways to switch keyboard layout. - Ubuntu 22.04.3 LTS - Gnome 42.9 - Windowing system Wayland And I currently have two different switches for layouts. Here is what I found so far: ### `Settings` application The `Setting...
### I have:
I am new to Ubuntu (or Wayland?) and have an issue with two different ways to switch keyboard layout.
- Ubuntu 22.04.3 LTS
- Gnome 42.9
- Windowing system Wayland
And I currently have two different switches for layouts. Here is what I found so far:
###
Settings
application
The Settings
application provides just one way to switch layouts, I find this in Settings
by going Keyboard -> Keyboard Shortcuts -> Typing. There I have Super+Space
for the switch. This works, but...
1. I'd like to define LeftAlt+LeftShift as a toggle switch, but the settings window does not accept this.
2. Is it possible to increase size of layout indicator? I have a very big screen and tiny language code in the corner of the screen is not very easy readable. Is there a way (setting somewhere or applet/plugin/extension) to increase font size for the language indicator and/or use country flags to show which language layout is in use?
### gsettings
Open terminal, issue command:
gsettings set org.gnome.desktop.input-sources xkb-options "['grp:lalt_lshift_toggle']"
This done exactly what I want, but using this hotkey does not change language indicator on the screen, and I have to type a letter or two to understand which layout is active one.
1. Is there a way to synchronize the on-screen indicator with that switch?
2. Is this a different input method from the one controlled by Settings
application? (ibus vs xkb?)
3. The switch of layout does not happen always. Sometimes I need to hit LeftAlt+LeftShift twice (hit it, type letter, backspace, hit it again) to switch the layouts. Completely not sure where to search for a reason for this problem.
### So currently ...
I have two switches: Super+Space and LeftAlt+LeftShift... And constantly mix them. I can, of course, remove one, but I have several other computers (under Mint/Cinnamon and Windows) which use LeftAlt+LeftShift, so I would really prefer to stick with this one (finger memory is powerful thing).
So I am not sure which direction I should take at this moment and which method to trust/improve more, the Settings
or gsettings
? Or install some third application like xkbd-switch
or something else? Or go all the way and replace Ubuntu with Mint?
White Owl
(5267 rep)
Oct 26, 2023, 06:02 PM
• Last activity: Nov 12, 2023, 12:30 AM
1
votes
1
answers
751
views
How to switch esc and caps lock using gsettings/gconftool-2 in ubuntu 14.04?
There is an option for this in the preferences dialog, but I am looking for a way to do it in the commandline so that all these configurations can be automated. I want to avoid xmodmap, because most of my system settings are done through gsettings, it's preferred to have this one also in a centraliz...
There is an option for this in the preferences dialog, but I am looking for a way to do it in the commandline so that all these configurations can be automated.
I want to avoid xmodmap, because most of my system settings are done through gsettings, it's preferred to have this one also in a centralized place. Plus I don't like maintaining startup scripts, I would rather run a config script once and forget about the whole thing afterwards, and gsettings/gconftool-2 does that.
qed
(2749 rep)
Sep 24, 2014, 04:12 PM
• Last activity: Aug 22, 2023, 03:59 AM
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
3
votes
1
answers
695
views
How to access gnome settings without system running
I want to access gnome configurations such as keyboard shortcuts, from an OS installation that I cannot boot, but I have access to the whole file system. The old system is Fedora 36, Gnome 42, wayland, if this is important. Ideas that didn't work: * In the answer here , `dconf dump` works great for...
I want to access gnome configurations such as keyboard shortcuts, from an OS installation that I cannot boot, but I have access to the whole file system. The old system is Fedora 36, Gnome 42, wayland, if this is important.
Ideas that didn't work:
* In the answer here ,
dconf dump
works great for the current system, and it also shows how to load settings from the output (dconf load , they use
gsettings list-recursively`. Again, this seems to need the system to be running.
How can I locate the files that hold settings in the old system?
Bonlenfum
(203 rep)
May 28, 2023, 12:35 PM
• Last activity: May 30, 2023, 03:53 PM
4
votes
0
answers
810
views
Gnome shell Window auto-focus not working for specific applications
I am using fedora 37 with `kernel version 6.2.9`. Some of the applications like `gnome-terminal` and `gnome software store` when launched from the `Dash` in `gnome-shell` are not focused i.e. they are not being `auto-focused`. But when they are launched from other way like by gnome search they are w...
I am using fedora 37 with
kernel version 6.2.9
.
Some of the applications like gnome-terminal
and gnome software store
when launched from the Dash
in gnome-shell
are not focused i.e. they are not being auto-focused
.
But when they are launched from other way like by gnome search they are working as expected and being auto-focused
.
Other applications are working fine even if they are launched from the Dash
.
Another thing is that when some other application is opened for example Firefox
or nautilus
then launching gnome-terminal
or gnome software store
works as expected and are auto-focused
.
I tried setting gsettings set org.gnome.desktop.wm.preferences focus-new-windows 'smart'
, but it makes no difference.
This problem started showing after the last update which includes updating the kernel from 6.1.18
to 6.2.9
, updating mutter
and nvidia
driver update.
**UPDATE**
I installed console
application which is also a terminal emulator by gnome project. It is also showing the same issue as gnome-terminal
and gnome software store
.
I think the applications which use the shell directly or in background, are showing this kind of issues.
arka
(253 rep)
Apr 5, 2023, 04:08 PM
• Last activity: Apr 27, 2023, 01:52 AM
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
3
votes
0
answers
287
views
Switched from cinnamon to dwm, missing the way cinnamon unified the appearance of apps
I'm running linux mint's cinnamon desktop. In system settings I have Font Selection->Text Scaling Factor set to 1.2 and under Accessibility->Visual Aids->Large text toggled on. The reason is that I like big menus/fonts/texts so I can use my 2560x1440 monitor without having to put on my reading glass...
I'm running linux mint's cinnamon desktop. In system settings I have Font Selection->Text Scaling Factor set to 1.2 and under Accessibility->Visual Aids->Large text toggled on. The reason is that I like big menus/fonts/texts so I can use my 2560x1440 monitor without having to put on my reading glasses.
Those settings arent used when I run programs in dwm (firefox, thunderbird, gnome-terminal). They are apparently using their respective defaults.
How do I go about making the programs in dwm look the same as they do in cinnamon?
I have determined that changing Font Selection->Text Scaling Factor is equivalent to running the following in terminal
gsettings set org.cinnamon.desktop.interface text-scaling-factor 1.2
When I run this in dwm there is no change, which makes sense since I'm in dwm not cinnamon.
Is there a way for me to set something similar in dwm for firefox and such?
I tried:
gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
but it didn't change anything.
I know I can change firefox's appearance in about:config but I want to make changes that only apply when firefox is running in dwm and leave the appearance of firefox in cinnamon unchanged.
user300750
Feb 24, 2023, 10:21 PM
• Last activity: Feb 26, 2023, 07:16 PM
2
votes
1
answers
1989
views
gsettings/dconf/gnome tweak settings are not persistent
I am trying to change the 'Legacy Applications' setting in the `gnome-tweaks` but when I restart the shell ( Alt + F2 + r ) it resets back to default. * I tried changing it via `dconf` and `gsettings` too but didn't work. * [This solution][1] doesn't help me either. I'm using GNOME42 on Manjaro if t...
I am trying to change the 'Legacy Applications' setting in the
gnome-tweaks
but when I restart the shell (Alt+F2+r) it resets back to default.
* I tried changing it via dconf
and gsettings
too but didn't work.
* This solution doesn't help me either.
I'm using GNOME42 on Manjaro if that helps.
shasherazi
(23 rep)
Aug 16, 2022, 06:14 PM
• Last activity: Oct 3, 2022, 01:38 PM
1
votes
1
answers
233
views
Assigning an array value in zsh for gsettings keybindings automation
I think this script should work to set keybinds, but it's currently quite borked--UPDATE: it has been unborked, and now works. It is ugly though, and I'm soliciting ways to make it more elegant, as I need to copy-paste four lines every time I want a new key bind. I claim that since zsh doesn't suppo...
I think this script should work to set keybinds, but it's currently quite borked--UPDATE: it has been unborked, and now works. It is ugly though, and I'm soliciting ways to make it more elegant, as I need to copy-paste four lines every time I want a new key bind.
I claim that since zsh doesn't support 2d arrays, I'm probably best off rewriting this in python.... updated, that python script lives [here](https://github.com/thor314/.files/blob/main/setup/sh/configure_keybinds.py)
A question of how to set keybindings correctly lives [here](https://askubuntu.com/questions/527990/add-a-custom-keybinding-with-gsettings-in-ubuntu) .
#!/bin/zsh
# How many keybinds?
N=16
# Put keybindings here
k0=("keyboard dvorak nocaps" "Menu" "setxbmap dvorak -option nocaps")
k1=("launch code" "c" "code")
k2=("dropdown firefox" "f" "tdrop -ma -h \"100%\" -w \"50%\" firefox")
mkeys="org.gnome.settings-daemon.plugins.media-keys"
_locstr="/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom"
_ck="$mkeys.custom-keybinding:$_locstr"
M="$(expr $N - 1)"
# Create spaces for $N keybindings, emulating the command:
# gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/ media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ ']"
locations=""
for i in $(seq 0 $M); do
locations+="'$_locstr$i/', "
done
locations+="'$_locstr$N/' "
gsettings set $mkeys custom-keybindings "[$locations]"
# issue commands. Have to paste 4 lines each time, kinda gross.
ck="${_ck}0/"
gsettings set $ck name $k0
gsettings set $ck binding $k0
gsettings set $ck command $k0
ck="${_ck}1/"
gsettings set $ck name $k1
gsettings set $ck binding $k1
gsettings set $ck command $k1
ck="${_ck}2/"
gsettings set $ck name $k2
gsettings set $ck binding $k2
gsettings set $ck command $k2
# test with:
# i=0
# ck="${_ck}$i/"
# gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings
# gsettings list-recursively $ck
cryptograthor
(113 rep)
May 29, 2022, 10:16 PM
• Last activity: May 31, 2022, 06:11 AM
Showing page 1 of 20 total questions