Bug 514689

Summary: Snap and Flatpak installations won't start
Product: [Applications] ghostwriter Reporter: SarenT <sarentasciyan>
Component: generalAssignee: megan.conkle
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description SarenT 2026-01-16 12:19:51 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
After a fresh installation from Flathub or Snap, I can't start the applications.

STEPS TO REPRODUCE
1. Install from Snap or Flathub
2. Start the application either via command line to desktop environment


OBSERVED RESULT
Application never starts.

EXPECTED RESULT
Application should start.

SOFTWARE/OS VERSIONS
Ubuntu 24.04 LTE

ADDITIONAL INFORMATION
Below is the flatpak run ... output. It might be related that I have custom keyboard layouts on my system. (us-uscustom decustom)
[     0.000 2  ] WARNING   Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

(process:2): Gtk-WARNING **: 13:12:50.081: Locale not supported by C library.
	Using the fallback 'C' locale.
[     0.072 2 ghostwriter ] WARNING   Qt: Session management error: Could not open network socket
[     0.085 2 ghostwriter ] INFO      Backup files will be stored in "/home/user/.var/app/org.kde.ghostwriter/data/ghostwriter/backups/"
[     0.087 2 ghostwriter ] INFO      Using pandoc version 3.8.3
[     0.088 2 ghostwriter ] INFO      Using multimarkdown version 6.7.0
[     0.088 2 ghostwriter ] INFO      Using cmark version 0.31.1
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
[2:28:0116/131250.409380:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
xkbcommon: ERROR: [XKB-661] Couldn't process include statement for 'us(uscustom)'
xkbcommon: ERROR: [XKB-769] Abandoning symbols file "(unnamed map)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: [XKB-822] Failed to compile keymap
[2:27:0116/131250.438867:FATAL:xkb_keyboard_layout_engine.cc(661)] Keymap file failed to load: us,de,us-uscustom,decustom,
Comment 1 SarenT 2026-01-16 12:28:33 UTC
I have just tested the repo package and it works even with the custom keyboard layout characters. So the problem is with the flatpak/snap permissions I assume.