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/)CA
Capricorn @lemmy.today
Posts 1
Comments 18
Konsole: keybinding to a sequence of actions
  • The thing is that the qdbus command only works from inside the terminal, because it needs to know the correct konsole instance. Anyway, I moved to alacritty because the konsole support for ANSI codes is terrible...

    Qdbus command: qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION runCommand "!!"

  • thinking of trying linux,
  • I never tried PopOS, but I would never suggest Ubuntu. Manjaro is easy, updated, there are many people using it, offers large number of software, works well with Nvidia and other propietary drivers (the thing that generates issues for new users, usually). I know people think they had "security" problems, but they always explained what happened, and they just had a bad contract with the CDN service and a misleading error message in pamac, that didn't impact the security of the user.

  • thinking of trying linux,
  • The thing is that people use Linux and than find it so good that they try to find problems in order to spend time playing with it. It's like a hobby, or a game... But you can also use it without making it a hobby. Ubuntu was born for this, but for that I would honestly suggest something like Manjaro

  • Write Shell Out Comes Python
  • I guess there are many benefits if subprocesses (usually written in C) are replaced with functions (usually wrapping C code). That way, you could run an entire OS scripts via Python, with sensible performance improvements.

    BUT

    Does this tool replace shell commands with python functions? Or does it just call many times subprocesses.run()?

  • 30 movie directors with movies with an IMDB rating higher than 7.5 and 50.000 votes
  • It's not random people, it's people interested in cinema. Filmaffinity has a similar approach, but being more used in Latin countries, it doesn't have that US-taste pervading any review. For instance, "Perfect Days" is scored slightly higher than "Hoppeneimer" and much higher than "The Zone Of Interest", and I really agree with that.

  • Konsole: keybinding to a sequence of actions

    Anyone knows how to add a key-binding in konsole that binds a key combination to a sequence of actions?

    Maybe, this could be achieved via a script?

    In my case, I just want a key-binding to switch to a certain tab and send the command !! (last used command). This is super-useful while developing. I can do the first action with standard konsole keybinding and the second action using a qdbus command. I don't know how to put them together...

    4
    What's your favorite terminal?
  • How often do you use the image display within a terminal?

    Kitty is not "minimal" at all, it's full of superfluous features... I used it for many years and I loved it, but I wouldn't say it's "minimal"

  • What's your favorite terminal?
  • Once upon a time, I loved Xfce Terminal. It use light and complete for the use-case I had. Then I wanted something that looked nicer with vin. So I started looking for an alternative.

    I used alacrity for a long time (4 years). Then, I found kitty provided some nice stuffs that simplified the workflow for remote servers thanks to special ssh commands and session tabs. I used kitty for about 2-3 years. One thing I missed was that it's hard to integrate with other software because it implementa all it's crazy "kitty protocols" and pretend to use them even if they're compleynon-standard.

    Recently, some misterious bug appeared and made it impossible to use. I switched to wezterm. I liked it could be configured in Lua, so it feels more coherent with my neovim configs. I just missed the mappings for switching terminal and send "!!<enter>" (i.e. execute last command). The special commands for copying custom configs on any ssh server was also missing, but it's easy to make a script for that. I haven't experienced too much with integrating it with other tools, but I suspect it's not better than kitty in this.

    I gave a chance to konsole last week. I just asked myself why we (neovim users) all look for Gpu-accelarated stuffs. The improvement in performance is negligible actually. However, konsole is super-well integrated in the OS, with a scratch terminal (yakuake), file managers (dolphin, konqueror), text editors (Kate), and even simple browsers (konqueror). It provides all the features of wezterm. I still lack a key map for sending "!!<enter>" to a specific terminal, though. But I think the integration it offers is superior to that niche feature (that can be paired within neovim, btw).

  • Question: Fuzzy find in registers
  • Whenever you delete something, nvim copies it in a register. Which register it puts in depends on the command. Honestly, I've always been confused from all these registers for two reasons:

    • too many registers, most of them never used
    • they don't pair with the OS clipboard, so even Just copying-pasting in a different terminal or into a browser is impossible

    So, I just use my OS clipboard (KDE Plasma has a clipboard manager built-in) and osc52 plugin (but support for osc52 will is built-in in nightly). If you really want to use registers, you could try to copy all of them into only one and use that.