StrangeAstronomer

joined 2 years ago
[–] StrangeAstronomer@lemmy.ml 4 points 15 hours ago

If you're in the US, refurbished thinkpads are probably the best option. Not so much here in Australia (but you mentioned GBP so perhaps you're in UK). Whatever. I bought a refurb Dell Latitude 3120 for AU$229

mfg yr 2021 Intel(R) Pentium(R) Silver N6000 @ 1.10GHz 8Gb RAM Intel UHD graphics Intel Wi-Fi 5 9560 (160 MHz) Bluetooth 5.0 Display: 1366 x 768 11.6" touchscreen 2-in-1 Disc: M.2 256Gb PCIe NVME Class 35 SSD 1.35kg

Runs voidlinux like it was born to it. It's my travel laptop.

[–] StrangeAstronomer@lemmy.ml 1 points 1 week ago

It's probably more to do with hardware than distro. That said, using major distros is more likely to win. FWIW I've used fedora and voidlinux on my 3 Dell laptops over the last 12 years with nary a problem. One of them had nvidia but I used nouveau.

[–] StrangeAstronomer@lemmy.ml 2 points 1 week ago

voidlinux still has the 390 drivers available. I'm sure others do too:

[-] nvidia390-390.157_6 NVIDIA drivers (GeForce 400, 500 series) - Libraries and Utilities [-] nvidia390-dkms-390.157_6 NVIDIA drivers (GeForce 400, 500 series) - DKMS kernel module [-] nvidia390-gtklibs-390.157_6 NVIDIA drivers (GeForce 400, 500 series) - GTK+ libraries [-] nvidia390-libs-390.157_6 NVIDIA drivers (GeForce 400, 500 series) - common libraries [-] nvidia390-opencl-390.157_6 NVIDIA drivers (GeForce 400, 500 series) - OpenCL implementation

[–] StrangeAstronomer@lemmy.ml 2 points 3 weeks ago (1 children)

Much less troublesome to ditch the display managers, log in from the tty and run sway from a script such as mine

[–] StrangeAstronomer@lemmy.ml 8 points 1 month ago (1 children)

actual boomer here with foot on sway

[–] StrangeAstronomer@lemmy.ml 4 points 1 month ago

The biggest problem with RDP for me is the lack of a Wayland/sway server. How does the Fedora Sway spin cope with this?

[–] StrangeAstronomer@lemmy.ml 8 points 2 months ago (1 children)

True - but don't forget cost of power ($ cost and environment cost). These old brutes consume a lot esp. compared to the SBCs.

[–] StrangeAstronomer@lemmy.ml 7 points 2 months ago (1 children)

I have a Luckfox Pico Ultra-W running a 'buildroot' linux with a camera module that I use as a security camera. It cost me about A$33.

I also have a Luckfox Pico Max running ubuntu simply to run smokeping 24x7 monitoring - about A$30.

Finally a ESP32 CAM Camera Module With OV2640 camera that can be bought for less that A$15 (not linux but just FYI).

[–] StrangeAstronomer@lemmy.ml 7 points 2 months ago (1 children)

venerable jq

Ha! jq was the bratty kid I yelled at to get off my lawn. Now he's a drinking buddy, but still the youngest!

[–] StrangeAstronomer@lemmy.ml 9 points 2 months ago (6 children)

Almost anything plus mythtv, firefox, transmission and mpv. Done. I use voidlinux. Best ever.

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

I've been saying this for 30+ years, but no-one wanted to listen.

 

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?

 

... more an annoyance really, and not elfeed's fault at all but ...

[first posted on reddit/r/emacs but probably more interesting here]

lemmy RSS feeds (such as "https://lemmy.ml/feeds/c/emacs.xml") often (but not always) have mis-guided "Link:" elements which target an external link, an image file or other material instead of the lemmy post itself. Consequently, hitting 'b' elfeed-search-browse-url may send one on a surprising if not always useful journey.

eg

Title: Keymacs, a program to generate Emacs keybindings | Plain DrOps
Author: https://feddit.de/u/DrOps
Date: Tue, 23 Apr 2024 23:35:25 AEST
Feed: Lemmy - emacs
Tags: emacs, lemmy
Link: https://plaindrops.de/blog/2024/keymacs/

submitted by DrOps to emacs
8 points | 2 comments
https://plaindrops.de/blog/2024/keymacs/

In this case, the link to lemmy itself is in the "2 comments" => https://lemmy.ml/post/14798221

Here's a little hook to fix it up - it also marks the entry with the tag 'lemmy-fixed' ...

(defun elfeed-fix-lemmy-link (entry)
  "Fix lemmy.ml RSS feed links in elfeed."
  (when-let ((url-base-regexp "https://lemmy\\.ml/")
             (feed (elfeed-entry-feed entry))
             (feed-url (elfeed-feed-url feed))
             ((string-match-p (concat url-base-regexp "feeds/c/") feed-url))
             (entry-link (elfeed-entry-link entry))
             (link-url-regexp (concat url-base-regexp "post/[0-9]+"))
             ((not (string-match-p link-url-regexp entry-link))))
    (when-let ((content (elfeed-deref (elfeed-entry-content entry))))
      (let ((lines (split-string content "\n")))
        (dolist (line lines)
          (when (string-match link-url-regexp line)
            (let ((post-link (substring line (match-beginning 0) (match-end 0))))
              (setf (elfeed-entry-link entry) post-link)
              (elfeed-tag entry 'lemmy-fixed)
              (message "Fixed lemmy link in elfeed: %s" post-link)
              (cl-return))))))))
(add-hook 'elfeed-new-entry-hook #'elfeed-fix-lemmy-link)

Thanks to u/karthik for getting me started with this. The crappy elisp is mine not his (roast me!)

 

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 ›