Using Kupfer on MATE

I am trying out MATE desktop and really liking it.

I like to use a (GNOME-Do style) keyboard-driven application launcher, and have found Kupfer really good.

Kupfer as packaged for Ubuntu MATE does not support MATE desktop, so the file manager (“Caja”) does not show up by default, along with other things like the preferences dialogs, and there is no support for actions like Log Out or Shut Down.

To get MATE applications to show up in Kupfer, all I had to do was make up a config value that is not presented in the preferences, by editing the config file:

pluma ~/.config/kupfer/kupfer.cfg

I found the line that started “desktop_type = ” and changed it to say:

desktop_type = MATE

Update [Thanks to Kristian Nygaard Jensen and Igor Santos]: if you can’t find that line in the file, add this at the bottom of the file:

[plugin_applications]
desktop_type = MATE

To get MATE session commands in Kupfer, I copied the GNOME session management plugin and made a similar one for MATE.

cd /usr/share/kupfer/kupfer/plugin
sudo cp session_gnome.py session_mate.py
sudo pluma session_mate.py

I just changed the 3 lines after “# sequences of argument lists”, and made them look like this:

LOGOUT_CMD = (["mate-session-save", "--logout-dialog"],)
SHUTDOWN_CMD = (["mate-session-save", "--shutdown-dialog"],)
LOCKSCREEN_CMD = (["mate-screensaver-command", "--lock"],)

When I restarted Kupfer I was able to open MATE applications and control the MATE session using Kupfer.

There is an open pull request from 2013 for Kupfer to add MATE session management: github.com/engla/kupfer/pull/15 – thanks to its author labero, since this showed me what I needed to do for that part.

Rabbit Escape 0.3.1 – now with zoom!

I’ve just release the latest version of Rabbit Escape, which makes things look a lot nicer because you can zoom in, getting you much closer to your rabbits:

rabbitescape-android-zoomed

There are still 60 levels of Lemmings and Pingus -like gameplay, all downloadable for free artificialworlds.net/rabbit-escape/.

I’ve also improved performance significantly, so you should notice things get smoother on older devices.

All those zoomed images increase the download size to 9MB, which is a pity, but that’s still pretty small.

Switching Xfce to use metacity

I am trying out Xfce and liking it. However, I’ve never found a window manager better than Metacity, so I’d like to use it.

Here’s how I switched:

# Install it
sudo apt-get install metacity metacity-themes

# Tell it how many workspaces I want
gsettings set org.gnome.desktop.wm.preferences num-workspaces 9

# Of course, put my maximise, close buttons etc. in the right place
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'

# See what themes are available
ls /usr/share/themes/

# Set the theme I want
gsettings set org.gnome.desktop.wm.preferences theme Dopple

# Try it out immediately
metacity --replace

# Make the change permanent, log out and edit
# ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
# and change this line:
#  <property name="Client0_Command" type="empty"/>
# to this:
#  <property name="Client0_Command" type="array"><value type="string" value="metacity"/></property>

fetchmail complaining about GoDaddy SSL certificate

Update: I don’t think this fixed the problem

I was getting this every time I ran fetchmail.

fetchmail: Server certificate verification error: unable to get local issuer certificate
fetchmail: Broken certification chain at: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2
fetchmail: This could mean that the server did not provide the intermediate CA's certificate(s), which is nothing fetchmail could do anything about.  For details, please see the README.SSL-SERVER document that ships with fetchmail.
fetchmail: This could mean that the root CA's signing certificate is not in the trusted CA certificate location, or that c_rehash needs to be run on the certificate directory. For details, please see the documentation of --sslcertpath and --sslcertfile in the manual page.
fetchmail: Server certificate verification error: certificate not trusted
fetchmail: Server certificate verification error: unable to verify the first certificate
fetchmail: Warning: the connection is insecure, continuing anyway. (Better use --sslcertck)

I appear to have fixed it by running:

sudo c_rehash

I found this by reading the documentation on --sslcertpath in the fetchmail man page. (As the error message told me to…)