Skip to content

Fix Wayland/KDE6 isolation#20

Open
LanceHaverkamp wants to merge 1 commit intoNicoVarg99:masterfrom
LanceHaverkamp:patch-1
Open

Fix Wayland/KDE6 isolation#20
LanceHaverkamp wants to merge 1 commit intoNicoVarg99:masterfrom
LanceHaverkamp:patch-1

Conversation

@LanceHaverkamp
Copy link
Copy Markdown

Key Improvements Made:

XDG Path Redirection: Added XDG_CONFIG_HOME and XDG_DATA_HOME. This prevents the "locked database" errors because each instance now looks for its config in ~/MEGA/InstanceName/.config instead of your real ~/.config.

Platform Forcing: Added QT_QPA_PLATFORM=xcb. This tells the MEGA (Qt) app to use XWayland, which effectively disables the Wayland compositor's ability to "smartly" group these into a single process.

Path Scrubbing: In the launch loop, I added ${d%/} to ensure the path doesn't end in a double slash, which can occasionally trip up certain file-watchers in Linux.

Zenity Fix: I fixed a small typo in your original script where the first zenity call had the word zenity repeated inside the text string

Key Improvements Made:

    XDG Path Redirection: Added XDG_CONFIG_HOME and XDG_DATA_HOME. This prevents the "locked database" errors because each instance now looks for its config in ~/MEGA/InstanceName/.config instead of your real ~/.config.

    Platform Forcing: Added QT_QPA_PLATFORM=xcb. This tells the MEGA (Qt) app to use XWayland, which effectively disables the Wayland compositor's ability to "smartly" group these into a single process.

    Path Scrubbing: In the launch loop, I added ${d%/} to ensure the path doesn't end in a double slash, which can occasionally trip up certain file-watchers in Linux.

    Zenity Fix: I fixed a small typo in your original script where the first zenity call had the word zenity repeated inside the text string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant