Hi,

When pressing Ctrl-Alt-T when Konsole is already open, I would like for the existing window to be unminimized and for a new tab to be created, rather than a new window.

How to do this ?

Thanks

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    Yes very possible

    1. Open the konsole settings, enable “use a single process” (or something)
    2. Copy the konsole desktop entry from /usr/share/applications to ~/.local/share/applications and change Exec=konsole to Exec=konsole --new-tab

    I did this, works without issues

    • KaKi87@jlai.luOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      Open the konsole settings, enable “use a single process” (or something)

      Yeah I did that already thinking it would solve this but I didn’t know there was an additional step to perform 😅

      Copy the konsole desktop entry from /usr/share/applications to ~/.local/share/applications

      So, I just did something stupid. 😭

      • I ran cp /usr/share/applications ~/.local/share/applications not noticing that you didn’t specify the name of the file ;
      • I then noticed that it copied many more files than intended, so I ran rm -r ~/.local/share/applications ;
      • As I was gonna run mkdir -p ~/.local/share/applications && cp /usr/share/applications/org.kde.konsole.desktop ~/.local/share/applications, I noticed a bunch of my apps disappeared, meaning this directory already existed and already had files that weren’t duplicates from /usr/share/applications.

      How do I recover from that ?

      Thank you

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      24 hours ago

      Also, in Shortcuts, remove Ctrl-Alt-T from “Launch” and put it on “Open in New Tab”.

      And it annoys me that you can’t close tabs in Konsole with middle click. Just sayin’.

      • KaKi87@jlai.luOP
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        in Shortcuts, remove Ctrl-Alt-T from “Launch” and put it on “Open in New Tab”

        That works, thank you !

        you can’t close tabs in Konsole with middle click

        Actually, that works. Konsole v24.12.1 on KDE neon 6.2

        Although I always close all terminal sessions on all devices with Ctrl+D because it’s universal.

        • ikidd@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          hmm, I’m on 24.12.0 on Fedora so I guess I’ll see if it works when it upgrades next.

          • KaKi87@jlai.luOP
            link
            fedilink
            arrow-up
            1
            ·
            18 minutes ago

            Hmm, I would find it weird that this feature would have been added just now on that last patch version.

            However, I noticed something : on another computer, running flatpaked Konsole on Pop OS, middle click doesn’t work indeed. So, maybe this feature only works when using KDE ?