… Which means that businesses are making ‘too much’ money on top to sink into such endeavors, no?
Thank you!
This is what I came up with.
So you’d save the scripts somewhere you like, and run the useThisSession
one in the session you’d like to be the target.
Then, you can run / bind to a shortcut / … the runCommand
script, and it will show, raise, set Session, and run the command on the target saved earlier.
useThisSession.sh
:
#!/bin/bash
# useThisSession
echo MYCMD_SERVICE=$KONSOLE_DBUS_SERVICE > ~/.config/mycmdrc
echo MYCMD_SESSION=${KONSOLE_DBUS_SESSION#/Sessions/} >> ~/.config/mycmdrc
echo MYCMD_WINDOW=${KONSOLE_DBUS_WINDOW#/Windows/} >> ~/.config/mycmdrc
runCommand.sh
:
#!/bin/bash
# runCommand
. ~/.config/mycmdrc
qdbus $MYCMD_SERVICE /konsole/MainWindow_$MYCMD_WINDOW showNormal
qdbus $MYCMD_SERVICE /konsole/MainWindow_$MYCMD_WINDOW raise
qdbus $MYCMD_SERVICE /Windows/$MYCMD_WINDOW setCurrentSession $MYCMD_SESSION
qdbus $KONSOLE_DBUS_SERVICE /Sessions/$MYCMD_SESSION runCommand "echo cmd"
For testing purposes, I’m using "echo cmd"
instead of '!!'
(note the different type of quotes) to not cause any… unintended… executions.
Running qdbus $MYCMD_SERVICE /konsole/MainWindow_$MYCMD_WINDOW
will show you all methods available on the Window, eg, so you can pick&choose from those if you want different behaviour from show (& un-minimize) and raise.
EDIT: syntax adjusted to work in ‘regular’ bash
Soo… If we could figure out how to do the first one via DBus/from the command line, you could put both in a script and bind that to a (global or so) shortcut, and be set. (?)
What qdbus command line exactly are you using to post input to the shell within Konsole?
I’ll have a look later when I’m at my desktop again (and hopefully will remember).
For the vendor (non-)consent thing - Consent-O-Matic provides an appropriate framework.
(Whether such a side would even care about the preference/consent is another matter entirely - I’d suggest a throwaway browser identity and cookie auto delete for a start, anyway.)
Creating rules has a bit of a learning curve the first three or seven times, but I find that more interesting to do than go through a hostile/dark pattern cookie dialog or such the third time.
Hm, maybe the appropriate functionality from CoM could be re-wrapped as a TamperMonkey module…
Web automation for the masses 😱
12ft.io and/or archive.is/archive.today/… are worth trying in such cases (assuming you already have the latest version of the current ByPass addon, see the other comment).
Regarding cookie pop-ups, there’s a little known gem: https://consentomatic.au.dk/
It allows me to run any weird combination of applications I feel I need on a given day, (fairly) easily integrating basically all open source packages with a custom/local overlay and have those managed as part of the system just like everything else.
(sorry about the multi posting, Jerboa was giving me network errors and it seemed like the comment hadn’t gone through.)
deleted by creator
You might also want to look into Zstandard - it gives much better ratios in orders of magnitude quicker time on modern hardware.
A bit down on the page you can find versions of the 7-zip graphical archive manager extended with this Zstandard algorithm.
Like normal 7-zip/traditional zip/rar/gzip/bz2/…, Zstandard is completely (guaranteed) lossless.
(I don’t really know about ECM at all, so I won’t speak on that aspect.)
deleted by creator
Thinking like a good little git(hub) user, the term “Forked Community on Lemmy” came to mind all too easily.
For someone coming from NeXTStep (BSD based), having worked with SCO, various BSD and mostly Linux for the last 20 years, the worst thing about systemd is documentation that’s easily accessible/readable for people used to a traditional init system.
“How do I get it to do special use case X” was a basically unanswerable question when it got dragged into the mainstream (for reasons I can very well understand - the reasons for the dragging, that is, the bad docs, not so much).
Maybe that’s improved in the mean time - I wouldn’t know, I had to figure it out back then and now I know its lingo when searching and such.
For those who like a video format, I found this introduction quite informative.
I started with SLS around 1993, tracking it into Slackware. From 1996 thereabouts on, I used RedHat mostly and Suse occasionally.
Both of those going more commercial each in their own ways didn’t sit too well with me.
In 2004 I found gentoo, and am sticking with it for most everything since.
Usually those all need to be in the same folder, and you launch unrar with the file with no (if such one exists) or the lowest number (0 of 1) only.