Applications Texmaker and TexStudio don't open

Like the tittle says. I open them, the icon appears in the dock, but nothing opens.
Do I need Flatseal to fix this? Or what can I try?

I assume you are using Flatpaks. Search for the “TeX Live Sdk extension” flatpak and install that as well.

These applications do not include LaTeX, but they will work if you add the above package. I prefer the above method as it is the easiest.

The other alternative is to install LaTeX using brew but then you need to configure each application to use it from the host system install path location.

EDIT: actually I may be wrong, can you also run them from command line and see if they log some error?

Hi akarypid,
Thanks for thinking with me.
The extension you mention is already installed, I found out.
If I run flatpak run net.xm1math.Texmaker the same happens as when I open the app (it appears in the dock, nothing else happens, in the terminal there’s a blinking cursor, no further info)

If I flatpak run org.texstudio.TeXstudio I get:
The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.

I just installed TeXstudio and it launched straight away for me. No extra permissions needed. I got this message only:

> flatpak run net.xm1math.Texmaker
Qt: Session management error: Could not open network socket
  1. Does TeXStudio give you the same error?
  2. Is there any code dumped? (check with coredumpctl list)

If (1) then it may be some issue with QT on your system, so maybe try “Setzer” which I think is GTK based so likely won’t be affected?

But it could also be a red herring - maybe the message is unrelated - so please check (2) as maybe it crashes without any output and you can get more details with coredumpctl info ....

Hi,
I removed TexStudio, rebooted, installed again. It opens one time (now I remember it opened one time also), but not a second time.
TexMaker had an update which I installed, but that didn’t change anything.

coredumpctl list results in nothing about TexStudio or TexMaker

Wed 2024-09-11 17:46:46 CEST  19759 1000 1000 SIGTRAP present  /app/vivaldi/vivaldi                                             >
Fri 2024-09-13 10:14:09 CEST 105935 1000 1000 SIGABRT present  /app/zettlr/Zettlr                                               >
Sat 2024-09-14 16:04:28 CEST 141974 1000 1000 SIGSEGV present  /app/bin/gnome-font-viewer                                       >
Sat 2024-09-14 19:19:04 CEST 155518 1000 1000 SIGSEGV present  /app/bin/gnome-contacts                                         1>
Sun 2024-09-15 11:30:47 CEST  19402 1000 1000 SIGTRAP present  /tmp/.mount_zettlrSfjvvL/Zettlr                                  >
Sun 2024-09-15 20:02:27 CEST  63506 1000 1000 SIGABRT present  /app/share/mailspring/resources/app.asar.unpacked/mailsync.bin   >
Sun 2024-09-15 20:04:29 CEST  63883 1000 1000 SIGSEGV present  /app/share/
Tue 2024-09-17 13:05:14 CEST  15560 1000 1000 SIGSEGV present  /app/zettlr/Zettlr                                               >

(I removed double messages, the original dump is longer with a lot of duplicates)
(I don’t have MailSpring installed anymore, so that’s something to look into)

I had a problem with Zettlr, which is solved, so for the moment I can do without TexMaker or TexStudio. I just was curious what caused the problem, since it could have been a more general issue.

I have a couple of more suggestions for investigation:

  1. When you uninstall an app via “Software” by clicking on the trashcan, you are prompted whether to keep or delete app settings and data. Does this make a difference? If you keep them, then reinstall, does it start once or not at all? It could be that something in the settings written after the first run, messes it up? In that case deleting data from .config and .local without reinstalling would allow you to start it up once more?
  2. Can you try entering the flatpak with the command below and see if you get any more messages? (I used this in this discussion for a similar issue).

Command would be something like:

user@host ~> flatpak run --command=sh --devel --filesystem=$(pwd) net.xm1math.Texmaker

[📦 net.xm1math.Texmaker ~]$ /app/bin/texmaker 
...

Hi,
I always uninstalled and choose to delete the app settings. Just now I kept the data and Texmaker didn’t open a first time (I think it even opens 2 times before refusing).
When running from the terminal, I get no errors from TexMaker, TexStudio: see above, QTBUG something.

This flatpak run --command=sh --devel --filesystem=$(pwd) net.xm1math.Texmaker results in fout: runtime/org.kde.Sdk/x86_64/6.7 niet geïnstalleerd (error … not installed)

In the .config and .local directories, I didn’ find any TexMaker or TexStudio files (but those directories are different from what I’m used to, on Bluefin)

Like I said, now Zettlr works like it should, I don’t need other markup or latex applications. Maybe later I will go futher with it (Apostrophe maybe interesting as well)

1 Like

Hmm, but is the Sdk installed?

user@host ~> flatpak list | grep org.kde.Sdk
KDE Software Development Kit	org.kde.Sdk		6.7	system

If not, I expect installing it (flatpak install org.kde.Sdk) would solve your problem.

It is strange though that it runs once if KDE is missing…

If you don’t mind reinstalling the KDE Sdk just to confirm whether that resolves it (would be good for future reference)…

Either way, glad you’re happy with Zettlr now!

I installed the Sdk (accidently, I first installed 6.6 because that was option 16, the last option, then I installed 6.7 - should I remove 6.6 and how?)
I reinstalled TexMaker. The problem is exactly the same, also no output in the terminal

Welke wilt u gebruiken (0 om af te breken)? [0-16]: 15

        ID                     Branch    Op    Remote     Downloaden
 1. [âś“] org.kde.Sdk.Locale     6.7       i     flathub     18,1 kB / 397,8 MB
 2. [âś“] org.kde.Sdk            6.7       i     flathub    387,0 MB / 880,6 MB

Installatie voltooid

~ took 48s 
❯ flatpak list | grep org.kde.Sdk
KDE Software Development Kit	org.kde.Sdk		6.6	system
KDE Software Development Kit	org.kde.Sdk		6.7	system

~ 
❯ flatpak run --command=sh --devel --filesystem=$(pwd) net.xm1math.Texmaker
[📦 net.xm1math.Texmaker ~]$ /app/bin/texmaker

I actually installed 6.6 just now and it still works fine for me, so I don’t think it makes a difference:

user@host ~> flatpak list | grep org.kde.Sdk
KDE Software Development Kit	org.kde.Sdk		6.6	system
KDE Software Development Kit	org.kde.Sdk		6.7	system

user@host ~> flatpak list | grep net.xm1math.Texmaker
Texmaker	net.xm1math.Texmaker	6.0.0	stable	system

Especially since you’re no longer getting the error about missing the SDK…

Anyway, thanks for checking. If you want to try again after removing 6.6 go for it, but I don’t think it’ll make a difference…

I’ve got nothing else to suggest, but it’s an interesting case. Thanks for checking.

You’re welcome akarypid, happy to help.

I didn’t think 6.6 would be a problem, I only wanted to remove it, since it’s redundant.

For future reference:
1- Also Kid3 suddenly didn’t open anymore.
2- I guess this has a solution (didn’t try it yet)

1 Like

Now Audacious doesn’t open anymore. The proposed solution didn’t work:
❯ GSK_RENDERER=gl flatpak run org.atheme.audacious