Suddenly no multiple instances (Single instance mode UN-checked)

66 views
Skip to first unread message

henrik.r...@gmail.com

unread,
Sep 7, 2020, 2:29:33 PM9/7/20
to krusader-users
Hi

I have been a keen user of Krusader as long as I have used Ubuntu. Now I have created an extra partition with Ubuntu 20.04 and installed Krusader and in Settings 'Single instance mode' is UN-checked (of course).
But after restarting Ubuntu 20.04 a few times suddenly it will not start extra instances of Krusader. When I press the 'windows' key and type kru and <enter> it just switches to the existing instance.
This is a serious drawback for me. I know you can use tabs. But I am used to having several instances. Can any one help me, please? Thank you.

Here in Ubuntu 20.04.1 LTS I use Krusader Version 2.7.2 "Peace of Mind".
In Ubuntu 18.04 I use Krusader Version 2.6.0 "Stiff Challenges"

henrik.r...@gmail.com

unread,
Sep 7, 2020, 5:46:48 PM9/7/20
to krusader-users
OK. I discovered a work-around:
When you press the windows key and type 'kru', you right-click on the Krusader icon and choose New Window. But I would prefer to just press <enter>.

Gengis Dave

unread,
Sep 8, 2020, 1:43:59 AM9/8/20
to krusader-users, henrik.r...@gmail.com
On lunedì 7 settembre 2020 23:46:47 CEST henrik.r...@gmail.com wrote:
> OK. I discovered a work-around:
> When you press the windows key and type 'kru', you right-click on the
> Krusader icon and choose New Window. But I would prefer to just press
> <enter>.

Hi Henrik,

check this article (the second answer):

https://askubuntu.com/questions/1188384/gnome-terminal-open-new-window-instead-of-finding-the-existing-one

if it doesn't work, with Krusader open, launch a second one from the Terminal too see what happens.

Davide


henrik.r...@gmail.com

unread,
Sep 8, 2020, 7:11:40 AM9/8/20
to krusader-users
Thank you!
But... from that article I deduct that I need to open Terminal, do "sudo apt install gnome-shell-extension-prefs" then "gnome-shell-extension-prefs" and there I have to "Look down the list for "Launch new instance"." But I can't find any list in gnome-shell-extension-prefs.

And by the way: I get this message in Terminal:

$ gnome-shell-extension-prefs
gnome-shell-extension-prefs is deprecated
Install https://flathub.org/apps/details/org.gnome.Extensions for extension management, or use the gnome-extensions command line tool.
Extensions can use the ExtensionUtils.openPrefs() method.


But that results in this in Terminal:

$ sudo apt install gnome-shell-extension
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gnome-shell-extension

So I don't really understand the answer you refer to.

Gengis Dave

unread,
Sep 8, 2020, 8:05:52 AM9/8/20
to krusader-users, henrik.r...@gmail.com
Sorry, I thought it was out-of-the-box in Gnome (I never ever used it).

From the Terminal, what happens if you execute krusader when another instance is open?

If you get two windows, then I can say it is something with the Launcher, otherwise we must find another solution.

Davide

henrik.r...@gmail.com

unread,
Sep 8, 2020, 9:46:30 AM9/8/20
to krusader-users
Hi!

I DO get another instance, but I also get all these warnings! So that's not very comforting... :-) :

xxxx:~$ krusader
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
15:41:30.989-debug default unknown@0 # System icon theme: "Yaru"
15:41:31.030-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/16x16/legacy/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/22x22/legacy/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/24x24/legacy/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/32x32/legacy/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/48x48/legacy/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Yaru/256x256@2x/apps/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Yaru/256x256@2x/mimetypes/"
15:41:31.031-warning default unknown@0 # Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Yaru/scalable/mimetypes/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
15:41:31.034-warning default unknown@0 # Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
15:41:31.034-warning default unknown@0 # Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
15:41:31.040-warning default unknown@0 # QWidget::insertAction: Attempt to insert null action
15:41:31.043-warning default unknown@0 # QWidget::insertAction: Attempt to insert null action
15:41:31.054-warning kf5.ki18n unknown@0 # Trying to convert empty KLocalizedString to QString.
15:41:31.673-warning default unknown@0 # Unable to find icon "chronometer" of size QSize(20, 20) in any configured theme
15:41:31.678-warning default unknown@0 # Unable to find icon "bookmarks" of size QSize(20, 20) in any configured theme
15:41:31.698-warning default unknown@0 # Unable to find icon "arrow-up" of size QSize(20, 20) in any configured theme
15:41:31.724-warning default unknown@0 # Unable to find icon "edit-select-none" of size QSize(22, 22) in any configured theme
15:41:31.732-warning default unknown@0 # Unable to find icon "edit-select" of size QSize(22, 22) in any configured theme
15:41:31.763-warning default unknown@0 # Unable to find icon "user-identity" of size QSize(22, 22) in any configured theme
xxxx:~$

Gengis Dave

unread,
Sep 9, 2020, 2:38:36 PM9/9/20
to krusader-users, henrik.r...@gmail.com
On martedì 8 settembre 2020 15:46:30 CEST henrik.r...@gmail.com wrote:
> Hi!
>
> I DO get another instance, but I also get all these warnings! So that's not
> very comforting... :-) :

So it seems it is something with gnome panel. I've got no experience on gnome;
there should be an option to not switch to running application on a second
startup but I don't know where.

> xxxx:~$ krusader
> QCoreApplication::applicationDirPath: Please instantiate the QApplication
> object first
> 15:41:30.989-debug default unknown@0 # System icon theme: "Yaru"
> 15:41:31.030-warning default unknown@0 # Invalid Context= "Legacy" line for
> icon theme: "/usr/share/icons/Yaru/16x16/legacy/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for
> icon theme: "/usr/share/icons/Yaru/22x22/legacy/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for
> icon theme: "/usr/share/icons/Yaru/24x24/legacy/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for
> icon theme: "/usr/share/icons/Yaru/32x32/legacy/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Legacy" line for
> icon theme: "/usr/share/icons/Yaru/48x48/legacy/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Apps" line for
> icon theme: "/usr/share/icons/Yaru/256x256@2x/apps/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Mimetypes" line
> for icon theme: "/usr/share/icons/Yaru/256x256@2x/mimetypes/"
> 15:41:31.031-warning default unknown@0 # Invalid Context= "Mimetypes" line
> for icon theme: "/usr/share/icons/Yaru/scalable/mimetypes/"
> 15:41:31.033-warning default unknown@0 # Invalid Context= "Legacy" line for
> icon theme: "/usr/share/icons/Adwaita/8x8/legacy/"

Many of these warnings are about icon theme, nothing to be worried, but they
are annoying.

The console cleanup is a task we are aware of, but it's not urgent (we lacks of
contributors).

Thanks
Davide


henrik.r...@gmail.com

unread,
Sep 9, 2020, 5:43:09 PM9/9/20
to krusader-users
Thank you for your reply!

I did some Google searching on keywords like 'gnome panel option second (launch OR launcher) ubuntu', but I didn't find anything that seemed relevant...
Reply all
Reply to author
Forward
0 new messages