[-] StrangeAstronomer@lemmy.ml 17 points 1 week ago

voidlinux: gave me much better battery life - I assume because it starts as a minimal system and one adds only the essentials to do the job - compared to the soup-to-nuts distros that pile everything in so that newbies are acccomodated. Of course, the voidlinux approach needs more linux skills - but it's not that hard and the doco is great.

Also, I love the back to basics runit init system and runsv service runner (I'm old so I like that stuff) and the ultra fast xbps packaging system.

[-] StrangeAstronomer@lemmy.ml 13 points 1 month ago

Thanks (to all the authors) for your hard work and contributions.

[-] StrangeAstronomer@lemmy.ml 2 points 3 months ago

BTW - thanks for Mistral. Another tool in the box!

[-] StrangeAstronomer@lemmy.ml 2 points 3 months ago

Quite right!

You need to take it all (AI or internet searches) with a huge pinch of salt. Even ye olde text books were not infallible and often out of date, so sodium chloride was also required even then.

The code either works or it doesn't - it's all in the testing. If you deploy AI suggestions without thought you deserve the consequences.

[-] StrangeAstronomer@lemmy.ml -3 points 3 months ago

so just use chatgpt or gemini - pretty sure they sucked in all of reddit to form their KB

[-] StrangeAstronomer@lemmy.ml 2 points 4 months ago

I followed up on github as you suggested and a very nice young man took a look at it and said that the code already does work the right way (at least the way I and their little poll think it should work). But, it turns out that the fix (from 2021) has not been deployed - it's to be in the next release.

So I don't know what will happen now - I'll continue to use my workaround, so I'm happy enough.

[-] StrangeAstronomer@lemmy.ml 5 points 4 months ago

So he's a journalist </s> Thanks for the warning, saved me a read.

[-] StrangeAstronomer@lemmy.ml 2 points 4 months ago

It might be more expected for you but I'm going to differ.

for an article (or a link to a image), it takes you there instead.

... and then you can't get to the discussion.

The RSS-2.0 definition of is

The URL to the HTML website corresponding to the channel.

so clearly, it should point to the lemmy post. No other RSS feed that I know of has this problem.

Fortunately, emacs can flex around this, but duh! Where can I raise a bug report?

15

Most entries in lemmy's RSS feed have a that points to the relevant lemmy post eg

Title: Any DE or distro without touch support?
Author: https://lemmy.ml/u/tarius
Date: Wed, 15 May 2024 01:24:59 AEST
Feed: Lemmy - linux
Link: https://lemmy.ml/post/15632012

That makes sense - clicking the link takes me to the conversation.

Other entries however, include a link to the subject of the conversation eg

Title: Wayland usage has overtaken X11
Author: https://lemmy.world/u/KISSmyOSFeddit
Date: Tue, 14 May 2024 03:30:46 AEST
Feed: Lemmy - linux
Link: https://lemmy.world/pictrs/image/a71c1b49-fb63-420d-8afc-d40661ffd79c.png

The feed I'm using is https://lemmy.ml/feeds/c/linux.xml

This is unfortunate as clicking the link in my reader (elfeed) does not show the conversation - I rely on the to take me there.

elfeed being built in elisp in emacs, I have been able to concoct a fix especially for lemmy - but it really feels like a bug in lemmy as no other feed needs it. Where can I report it or discuss it?

[-] StrangeAstronomer@lemmy.ml 2 points 4 months ago

Nice, sensible article.

You might also be interested in i3-menu for i3 and sway which presents a menu of i3/sway commands - very useful for those commands which one rarely uses or for which there is no key binding. It uses 'smart' comments in the config file.

[-] StrangeAstronomer@lemmy.ml 1 points 4 months ago

Another approach entirely is to use pam_mount(8) which can automatically mount a disc on login. I use it to mount /home/$USER (obviously this couldn't be used to mount the root fs !!)

[-] StrangeAstronomer@lemmy.ml 7 points 4 months ago

virt-manager for the win!

2

As a geriatric user of sway, I don't always remember the keystrokes in the more esoteric corners of my configuration. I find that my script sway-menu helps with the bulk of the uncommon key bindings. But when I drop into a 'mode' (eg "move" mode) I don't always remember all the clever things I programed into it. nwg-wrapper to the rescue - it can display a HUD (Heads-Up-Display) of the keybindings of the mode until I exit it.

Obviously, nwg-wrapper must be installed. Your config file also needs to be changed as described in the help file.

Here's the help:

Usage: sway-mode [-c,--config config-file] [-C,--css css-file] mode
Puts sway into mode 'mode' and displays some help by extracting a
section from the config file.

Options:

-c,--config config_file    location of your config file (/home/bhepple/.config/sway/config)
-C,--css css_file          location of your css file (/home/bhepple/.config/nwg-wrapper/mode-help.css)

Requires nwg-wrapper https://github.com/nwg-piotr/nwg-wrapper

Assumes modes are defined in the config file like this:

mode "foobar" {
...
}

To use this, reassign the bindkey command for the mode like this:

    bindsym  $mod+s  exec sway-mode "swap"

and in the mode definition, change the mode ending keys to

    # back to default mode
    bindsym q      exec pkill nwg-wrapper; mode "default"
    bindsym Return exec pkill nwg-wrapper; mode "default"
    bindsym Escape exec pkill nwg-wrapper; mode "default"

Here's a sample CSS file:

    window {
        font-family: "Monospace";
        color: rgba (255, 255, 255, 1.0);
        background-color: rgba (255, 255, 255, 0.1);
    }

    #box-inner {
        background-color: rgba (23, 53, 63, 0.7);
        border-radius: 5px;
        border-style: dotted;
        border-width: 1px;
        border-color: rgba (156, 142, 122, 0.7);
        padding: 10px;
    }
view more: next ›

StrangeAstronomer

joined 1 year ago