exwm as a recognized desktop manager (my KDE SDDM)

For the past years I have had a little script that shuffles my ~/.profile file back and forth so that rebooting starts in exwm or not, since starting in my GUI is occasionally exactly what I need. Reviewing the exwm page1, though, I found a way of adding exwm (actually, “emacs”) to the list of “Start Session In…” options that are shown on the login screen, which bypasses the ~/.

straight change repo?

I just had an issue in which I changed the repo of a package I had been using (use-package), to a fork of that package. Making that change in Straight proved that either there needs to be an easy way, or I need to know the easy way. Due to conflicting recipes I ended up changing the use-package statement (expected), editing the straight cache file (ugh), manually deleting folders in /repos and /builds, and restarting emacs.

pdftools cannot open libpoppler.so.108

Error Message File mode specification error: (error Error running ‘/home/me/epdfinfo’: /home/me/epdfinfo: error while loading shared libraries: libpoppler.so.108: cannot open shared object file: No such file or directory Fix My system recently upgraded libpoppler to 1.09 with no 1.08 in sight. By making a symlink so that 1.08 is actually pointing at 1.09, pdftools resumed operation. A risky maneauver since we can’t guarantee 1.09 isn’t breaking, but it seems to work here and could be easily undone if necessary.

why does exwm sometimes fail to connect to extra monitors?

I have a 3-monitor setup, using a USB3 dock. Plugging in to my windows machine just works; all monitors connect. However, plug in into my exwm machine sometimes fails, where the extra monitors will remain blank. Usually this is easily fixed when I see it; I press C-M- to open up a terminal outside exwm, and all monitors come alive; then C-M- back to exwm and it finds them, and all workspaces are where they should be.

a cautionary tale on modelines and on updating your emacs config

I recently began having major problems with emacs, including my emacs freezing for significant amounts of time and my exwm windows requiring a repeated command to share focus: one for emacs to think it was focusing there, and another for exwm to move its focus. It never occurred to me that they were related, and efforts to sort them out went to a recent juncture in which I’d both performed a rolling-system upgrade (3000+ packages and Linux kernel upgraded) and also some major upgrades to my emacs config.

locking repos to avoid installation with zypper dup

** Especially on a rolling distro you sometimes want to avoid certain package updates that might break your system. Note that I’ve aliased sudo zypper to z (which I highly recommend). z addlock Mesa-dri-nouveau

grep one result per file

I use find-grep daily to find a “today in previous journals” (which is one of the only true services Facebook provides, for those who don’t value their privacy). Those entries then go into each day of my daily journal. The trouble is, after you do this for a few years, a big chunk of your daily matches are those same matches from yester-year. I organize my journals by year, so really I just want the first entry that matches a day for each year, and I don’t need the sub-entries.

Firefox address in titles for exwm

Using bufler1 and selectrum2 to navigate browser buffers concisely. Firefox plugin Because one of exwm greatest benefits is using emacs’ in-built buffer methods for navigation, it is handy to include the address of any website in its title so the buffer can be found by just searching, e.g., “slack”. For this reason the misleadingly named “KeePass Helper"3 is tremendously useful. Now I can easily select my buffers with a random-access method off a portion of the URL.

selected for brilliant emacs selections

I just discovered1 selected.el2 and am impressed: it is a perfect example of a simple idea that is enormously powerful. This is the kind of idea that leaves you wondering, “why haven’t I thought of that before?” Part of the simplicity is that you define all your own keys for your own usage. Below is my invocation so far, for things I use often. I’m also trying out the move-text3 script, though it isn’t part of my workflow yet.

how to include instructions within the enumerate in orgmode latex export?

Orgmode exported to latex automatically renders lists into enumerate blocks. The trick was to insert some parameters WITHIN that enumerate block to tweak a particular list output. The answer1 turned out to lie in the #+ATTR_LATEX: command, as follows: Orgmode In #+ATTR_LATEX: :options \setlength{\itemsep}{1pt} \setlength{\parskip}{0pt} \setlength{\parsep}{0pt} 1. first 2. second 3. third Latex Out \begin{enumerate} \setlength{\itemsep}{1pt} \setlength{\parskip}{0pt} \setlength{\parsep}{0pt} \item first \item second \item third \end{enumerate} Footnotes 1 StackExchange for this question, including the answer from NickD: https://emacs.