Questions tagged [gsettings]

Questions about using gsettings, the command-line version of dconf-editor, to read or modify the dconf database. Using gsettings, the schemas and keys of various programs can be viewed and altered. Sometimes hidden settings (that are not in the gui of a program) can be discovered this way.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How to apply changes on dconf without restart

Have a installer script with root permissions, for made changes to dconf use the gsettings to set all values, by example: root@pc:/# DEFAULT_USER=$(id -nu 1000); root@pc:/# apt -y install dbus-x11; ...
momo2047's user avatar
  • 196
0 votes
0 answers
150 views

Setting Keyboard Shortcuts in Ubuntu 22.04 with gsettings (what's changed?)

It appears it should be relatively easy to set Super+C to launch my GNOME calculator in Ubuntu 22.04 with gsettings and the command line: gsettings set org.gnome.settings-daemon.plugins.media-keys....
jophuh's user avatar
  • 135
0 votes
0 answers
36 views

Is this a gsettings bug?

I have this script, that changes my background image to a random darkened one every couple of minutes with gsettings that I have hooked up with a cron job. #!/bin/bash # Define the directory ...
Sebastian Bartos's user avatar
0 votes
0 answers
78 views

Ubuntu 20.04 screen timeout is not working through command line

I am trying to lock GUI screen Ubuntu machine through gsettings and dconf, but I'm unable to do that. The terminal shows timeout values have changed, but in GUI leave remains old and the screen doesn'...
khurram shahzad's user avatar
1 vote
0 answers
177 views

Minimize and maximize button in wsl

I am currently using wsl2 with Ubuntu 22.04 on Windows 11. I am not able to see minimize/maximize button on the titlebar. I first discovered this problem with sublime text, but when I tried other apps,...
AK-CHP's user avatar
  • 51
0 votes
0 answers
16 views

Print screen shortcut have a different save directory from gnome-screnshot

After rebooting, the wallpaper are not loaded then I noticed that I accidentally moved the ~/Pictures directory to another location. So I put it back. But the screenshots are not saved to ~/Pictures ...
A.Azzouz's user avatar
1 vote
0 answers
238 views

Attempting to change desktop image in 23.10 using gsettings picture-uri-dark

I am attempting to write a simple cron script that updates my desktop image every 15 minutes using gsettings. However, despite many different iterations, I cannot reliably change the desktop in the ...
Blue Santa's user avatar
0 votes
0 answers
162 views

How to change my desktop background via bash?

I am trying to set up this script to change my desktop background, but gsettings set org.gnome.desktop.background picture-uri "file://$WALLPAPER_PATH" is not working. There is no error ...
Numeral's user avatar
  • 109
0 votes
0 answers
45 views

Nautilus' sorting issues in Ubuntu 20.04

I've changed the default sorting for Nautilus in gsettings and dconf editor to 'type', which Nautilus uses to correctly sort all of my other folders. For some reason it always wants to sort my ...
guttermonk's user avatar
0 votes
0 answers
137 views

New User New Ubuntu Install 22.04: Trouble with gsettings change persisting past reboot

I am recently starting over to Linux from Windows and am just trying out Ubuntu 22.04 now. So far I have not made any major changes to the system other than installing a few snap applications. One ...
fishienoob's user avatar
2 votes
0 answers
83 views

Ubuntu 20.04 change default settings for all new users

I'm trying to find a way to change default settings for all new users, for example the applications in dock, desktop icons, default homepage, etc... Using dconf, extensions, and tweaks, I've setted a ...
Alberto Brescia's user avatar
1 vote
1 answer
90 views

Set nemo file manager preferences via cli, array data type

I use the following commands to override default settings in Ubuntu UI, which works fine: gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-dark' gsettings set org.nemo.preferences show-home-...
Alexander Borochkin's user avatar
0 votes
1 answer
144 views

Using dconf write or gsettings set several times overwrite the previous command

I would like to remap several different keys of my keyboard.Namely: I want to remap caps Lock to escape function and remap left alt to right alt function. For this I used the following commands: dconf ...
ecjb's user avatar
  • 111
0 votes
2 answers
180 views

Centering the gnome terminal or console window on start-up

Using Ubuntu 22.04, I want either my gnome terminal or console to start centered on the screen. Bard AI told me to use this command: gsettings set org.gnome.desktop.wm.preferences center-new-...
user3261738's user avatar
-2 votes
1 answer
170 views

Export dconf settings by reading .config/dconf of another user

Is there a way to export dconf settings by reading some .config/dconf/ tree from another user (say, user2), instead of the current user1? I have a problem whereby I cannot log into a Gnome session ...
sancho.s ReinstateMonicaCellio's user avatar
2 votes
0 answers
133 views

What are the available key types in glib schemas?

In a glib schema.xml, keys should have a name and a type, like this: <key name="keyname" type="b"> <default>true</default> <summary>...</summary&...
sayanel's user avatar
  • 367
1 vote
0 answers
227 views

60 Sec shutdown delay in ubuntu 20.04

I want to remove 60 sec delay when i press power button. I used "gsettings set org.gnome.SessionManager logout-prompt false". After i entered that line in terminal it works except lock on ...
Onurcan's user avatar
  • 11
-1 votes
2 answers
120 views

What is the key for workspace count in Ubuntu 22.04?

I want to automate the workspace count mentioned in How to disable multiple workspaces on Ubuntu 22.04? I would prefer to use gsettings but I can't find the key. What is the key there?
Saeed Neamati's user avatar
0 votes
1 answer
469 views

Switching between same application windows with scroll wheel on Ubuntu 22.04 LTS Dock

I searched a lot and couldn't really find an answer how to switch between windows of the same application in the Ubuntu 22.04 LTS Dock (See screenshot). ATTEMPT 1 Configure gsettings (based on answers ...
randn13's user avatar
1 vote
1 answer
465 views

Some xkb variants missing from Gnome Settings in Ubuntu 22.04

I've been trying to get the Swedish nodeadkeys layout to work on Ubuntu 22.04 (Wayland). With X11 it's easy: setxkbmap -variant nodeadkeys se On Wayland however, this doesn't work. Going to the Gnome ...
Sebastian N's user avatar
1 vote
0 answers
49 views

Exploring gnome settings of a non-running system disk

I've read, e.g. here: How to save GNOME settings in a file? that gnome settings are stored in a binary database, therefore I guess I won't be able to look at those binary files manually (I don't even ...
s.k's user avatar
  • 1,280
1 vote
0 answers
50 views

How to disable Save-As Dialog dropdown menu?

When I go to save stuff, a dropdown appears that I want to disable. I never use the dropdown and it gets in the way of functional use by requiring additional clicks to get rid of it. How can I disable ...
G.W.'s user avatar
  • 643
1 vote
1 answer
228 views

How to edit terminal word boundary characters?

Highlighted text in the default gnome terminal incorrectly includes word boundary characters which should be ignored for example when I double click on &freq_domain_magnitude_buffer_a2i it ...
Scott Stensland's user avatar
2 votes
1 answer
227 views

I can't disable the "click to minimize" feature

I recently installed Ubuntu 22.04 and, following an online guide, I activated the "click to minimize" feature. I don't exactly remember, but I believe I used the CLI way, executing the ...
Carlo's user avatar
  • 21
3 votes
1 answer
3k views

Update Background via the commandline Ubuntu 22.04

I have a script that I have been running for years on my computer that updates the background image to a new image every minute and functions as a clock. I was wondering how to update the desktop ...
Nick Goralka's user avatar
1 vote
1 answer
784 views

Which gsettings keys are modified when changing the color from the Appearance menu? [duplicate]

I'm working on a shell script that simultaneously changes the theme and color palette of the system and some applications like guake. The script uses gsettings for the system theme and should be able ...
ccbirb's user avatar
  • 613
0 votes
1 answer
116 views

gnome app grid incomplete applcation names

In the applications view, the app names are truncated. I can't seem to find a setting relating to this with gsettings or Google. All I found was "this issue was fixed in GNOME 40," although ...
user avatar
6 votes
1 answer
1k views

How can I always show the mouse pointer on a touchscreen laptop?

I just upgraded to Ubuntu 22.04, and when I touch the screen, the mouse pointer disappears until I use the trackpad to move it outside the current window. I'd prefer to have the pointer visible at all ...
MiguelitoCogito's user avatar
0 votes
0 answers
134 views

Update system gsettings programmatically in C++

I'm running a service that needs to update the system wide proxy settings on Ubuntu. $ gsettings set org.gnome.system.proxy.http host 'my.proxy.com' $ gsettings set org.gnome.system.proxy.http port ...
anshah's user avatar
  • 21
5 votes
2 answers
2k views

Defaulting to or Persisting "Always on Visible Workspace"

How do I make the "Always on Visible Workspace" option persist across Suspend, login, and reboot? I use this option daily with the same few app windows. The "AoVW" option resets to ...
smcnally's user avatar
  • 396
0 votes
1 answer
785 views

Login loop: Gnome keyring.SystemPrompter exited with status 1 after recursive reset of gsettings

I was on this site looking for a solution to a segmentation fault that occurred when attempting to run gnome-control-center. I made the poor mistake of blindly following the solution posted here ...
infomaniac's user avatar
0 votes
1 answer
79 views

Every keystroke in the Gnome Activities search bar opens a new terminal

I've been experiencing this weird behaviour for about a month and a half -- Every time a key is pressed within the Activities search bar of Gnome, a new Terminator tab is opened. For instance, if I ...
atm-florianm's user avatar
1 vote
1 answer
203 views

Can I make my own .deb's that modify files created by other .debs?

For example, I'd like all the Ubuntu Desktops that I deploy to have some customization's to the settings found in /usr/share/glib-2.0/schemas/, but if i edit those files, and then do apt update &&...
Lucas Krupinski's user avatar
1 vote
0 answers
25 views

How to make clicking the sidebar icon to show a quickview of all of the opened instances of the similar app? [duplicate]

In Ubuntu 20.04,is it possible to make clicking the sidebar icon to show a glance of all of the opened instances of the similar app? Is there any plugin or other OTC GNOMEish desktop manager with ...
S.Khajeh's user avatar
  • 167
3 votes
1 answer
648 views

Why are my gnome extensions not listed in gsettings?

I want to automate my Ubuntu install and for that I also want to automatically install extensions and apply my settings. Unfortunately, if I install my extensions via the browser, I can not get my ...
MauriceNino's user avatar
1 vote
1 answer
599 views

gsettings command not affecting settings

I was trying to write a script that would enable and disable Do Not Disturb. As such, I was using the gsettings command to enable and disable notifications I used these two commands: gsettings set org....
ronin's user avatar
  • 11
6 votes
5 answers
8k views

Ubuntu 21.04 remove trash, user and drive icon from desktop?

I want to remove the trash icon, the home icon as well as the drives from my desktop. I've removed them in Ubuntu 20.04, but after updating, they were there again: I tried: gsettings set org.gnome....
Alwin's user avatar
  • 383
0 votes
1 answer
93 views

Move and remove icons in the Unity Dock

Is there an easy way to add or remove icons in the Unity Dock from the command line? I would have expected something like gsettings set org.gnome.shell.extensions..., but most solutions require Python ...
Socrates's user avatar
  • 2,473
1 vote
1 answer
231 views

Can I give filenames an opaque background on the desktop? They are hard to read against a busy wallpaper pattern

In Ubuntu 20.10, it's hard to read the names of items on my desktop when I use a busy wallpaper background image. Can I change a setting or something to make the text blocks have an opaque background?
MiguelitoCogito's user avatar
3 votes
1 answer
363 views

How to compare dconf files of two computers and intelligently merge them with `dconf dump` or `gsettings`

I have several computers running MATE desktop and I want to merge their setup (and keep them in sync afterwards). With dconf dump / I can get configuration details, but comparing the output (with meld)...
user855443's user avatar
2 votes
1 answer
426 views

How Can I Disable Spesific Hotkeys With GSettings in Ubuntu?

I could not find the right schema and commands to disable hotkeys in Ubuntu with gsettings. How can I disable some hotkeys? For example if I want to disable ALT+TAB what command should I use on ...
Nutabella's user avatar
2 votes
1 answer
388 views

How do gsettings interact and/or conflict with exported enviroment variables? (Ubuntu 20.04)

I am behind a corporate fire wall and have been trying to set up my proxy settings by using export in a shell script located in /etc/profile.d/proxy.sh (see, e.g., How to set system-wide proxy ...
user2514157's user avatar
1 vote
0 answers
101 views

How to completely disable Pop_OS plugin? [duplicate]

I don't remember how I installed the Pop_OS theme on my Ubuntu, but I want to get rid of it as when I restarted my laptop after installing this it's causing malfunctioning. My settings won't open, but ...
Tejasvi's user avatar
  • 11
0 votes
2 answers
573 views

Command-Line Way to Make Update Notifier Check Daily

Is there a way to make the update notifier check for updates daily (like you could in Software & Updates) from the command line or by editing a file? I checked the GSettings schemas, but didn't ...
programmer's user avatar
2 votes
1 answer
2k views

Can we change the default mouse cursor highlight color

If we enable mouse highlight ❯ gsettings set org.gnome.settings-daemon.peripherals.mouse locate-pointer true on pressing and releasing Ctrl key the mouse cursor gets highlighted. Can we change the ...
aahnik's user avatar
  • 139
2 votes
2 answers
4k views

Command to switch on/off sharing Ubuntu desktop

I'm looking for the command for switch on or off sharing from Ubuntu settings, to be able to share image, audio, or complete remote desktop control. In Ubuntu bionic, for example, default desktop, up ...
Reaversword's user avatar
1 vote
0 answers
342 views

GSettings key hi-dpi-factor not found in schema

I am almost a beginner to ubuntu. I installed a "netspeed" extension using the guide from here ubuntuhandbook. Its working fine but when I open gnome-tweaks to configure its settings, it ...
Back2Lobby's user avatar
1 vote
0 answers
33 views

Why is output from gsettings list-recursively slightly different when run from cron

I have run gsettings list-recursively locally from the terminal while logged into X11 on Ubuntu 20.04. Then I also configured a user-based cron job to run gsettings list-recursively from the cron and ...
Mitar's user avatar
  • 1,892
1 vote
1 answer
726 views

How to fetch the proxy configuration of the root and other users with GSettings cmd

I have an rpm package which runs with sudo rights, that application wants to fetch the proxy configuration of the machine (should fetch the proxy configuration of users level as well), As we know we ...
unknown's user avatar
  • 113
0 votes
0 answers
1k views

Gnome dock icons remain after closing program

When I close a program, the program's icon on my dock will remain for a few seconds. In the included image, I've closed Terminal, but it hasn't removed the icon from my dock yet. How can I make the ...
Makusu2's user avatar
  • 121

1
2 3 4 5 6