Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

walthervonstolzing, (edited ) to linux in Nautilus File Manager Gets More Features Ahead of the GNOME 46 Release - 9to5Linux
@walthervonstolzing@lemmy.ml avatar

Putting the following with executable permissions inside ~/.local/share/nautilus/scripts/SCRIPTNAME adds a right click menu to Nautilus that serves the same purpose:


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">CLIPBD=''
</span><span style="color:#323232;">[[ "${XDG_SESSION_TYPE}" == "x11" ]] && CLIPBD='xsel -ib'
</span><span style="color:#323232;">[[ "${XDG_SESSION_TYPE}" == "wayland" ]] && CLIPBD='wl-copy --trim-newline' && wl-copy --clear
</span><span style="color:#323232;">
</span><span style="color:#323232;">echo -n "${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS}" 
</span><span style="color:#323232;">  | tee >(xargs -I {} notify-send "Path Copied:" "{}") 
</span><span style="color:#323232;">  | ${CLIPBD}
</span>

The ‘notify-send’ bit isn’t necessary; it just puts up a notification.

Mentioning only because it’s a simple demonstration of a pretty easy way to extend Nautilus for all kinds of purposes; w/o messing around with the pygobject interface. (There’s supposed to be an xdg standard for file manager extensions like this, but managers use their own custom folders, syntax, etc. for such extensions. I think pcmanfm adheres to the standard; Dolphin requires a .desktop file somewhere; Thunar, Caja, & Nemo work similar to Nautilus.)

walthervonstolzing, to linux in I feel like I'm missing out by not distro-hopping
@walthervonstolzing@lemmy.ml avatar

Dinsdale?

walthervonstolzing, to lemmyshitpost in Surely you can't be serious.
@walthervonstolzing@lemmy.ml avatar

Sure if you drag it through the garden.

walthervonstolzing, to lemmyshitpost in King shit
@walthervonstolzing@lemmy.ml avatar

What I can’t quite make sense of, is how ‘James’ itself is a diminuitive of ‘Jacob’.

walthervonstolzing, to lemmyshitpost in King shit
@walthervonstolzing@lemmy.ml avatar

I believe ‘Harry’ is the Welsh version of English ‘Henry’, & German ‘Heinrich’. … At least that’s the impression I got from Shakespeare’s ‘Henriad’ plays (H. IV 1-2, & H. V)

walthervonstolzing, to linux in Happy 1704067200 seconds since 1970
@walthervonstolzing@lemmy.ml avatar

GNU-Epoch is not the UNIX-Epoch.

walthervonstolzing, to linux in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future
@walthervonstolzing@lemmy.ml avatar

Hi; I rely on nvidia-smi mostly; but the nvidia-settings gui app also shows temperatures & wattage (though that app might be x11-only).

walthervonstolzing, to linux in Is anyone using awk?
@walthervonstolzing@lemmy.ml avatar

awk predates perl as well as python by a pretty large margin (1978); it’s useful, of course, for processing things in a pipeline, but as it became obsolete as a general-purpose scripting language, users have had less and less of a reason to learn its syntax in detail – so nowadays it shows up in one-liners where it could be replaced by a tiny bit of cut.

I had worked through a good bit of the O’Reilly ‘sed & awk’ book – the first programming book I got, after being enticed by shell scripting in general. Once I learned a bit of Python, & got better at vim scripting, though, I started using it less and less; today I barely remember its syntax.

walthervonstolzing, to linux in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future
@walthervonstolzing@lemmy.ml avatar

FWIW, I’m typing this on the latest GNOME, on wayland, on nvidia proprietary drivers; and it works just fine — EXCEPT for suspend & resume, which is annoying to be sure; but on 2 screens with different refresh rates & different dpi ratios I at least don’t run into some of the weird behavior I do run into using X11.

I used to be an Xfce purist; but this particular setup is even less taxing on the GPU (GTX 970) compared to Xfce’s standard compositor (around 20W on light usage, vs. 35+W); & and the font rendering is slighly better, which is a huge factor AFAIC.

walthervonstolzing, (edited ) to linux in D-Bus overview
@walthervonstolzing@lemmy.ml avatar

Skimmed over the whole article – I wish this had been available back when I was trying to piece together the basics from the documentation. There really needs to be a 2nd part, though, with some discussion of the GVariant signatures, which the author says were ‘beyond the scope of’ this article – which is true; nevertheless, understanding that syntax (and how to use it e.g. with gdbus) is an absolute requirement for using dbus properly; and as a silly amateur, I lost so much time over them.

walthervonstolzing, to lemmyshitpost in Motivational
@walthervonstolzing@lemmy.ml avatar

Better cite Wozniak as the one who ‘made’ Apple; but anyway.

walthervonstolzing, to linux in Kernel 6.6.6 is out 😈
@walthervonstolzing@lemmy.ml avatar

Oh wow I didn’t realize he repeated ‘developers, developers, …’ 666 times on that event.

walthervonstolzing, (edited ) to linux in Kernel 6.6.6 is out 😈
@walthervonstolzing@lemmy.ml avatar

This can’t go on, I must inform the Hurd,
Can this monolith be real, or just some crazy dream?
But I feel drawn towards the GPL-2,
Seem to mesmerize, can’t avoid Tivoization!

walthervonstolzing, to risa in The Department of Temporal Investigations is on the case
@walthervonstolzing@lemmy.ml avatar

Those are Stimpies though. Stimpies of the Ren faire.

walthervonstolzing, to linux in what caused you to get into Linux?
@walthervonstolzing@lemmy.ml avatar

My Mac died, at which time I was already a commandline enthusiast, & unable to afford a new Mac.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #