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
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
Yeah I did that already thinking it would solve this but I didn’t know there was an additional step to perform 😅
So, I just did something stupid. 😭
cp /usr/share/applications ~/.local/share/applications
not noticing that you didn’t specify the name of the file ;rm -r ~/.local/share/applications
;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
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.
Well, turns out those were user customized ones indeed, but that I never wrote myself : for adding environment variables to an application, I’d right-click it in the start menu then Edit Application, which opens a GUI editor that actually writes into
~/.local/share/applications
.So, luckily, I didn’t loose any app : they eventually reappeared on their own and I only had to redo the customization.
Also, that made me realize that I can also use that same GUI to do the edit you suggested.
KDE is great!
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?
Yep, I thought about Flatpak, but no, those are actually located in
/var/lib/flatpak/exports/share/applications
.Turns out the files in
~/.local/share/applications
were generated when I’d use the Edit Application GUI for adding environment variables to apps.So, I didn’t loose any app, I just had to wait for them to reappear and then reapply the environment variables.
Yeah it actually did, but I didn’t think anything of it and just added the flag without thinking 😅
(Because I already forget it most of the time when I do intend to copy directories so I took the habit to mechanically press
Home
thenCtrl-Right
thenspace
dash
r
…)