All Projects → jistr → ansible-gsetting

jistr / ansible-gsetting

Licence: Apache-2.0 license
Ansible module for setting GSettings entries

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ansible-gsetting

gnome-shell-extension-containers
containers is a gnome-shell extension to manage linux container, run by podman
Stars: ✭ 40 (+5.26%)
Mutual labels:  gnome
gnome-shell-notifications-alert
Whenever there is an unread notification (e.g. chat messages), blinks the message in the user's menu with a color chosen by the user.
Stars: ✭ 43 (+13.16%)
Mutual labels:  gnome
x11-fractional-display-scaling
Script and instructions to get fractional display scaling working nicely on Linux distros that use X11
Stars: ✭ 52 (+36.84%)
Mutual labels:  gnome
arch.linux.tutorial
This repository contains scripts, configuration files, and Arch Linux installation guide
Stars: ✭ 23 (-39.47%)
Mutual labels:  gnome
gnome-shell-extension-transparent-window
Gnome shell extension which changes the opacity of window through mouse operation.
Stars: ✭ 38 (+0%)
Mutual labels:  gnome
DownloadRedditImages
Easily download all the images from any subreddit (also select sort_type if you want hot/top/new/controversial, and also sort_time day/week/month/year/all). Randomly select downloaded images and set as wallpaper, updating every 30 mins (or whenever you want duh)!
Stars: ✭ 66 (+73.68%)
Mutual labels:  gnome
Minimalism-Gnome-Shell
Minimalism Gnome Shell Extensions
Stars: ✭ 31 (-18.42%)
Mutual labels:  gnome
sysinfo
System monitor extension for Argos
Stars: ✭ 19 (-50%)
Mutual labels:  gnome
gtk
🎨 Omni for GTK and Gnome Shell
Stars: ✭ 35 (-7.89%)
Mutual labels:  gnome
Linux Dynamic Wallpapers
Dynamic Wallpapers for Linux
Stars: ✭ 305 (+702.63%)
Mutual labels:  gnome
pw3270
3270 Emulator for gtk
Stars: ✭ 38 (+0%)
Mutual labels:  gnome
alexandria-book-collection-manager
Fork of the Alexandria Book Collection Manager
Stars: ✭ 24 (-36.84%)
Mutual labels:  gnome
fedora-post-install-script
A Fedora GNOME post-install script
Stars: ✭ 28 (-26.32%)
Mutual labels:  gnome
swamp
Navigate your backed up data without drowning.
Stars: ✭ 34 (-10.53%)
Mutual labels:  gnome
g3kb-switch
CLI keyboard layout switcher for Gnome Shell
Stars: ✭ 38 (+0%)
Mutual labels:  gnome
gnome-hud
Unity like HUD menu for the GNOME Desktop Environment using rofi menu.
Stars: ✭ 111 (+192.11%)
Mutual labels:  gnome
gnome-nvidia-extension
A Gnome extension to show NVIDIA GPU information
Stars: ✭ 29 (-23.68%)
Mutual labels:  gnome
dippi
Calculate display info like DPI and aspect ratio
Stars: ✭ 57 (+50%)
Mutual labels:  gnome
blur-me
Extension that adds a blur look to applications and to different parts of the GNOME Shell, including the top panel, dash and overview
Stars: ✭ 166 (+336.84%)
Mutual labels:  gnome
gnome-shell-extension-transparent-top-bar
GNOME Shell extension that brings back the transparent top bar when free-floating in GNOME Shell 3.32
Stars: ✭ 57 (+50%)
Mutual labels:  gnome

ansible-gsetting

Ansible module for setting GSettings entries.

See also ansible-dconf.

Installation

curl https://raw.githubusercontent.com/jistr/ansible-gsetting/master/gsetting.py > ~/ansible_dir/library/gsetting

Usage examples

- name: do not remember mount password
  gsetting:
    user: jistr
    settings:
      org.gnome.shell.remember-mount-password: false
      org.gnome.desktop.wm.keybindings.panel-main-menu: "@as []"
      org.gnome.nautilus.preferences.default-folder-viewer: "'list-view'"

If you want to run Ansible as the user you want to adjust settings for, you should omit the user parameter:

- name: shortcut panel-main-menu
  gsetting:
    settings:
      org.gnome.desktop.wm.keybindings.panel-main-menu: "@as []"

Be careful with string values, which should be passed into GSetting single-quoted. You'll need to quote the value twice in YAML:

- name: nautilus use list view
  gsetting:
    user: jistr
    settings:
      org.gnome.nautilus.preferences.default-folder-viewer: "'list-view'"

- name: nautilus list view columns
  gsetting:
    user: jistr
    settings:
      org.gnome.nautilus.list-view.default-visible-columns: "['name', 'size', 'date_modified', 'permissions', 'owner', 'group']"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].