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
3
votes
1answer
179 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....
0
votes
1answer
14 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 ...
0
votes
0answers
20 views

Computer wake-up just after suspend

I'm running ubuntu 18.04 and frequently use the suspend button. After trying gsettings set org.gnome.desktop.screensaver lock-enabled false to wake without prompting for the password and gsettings set ...
1
vote
1answer
218 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?
3
votes
1answer
51 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)...
2
votes
1answer
74 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 ...
1
vote
1answer
75 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 ...
2
votes
0answers
91 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 ...
0
votes
2answers
67 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 ...
3
votes
0answers
65 views

How can I limit the last row of file or folder's name in Nautilus?

G'Day! I am using Ubuntu 18.04.5. Files and folders names are displayed in three rows as you can see here, but the last row are displayed with the complete name. In Ubuntu 20.04 everything shows ...
1
vote
1answer
470 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 ...
2
votes
1answer
287 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 ...
0
votes
0answers
144 views

Ubuntu 20.04: Unable to change background/dock icon size using gsettings from command line but can change from dconf editor

I want to change the background and dock icon size using 'gsettings' to include it in a shell script. But this happens: (base) hrishikesh@hrishikesh-OMEN-by-HP-Laptop-15-dc1xxx:~$ gsettings set org....
1
vote
0answers
77 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 ...
0
votes
0answers
47 views

Xubuntu - gsettings set org.gnome.desktop.wm.keybindings close “['F4']” does not work

On Xubuntu gsettings set org.gnome.desktop.wm.keybindings close "['F4']" and gsettings set org.gnome.desktop.interface clock-show-seconds true and other gsettings set... do not work. $ ...
1
vote
0answers
15 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 ...
1
vote
1answer
81 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 ...
0
votes
0answers
236 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 ...
1
vote
1answer
98 views

Define Proxy settings GNOME3

Last month I created a script I use to connect to a SOCKS proxy, when I ran the following commands - gsettings set org.gnome.system.proxy mode manual gsettings set org.gnome.system.proxy.socks host ...
2
votes
1answer
266 views

Display scaling setting - difference between Gnome Tweaks and Gnome Display settings

Both gnome-tweak-tool and Display settings tools seem to offer a way to change the scaling of the display (See screenshot below), however it is not clear to me how they are related and which controls ...
0
votes
1answer
48 views

Setting Gnome extension from C shell (csh)

I want to set the enabled-extension but when I do this, it doesn't work. echo just prints to console and exec either say "File name too long" or shows me the usage for gsettings. But if I ...
1
vote
1answer
608 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 ...
2
votes
2answers
2k 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 ...
0
votes
0answers
322 views

Ubuntu 20.04 LTS 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
39 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
904 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
55 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
236 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.
6
votes
1answer
730 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
22 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 ...
1
vote
0answers
105 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
601 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
573 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
35 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
183 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
388 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
1k 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
847 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
761 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
113 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
595 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
116 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
189 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
185 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
273 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
151 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: $ ...
1
vote
2answers
2k 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
26 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
357 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
4k 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
2 3 4 5