Monday, March 7, 2016

Tip: Fixing mouse cursor theme in Atom window on CentOS 7.x


When hovering over the Atom window it is visible that the mouse cursor doesn’t match the default GNOME desktop environment mouse cursor theme, Adwaita.

X11 default mouse cursor is defined in /usr/share/icons/default/index.theme and by a regular CentOS install is left to dmz-aa.

To have a coherent theme across GNOME GTK3 windows and Atom, change it the X11 theme to that of GNOME:

# sed -i 's/dmz-aa/Adwaita/g' /usr/share/icons/default/index.theme

Friday, January 15, 2016

Tip: Fixing X201 monitor brightness dim on CentOS 7.x / GNOME 3.14.x

This one was driving me crazy...

With a recent update (can't pinpoint which because I have the nasty habit of updating often but only rebooting once in a blue moon) my Lenovo X201 monitor started dimming the brightness after something that felt like 30s without input from mouse or keyboard.


This smelled like GNOME gsettings and after mucking around I found how to deal with the issue:
$ gsettings set org.gnome.settings-daemon.plugins.power idle-brightness 300

Basically gsettings can used to set the key (I've choosen to change from the previous set 30 to 300 seconds) of a target schema (idle-brightness) within the org.gnome.setting-daemon.plugins.power schema directory.

For more on gsettings:
  1. $ man gsettings
  2. $ gsettings help

Now wasn't that cool or what?