The stuff that I missed from XEmacs I could implement in 40 lines of elisp in GNU Emacs.
Two years ago the XEmacs packages were removed from Debian.
The XEmacs release manager - doing what the does best - has written a looong announcement about the ever slowing pace of XEmacs, and questions the future.
It has been a long time coming, but maybe a refocus for the folks left is a good thing.
After applying to join the Let's Encrypt beta program a while back, I got an email with an invite for the domains I registered.
Yesterday I set it up, using the '--standalone' mode of the letsencrypt-auto program - so I had to close down the webserver while it ran - and configured Apache to use the certificate obtained.
Very nice, and very nice job by the people working on Let's Encrypt!
I missed a good handful of my (sub)domains, so I have applied for those, and I am planning to get a certificate for use by my mail server, and one for my XMPP server next.
And then I need to automate the renewal of certificates - Let's Encrypt have chosen than certificates are valid for 90 days, making the downside of a security breach relatively small, while also encouraging people to automate the process.
In the beginning of the year, I got a new 4K 28" monitor. At the time I struggled a little to get my desktop computer to drive it at full resolution, but succeeded.
Later in the year I got a laptop and ditched the desktop altogether. Unfortunately I couldn't make the laptop drive the monitor at full resolution, so I ended up with a script running this command when connecting the laptop to the dock:
xrandr --display :0 --output DP1 --mode 2560x1440 --scale 1.5x1.5 --panning 3840x2160
which is kind of ugly, because the scaling makes the display quite fuzzy.
This evening I was trying to figure out how to make the touchpad less jerky - the default settings has a too high minimum move distance, if you can dig that. So I found this nice recipe: "Get a rock-solid Linux touchpad configuration for the Lenovo X1 Carbon", and was intrigued to find a page on using a 4K display with the laptop in question, on the same website.
He got it running at 30 Hz, but mentions a BIOS update to make 60 Hz work with the displayport cable. Hey, now we're talking! So I downloaded the latest BIOS update (which is 1.11 at the time of writing this, the page linked to above talks about 1.08), which comes as a 33 MB .iso on the Lenovo homepage.
Great, I'll just
dd that to a USB stick and boot from that. The docs do mention that only UEFI boot works for the iso, and that a USB CD-drive is mandatory. Regardless of what setting I put for UEFI booting in the Setup, I couldn't make it boot from the damned USB stick. I even tried another stick. Before giving up for the night, I searched for the problem, and found this page: "Updating the BIOS on Lenovo laptops from Linux using a USB flash stick".
The solution? Install the
genisoimage package, and then run "
geteltorito n14ur10w.iso > better.iso" to get an iso that can be
dd'd to a USB stick, and booted in Legacy mode.
BIOS updated, laptop connected to screen, and after running:
xrandr --display :0 --output DP1 --mode 3840x2160
full resolution - nice!
I don't know why, but suddenly font sizes in menus, notifications, and Nemo went down to miniature.
Adding a file /etc/X11/Xresources/xft containing "Xft.dpi: 150" fixed the problem.
GTK - go figure...
I couldn't make the 'Notifications' plugin for deluge work, and I want confirmation that a torrent has been added when I click a magnet link, so instead I configured the 'Execute' plugin to run this script on the 'Torrent Added' event:
#!/bin/sh /usr/bin/notify-send --icon /usr/share/pixmaps/deluge.png --expire-time 2000 'Deluge' "Torrent '$2' added"
So little effort, such reward.
Sometimes it is nice to know when a presence change alert from jabber.el happened, "X is now Online", "X is now Offline" - sure, but when was that?
defadvice to the rescue:
(defadvice jabber-presence-default-message (after add-timestamp-to-message last activate) (when ad-return-value (setq ad-return-value (concat "[" (current-time-string) "] " ad-return-value))))
*Messages* contains information like: "[Wed Aug 5 14:25:02 2015] X is now Offline" - nice!
Or there was some other reason that I forgot.
The latest one was related to OTR: notifications would show the encrypted text, and they would display when I wrote something myself. Not ideal. The author gave some hints, and I finally hacked together a solution - it isn't pretty or the right way, but it works for now.Author at Google+ Publisher at Google+