Capturing a screenshot of the GDM login screen

These days GDM on Debian is running using Wayland, so the classic way of taking a screenshot using the X protocol does not work:

# Sleeping before launching the command allows to switch to the login screen
# before the screen gets actually captured.
# Otherwise if the login screen is not visible, only a black image will be
# captured.
sleep 6

sudo -u Debian-gdm\
  DISPLAY=:0 \
  XAUTHORITY=/var/run/user/109/gdm/Xauthority \
  import -display :0 -win root /tmp/GDM-screenshot.png"


Experimenting with Gtk+ theme variants: Adwaita red

Most Gtk+ themes offer a “light” and a “dark” variant, however I found out that these names are just conventional: a Gtk+ theme can define variants with arbitrary names, so maybe this can be used for some fun stuff.


Gnome 3: go to Shell? Not just yet, thanks.

In Debian Unstable the transition to Gnome 3 is taking place; when Gnome 3.0 firstly came out some unnamed geeky users complained loudly about the design decisions of the development team to push strongly towards gnome-shell as a new default UI; gnome-shell was designed focusing on usability (usability is a metric relative to a certain target audience BTW) and simplicity, hiding a lot of details from the users. Obviously you can never make everyone happy so some of us simply happened to be “out of target”: you know us computer people (*cough cough*), we like to be in charge and control The Machine...

Gnome Shell default look on Debian
gnome-tweak-tool show desktop icons
Gnome 3 fall-back mode default look on Debian
Gnome 3 fall-back mode applets rearranged
Gnome 3 fall-back mode rethemed to have a light panel


AO2 runs into autorun.inf

Some days ago I bought this USB Hard Drive and when I first plugged it in, the mounted filesystem showed up in the File Manager with a custom icon, so I thought I could use my own custom icon instead and it turned out to be quite easy.

Custom icon for a USB drive on GNOME
Custom icon for a USB drive in the Nautilus file manager