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
1
vote
1answer
28 views

How to properly configure a dconf schema from a gschema.xml file?

Well, looking for manners of manipulate dconf keys without a GUI I realize that, only when correctly setup a dconf schema enables its key management through GSettings CLI. I also observed that ANY ...
1
vote
2answers
36 views

Modify gnome-flashback panels in ubuntu 20.04 LTS from the terminal

I have a fresh installation of 20.04 LTS, I have installed gnome-flashback with: sudo apt-get install gnome-session-flashback -qq After logging in in the gnome-flashback Xsession I would like to ...
-1
votes
0answers
23 views

How to force gsettings change layout to work in Mint [closed]

Linux Mint 19.2 Tina, Cinnamon I have a problem when I'm switching layout with Alt + Shift in some applications. Using alt+shift not only changes the language, but also loses focus from the app text ...
0
votes
0answers
28 views

Ubuntu 20 UI Scale settings - using cmdline

I set up my Display Settings to scale for 200% like so: When I run some apps (e.g. some games using Steam in Full Screen) it resets this setting after I exit the app. I would like to create a shell ...
2
votes
0answers
26 views

What is the difference between always-on-top and toggle-above dconf variables on GNOME 3?

In Ubuntu 18.04 Bionic Beaver with GNOME 3 org.gnome.desktop.wm.keybindings is the path to manipulate default window management dconf variables. Inside this path we can find always-on-top and toggle-...
1
vote
1answer
50 views

Settings not changing through gsettings command

I'm trying to customize my Ubuntu installation using gsettings but upon new changes nothing happens using the gsettings command. For example I go to the terminal and I type gsettings set org.gnome....
1
vote
0answers
51 views

Why do gsettings and dconf return different values?

According to this post, it seems like gsettings uses dconf as a backend. I would therefore expect the following commands to output the same result: $ gsettings get org.compiz.core:/org/compiz/...
4
votes
0answers
182 views

Ubuntu 20.04, classic can't drag and drop problem [duplicate]

Installed 20.04 on 4/23 and can't drag and drop. I've had this issue with previous LTS installs and fixed it by toggling "experimental views" on/off through gsettings. That's not working this time.
5
votes
1answer
197 views

What exactly do dash-to-dock intellihide and intellihide-mode dconf variables do on GNOME 3?

At least since 18.04 Bionic Beaver, maybe previously, dash-to-dock GNOME extension was defined as system default dock application and its settings are stored through dconf. One of those got me ...
1
vote
0answers
21 views

Is it possible to call script to verify gsettings element?

I want to add a script to verify gsettings value. If user set a gsetting key:value using gsettings set command, then the script will be called and check whether the set operation was sucessful. Is it ...
0
votes
0answers
27 views

How do I export my custom keyboard shortcuts as a json to use in the GNOME extension “Shortcuts”?

I tried using gsettings get on my custom keyboard shortcuts, but it came out as an .xml file. I need to get it as a .json file in order to use them with the "Shortcuts" GNOME extension (the one where ...
0
votes
1answer
149 views

Why does dconf-editor think that my schema does not exist? [closed]

Using a fairly simple schema, with a single boolean key, I have not been able to get dconf-editor to accept that the key is actually defined anywhere and when I navigate to the key from dconf-editor, ...
1
vote
2answers
173 views

Wonderwall app for wallpapers don't change wallpaper

I've read BingWall is a Bing Wallpaper App for Ubuntu (on OMG! Ubuntu!). Then I installed the software bing-wall from a snap: sudo snap install bing-wall Then this app asked me to install the ...
0
votes
0answers
31 views

Users gsettings ubuntu 18.4

I have a doubt. I currently have a script ... which I run when I finish installing Ubuntu 18. And I don't know how I can add gsettings when executing it ... here is a sample of how it starts. #!/bin/...
0
votes
0answers
91 views

sudo -u <current_user> -H gsettings set org.gnome.desktop.background picture-uri file:///path/to/file

I'm using Ubuntu 18.04. The above command (and other gsetting command when used with sudo -u <user_name> -H) is/are showing a weird behavior.. (I'm expecting it to set the gsetting of the ...
1
vote
1answer
226 views

sudo -H -u <username> not working as expected

I'm working on a script to set some particular gsettings. If the script is being executed as user its working as expected. But, because of some reason I need my script to work with sudo. One solution ...
1
vote
1answer
509 views

Configuring network settings in Linux via gsettings/script/terminal

How do I configure network settings--like identity, IPv4 format (address, netmask, gateway, DNS), security and passwords--in Ubuntu 18.04 through a script? I couldn't find any gsettings schemas for ...
2
votes
1answer
382 views

Accidentally set 'sleep-inactive-ac-timeout' too low

My desktop is on AC power and is set to suspend after a certain amount of time. $ gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend' Then I ran this command: ...
1
vote
2answers
301 views

Ubuntu 19.04: The key is not writable - Drag and Drop issue/Background picture

I cannot drag and drop anything from the activities menu to the launcher/dock. I also cannot set my background picture or the lock screen picture. I tried this command in terminal and get the error ...
0
votes
0answers
70 views

How to use `gsettings set` to configure GNOME shell extension called `Log Out Button`?

I am not able to use gsettings set to configure the GNOME shell extension called Log Out Button. I had downloaded the extension's zip file from here. Thereafter, I extracted its directories and files ...
1
vote
1answer
324 views

How to use `gsettings set` to configure GNOME shell extension called Arc Menu?

I would like to change the icon image of the arc-menu found in GNOME Tweak Tool > Extensions > Arc menu > Appearance > Customize menu button appearance > Button appearance. However, I want to use ...
0
votes
1answer
74 views

Effect of sudo on the performance of `gsettings set` command

I wrote the following script to enable certain GNOME shell extensions. I noticed that this script will return different behaviours when it is executed as "sudo" as compared to "ordinary user". As ...
2
votes
0answers
110 views

List gsettings changes from default [duplicate]

Someone asked a question today on how to prevent windows from moving when monitors disconnect. I know I did this a few months ago with gsettings but can't remember the schema/key. How can I list all ...
3
votes
1answer
98 views

Ubuntu 18.04 Gnome: How to set Alt+Ctrl+Tab to switch between windows of all workspaces and Alt+Tab to switch between only current workspace

I know from previous answers here to set Alt+Tab to switch between only current workspace tabs: gsettings set org.gnome.shell.app-switcher current-workspace-only true How do I make Alt+Ctrl+Tab to ...
0
votes
1answer
156 views

What is the gsettings schema for Settings > Universal Access > Sounds Keys

look I'm using Ubuntu 19.04 and currently trying to enable the sound keys from a command line but not sure where to look for the schema. At first, I thought it was gsettings set org.gnome.desktop....
2
votes
0answers
99 views

ubuntu 16.04: nautilus ignores keys in dconf and gsettings

****** UPDATE - now fixed, see below ****** There is a mismatch between the preferences accessed via the nautilus menu and the values seen by dconf or gsettings. From the terminal I get: $ ...
0
votes
0answers
146 views

Problem with Ubuntu 16.04 and 18.04, settings doesn't change or saved

This is my story. Some months ago I installed an update to 16.04 which made the launcher and dock disappear. While trying my best to make it come back I must have made a mistake as - the system ...
1
vote
2answers
677 views

How to enable user themes in Gsettings (Gnome-Tweaks)

I am working in a chroot environment, and I need a command in terminal to set gnome-shell themes. In this case I'm wondering how I switch the "user-themes" setting on the gnome-tweaks extension tab (...
0
votes
0answers
25 views

Turning on minimizing on click on Ubuntu 18.04 [duplicate]

I tried this command in order to minimize on dock with single click on icon gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' But I get the following error: Using the '...
1
vote
1answer
179 views

New window placement behavior different on 19.04

Before upgrading from 18.10, whenever I would open a new window, it would open exactly to the top left, flush with the screen edge, like so: This was preferable because it made the most of my screen ...
6
votes
1answer
2k views

How to run gsettings for another user Ubuntu 18.04.2 LTS

I am trying to run gsettings for another user in Ubuntu 18.04.2 LTS. Specifically, I am attempting to prevent the user's screen from locking. This will be run as part of a bash script. The commands I ...
1
vote
0answers
36 views

When was my gsettings altered last?

Ubuntu 18.04. I set the following command to stop my laptop from suspending, but it appears that it has reverted to the default setting of 1800 when I recently checked. gsettings set org.gnome....
3
votes
0answers
172 views

How to create, configure and apply dconf custom keyfile/gschema for an existing Gnome 3 object?

I want to customize the top panel date time format as a strftime string. I have already achieved this by installing the very splendid 'Clock Override' extension, but looking at dconf documentation, ...
4
votes
1answer
209 views

How do I get the font scaling factor from cli?

How do I get the font scaling factor in Ubuntu? I need to find the appropriate way to get this value for Gnome, KDE and other systems. I need to know which function to call in order to obtain this ...
1
vote
1answer
234 views

Dconf settings in ~/.config/dconf/user.d/ not loaded

I've created valid keyfiles for configuring my Gnome terminal and placed them in ~/.config/dconf/user.d/termnial.conf but those settings are not getting picked up by the dconf system. Is this the ...
1
vote
0answers
228 views

Unable to change desktop background using gsettings in Terminal

I need to change my background wallpaper through terminal. So I entered this line in terminal: gsettings get org.gnome.desktop.background picture-uri 'file:///appdev/wallpaper.jpg' The output is: ...
2
votes
0answers
188 views

dconf database how to remove duplicate & triplicates?

My gsettings database has many entries that are duplicated or triplicated. Some are "normal" single entries. $ gsettings --schemadir /usr/share/glib-2.0/schemas list-recursively | grep button-power ...
7
votes
1answer
3k views

GNOME Night Light Setting from the Command Line

How do I turn the GNOME night light on or off from the command line? I've got the command gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled but don't know what flag/argument/...
1
vote
1answer
509 views

'gsettings' throws error while setting scroll wheel to switch between windows on Ubuntu 18.04

I have recently upgraded from Ubuntu 16.04 (Unity) to 18.04 (GNOME 3). I am trying to recover some Unity features I enjoy, such as switching between windows with just scrolling the mouse wheel over ...
1
vote
2answers
12k views

Cron not working, although the command works

My crontab is like as follows (I am trying to change my GNOME theme) crontab -l 0 5 * * * /usr/bin/gsettings set org.gnome.desktop.interface gtk-theme 'Adapta' 30 21 * * * /usr/bin/gsettings set org....
4
votes
1answer
153 views

Unable to change theme using terminal but can do via Tweaks

I did gsettings set org.gnome.desktop.wm.preferences theme Adwaita but nothing happens, except that when I do gsettings get org.gnome.desktop.wm.preferences theme I do get Adwaita (But the theme ...
1
vote
1answer
458 views

Energy settings with dconf Ubuntu 18.04 Gnome 3

The energy settings for "Blank screen" is set default on 5 minutes. You can edit them with the gnome-control-center, but I would like to have some dconf / gsettings to change the value. It's about ...
2
votes
1answer
3k views

Edit Gnome-Terminal profile from command line on 18.04

I am attempting to edit Gnome-Terminal profiles from the command line using gsettings. In order to use gsettings I need to know the keys and values contained in each profile. My problem is that dconf-...
1
vote
1answer
125 views

Change media-keys shorcuts in cinnamon

I've installed cinnamon on Ubuntu and I want to create a setup script. Including hotkeys. This post showed me how to add custom key-bindings, great. But how can I add '<Super>1' to the browser (...
4
votes
1answer
395 views

mapping between dconf dump output and gsettings schemas

For example : dconf dump / | grep mouse [org/mate/desktop/peripherals/mouse] .... So if I want to make a gsettings command based on this output, I look to gsettings to list the schemas, but.... (...
0
votes
1answer
479 views

Enable minimize to dock (Ubuntu 18.04)

I am doing the following to enable the minimize to dock function: sudo gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' But it doesn't work! Somebody knows another ...
0
votes
1answer
902 views

No such schema “com.canonical.indicator.datetime"

I am trying to add the year to my clock on my panel. From here https://superuser.com/questions/443982/how-can-i-show-the-current-year-in-ubuntus-clock-indicator-applet gsettings set com.canonical....
0
votes
2answers
143 views

' dconf reset -f / ' will this command remove the data in hard disk of ubuntu or not?

Will the command dconf reset -f / remove data from the hard disk where I've installed Ubuntu?
2
votes
1answer
358 views

Run gsettings with crontab

I've made a simple python script to change my wallpaper (Ubuntu 18.04) by randomly taking an image in a specific folder. I use gsettings command. It works when I run it manually, but I want to ...
0
votes
0answers
358 views

dconf and gettings show different results

My 18.04 laptop is not auto suspending on AC, although I can manually suspend it from the logout dialog, so there is no hardware issue. For testing purposes, I have tried a 60 second suspend. I am ...

1
2 3 4 5