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

  • KaKi87@jlai.luOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    14 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

    • boredsquirrel@slrpnk.net
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 hours ago

      Lol ma boy

      Good idea but obviously you should have looked what entries there were

      diff --color=auto -qy  ~/.local/share/applications /usr/share/applications
      

      Would have been the command.

      Good luck getting your entries back! (And no, rm has no wastebin…)

      Normally only user customized ones go in there, maybe if you use hacky tools like appimage-manager or so they too.

    • KubeRoot@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 hours ago

      I don’t know how to recover exactly, but if none of the files were handwritten, they probably came from something like flatpak - applications installed specifically for your user. You should probably look into whatever you might be using to install software for help restoring/recreating the .desktop files, or worst case reinstall the software you lost them for.

      On a side note, doesn’t cp error when trying to copy folders without the recursive flag?