Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PA
Posts
0
Comments
434
Joined
2 yr. ago

  • The manual for tar on my machine is 1025 lines long whereas bash's manual has 4728. gawk's manual is likewise light at 1723. (Measured with screen width of 120 chars)

    It looks like some of the manuals on that site are super in-depth versions - practically books - rather than PDF versions of the man versions.

    For example, tar's has several pages dedicated to the GNU Free Documentation License which is very much not part of the command line version. Add a few more sections like that and things soon add up.

  • Try: xdotool keydown --delay 0ms i+j

    Multiple keypresses can be chained with plus signs. (If you actually need the plus key, use the word "plus". Likewise, "alt", "ctrl" for those keys etc.)

    The keys are still pressed in the order specified, but the --delay option changes the time between them. The manual page says the default is 12ms.

    If 0 doesn't work, try 1, etc. I only tested in a Terminal and a delay of 0 was fine there, but other software may differ.

  • Who would embargo Britain? Let me tell you: People with vested interests inside Britain. They then choose the most ideal scapegoat at the time in order to try to make the people think a certain way in order to further the agenda of the embargo creators.

    Sometimes those with vested interests cock things up completely rather than achieve their goal, but it doesn't matter much to those of us outside that club.

    Things go missing, sideways, backwards or get more expensive regardless.

  • Customisability is the main draw. Maybe additional features like: support of high colour modes; browser-like tabs; transparency; background images; tile-ability and other interface integration things; ability to show images on the command line; etc.

    But as many people have said here, whatever comes with your distro is almost certain to be fine for everyday use, and probably has more customisation than the average user will need.

    Edit: Saving on making a second comment; GNOME Terminal is my distro's default and what I use. I also have the venerable xterm installed just in case something goes wrong with GNOME Terminal and I absolutely have to have a terminal right that second. Haven't needed it yet.

  • A couple of things to ponder:

    1. Assume true. What would Putin say or do to this soldier if they were to meet? Publicly? Privately?
    2. Assume a Ukrainian soldier has done the same. What would Zelenskyy say or do to his soldier? Publicly? Privately?

    Think about those for a while. What will people of all priorities (pro-Russia, pro-Ukraine, anti-conflict, etc.) think about the decisions that are made and things that are said?

    I don't have the answers to these questions, but know what my guesses would be and I can see people of either side of this conflict giving any one of the possible answers and justifying it either way.

    e.g. Imagine Putin has his soldier court-martialled and shot; Some pro-Russians will proclaim this a strong move. Others will say that he should not have done that because those Ukrainians deserved to be murdered and the soldier did the right thing. Likewise if Putin was to throw this soldier in prison, some might say it wasn't enough and others might say that he shouldn't even be in there. (NB: I don't believe anyone deserves to be murdered. Ukrainian or Russian. This is all hypothetical.)

    Alternatively, we might have Putin outwardly congratulate this soldier. This would be an internationally unpopular move, more-so than having the soldier shot, because the West kind of expects Putin to "deal with" people who make him look bad, but some pro-Russians would proclaim it a strong move. Others will think that it was a bad idea but say nothing.

    Zelenskyy might have his own soldier court-martialled and shot. If he is truly interested in aligning with the West as Russia fears, he probably wouldn't do this. He'd instead have the soldier tried in court, and if found guilty, possibly even turned over to Russia if it could be guaranteed the soldier was going to be imprisoned for his crimes and not tortured or shot.

    Would Russia consider turning over their own POW murderers to Ukraine? Probably not. They don't recognise Ukraine.

    It would be nice if they did though. If they realised where their soldiers and tanks were they might be able to get them out of there and this conflict would be over. Enough lives have been lost to make up for any transgressions either way at this point.

  • There are situations where it turns out to have been detrimental to have been wearing a seatbelt in a car too. Doesn't mean it's not a good idea in general.

    A helmet might not help much if he goes under the wheels of anything that can be measured in tonnes, but it'll help if he gets nudged (or slips) and tries an unexpected game of tarmac headbutt.

  • "Russia never invaded. This is a special military exercise to, uh, help Ukraine rid itself of Nazis and then as thanks they can rejoin greater Russia rather than being a puppet of Western propaganda and colonialism."

    "The only propaganda and colonialism should be Russian. It never did Belarus any harm."

    "Yet."

  • This all depends on what "level" you want the feature to take effect.

    You might have some success, for example, by generating your own keyboard table (man keyboard to start down that particular rabbit hole) that swaps the functionality of arrow and ctrl+arrow to the point that most software will think you have pressed ctrl+arrow when pressing the arrow and vice versa.

    At the other end of the scale, a window manager might be able to override one or the other, or possibly both, depending on available features.

    For example, in Cinnamon (and possibly other GNOME variants) it's possible to set up triggers for most keypress combinations (occasionally single keys too), capturing and processing before being passed to any software that might be running. Triggers can call commands like xdotool or anything else really. You may need to throw a sleep 0.5 before the call to xdotool in the script / command-line to allow control to switch back to the running software. YMMV.

    (If you're really clever, you could assign a keypress that shuffles some symbolic links around, modifies a configuration, or some such, effectively allowing a feature to be toggled without having to modify the keypresses. Exercise for the reader, etc.)

  • zsh is supposed to emulate sh as closely as possible if it is called by that name (it can also be ksh, according to its manual), so I wouldn't be too concerned even if that did happen.

    (bash can do the sh trick too. Many(?) distros don't actually use the bigger shells for that and install something like dash - a pure POSIX shell with no other bells and whistles - to act as sh when called that way.)

    Other suspect configurations might not be as fortunate, but this one is fine.

  • .profileis only sourced when the shell is a login shell. Most shells started by terminal emulators under a GUI are not login shells.

    Depending on how you connect to a machine, you may or may not get a login shell. Through SSH or similar may well get you a login shell. Using the text-console (usually through Ctrl+Alt+F1 through F6 on modern distros) also yields a login shell.

    Try putting things in your .bashrc instead. That one is sourced regardless of login shell or not.

    If you're not using bash, substitute the relevant file. .zshrc and .config/fish are the main two.

  • Dark mode is coming to the latest release of LibreOffice, or very soon, so I've heard.

    It's possible in current and recent older versions to change the default colours to almost-but-not-quite emulate a dark mode. I have to admit it's not a quick thing to do, nor is it perfect once done, but it can be attempted. (That said, maybe I gave up changing things at "good enough" which is why it's not perfect.).

  • Two possibilities:

    1. It would be ineffective and so pointless.
    2. It would be effective, but then once Labour get into power and implement something vaguely Tory (or can be spun to be a bad thing), the Conservatives will conveniently ignore the fact that they would have implemented something similar and start saying "well who's the Nasty party now?" followed by jeers. And since, in this scenario, it was effective for Labour ousting the Tories, there's a strong chance it'll cause a swing back the other way next time.

    Secret third possibility: Something something Blairite something something Blue Labour something something people sharing a glass house, etc. (Frankly at this point we have a choice of frying pan or fire and staying in this pan isn't doing us any good. Time to give the fire a go I reckon. Maybe the embers will glow red.)

  • I noticed something similar the other day when playing around with xdotool. I asked it where a window was and then moved the window to that position - what should have been a no-op - and the window moved. I figured it was an interaction with the Cinnamon window manager. Yours (if not Cinnamon) may be doing the same.

    xdotool reports where it "thinks" a window is. Requesting where a window be moved with xdotool is handed off to the window manager, which may or may not take into account window spacing, borders, the phase of the moon, etc., and so that might put the window in a slightly different place.

    You could try wmctrl instead. It's not as feature rich, but can definitely move windows around and might have different results for you. (I know I use it for one thing in particular and that seems to work, but then it has been a while since I set it up and I can easily imagine having tweaked the numbers until things looked right.)

    There's also that some software really doesn't like to be moved or resized and will refuse to change. That's bad practice, but there's nothing that can be done really, unless you have an especially forceful window manager.