Open harunorimurata opened 1 year ago
I'm not sure what happened here. It could be a localization issue with DBeaver itself. It seems it has problems with loading the xdg-mime directory.
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=DBeaver CE
Comment=Universal Database Manager and SQL Client.
Icon=io.dbeaver.DBeaverCommunity
StartupWMClass=DBeaver
StartupNotify=true
X-Desktop-File-Install-Version=0.26
Categories=IDE;Development;
Keywords=Database;SQL;IDE;JDBC;ODBC;MySQL;PostgreSQL;
GenericName=Database Manager
MimeType=application/sql;
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/dbeaver/dbeaver io.dbeaver.DBeaverCommunity
X-Flatpak=io.dbeaver.DBeaverCommunity
Question, just to be sure... what happens when you do
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/dbeaver/dbeaver io.dbeaver.DBeaverCommunity
?
Question, just to be sure... what happens when you do
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/dbeaver/dbeaver io.dbeaver.DBeaverCommunity
?
This would result in the following error:
bwrap: execvp /app/dbeaver/dbeaver: No such file or directory
The location of the executable is different, and the Exec
directive value should be:
/usr/bin/flatpak run \
--branch=stable \
--arch=x86_64 \
--command=/app/bin/dbeaver `# The actual executable location` \
io.dbeaver.DBeaverCommunity
A few months, I changed the default directly path and I also updated the PATH accordingly.
Does this bug still occur or did I fix or by accident?
A few months, I changed the default directly path and I also updated the PATH accordingly.
Does this bug still occur or did I fix or by accident?
An installation of DBeaver via KDE Discover results in a shortcut created shown in KDE Plasma desktop Kickoff Application Launcher menu.
The shortcut, in turn, contains /app/dbeaver/dbeaver
. A manual modification of the shortcut command setting to contain /app/bin/dbeaver
solves the issue.
The same issue happens with the DBeaver user-settings purged using Discover prompt, and a fresh reinstall (remove and install).
Meanwhile, it's worth to mention that the .desktop
file Flatpak located in /var/lib/flatpak/app/io.dbeaver.DBeaverCommunity/current/active/files/share/applications/io.dbeaver.DBeaverCommunity.desktop
contains an actually valid command mentioned in all the cases: flatpak run io.dbeaver.DBeaverCommunity
.
What I got:
/var/lib/flatpak/app/io.dbeaver.DBeaverCommunity/current/active/export/share/applications/io.dbeaver.DBeaverCommunity.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=DBeaver CE
Comment=Universal Database Manager and SQL Client.
Icon=io.dbeaver.DBeaverCommunity
StartupWMClass=DBeaver
StartupNotify=true
X-Desktop-File-Install-Version=0.27
Categories=IDE;Development;
Keywords=Database;SQL;IDE;JDBC;ODBC;MySQL;PostgreSQL;
GenericName=Database Manager
MimeType=application/sql;
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/dbeaver io.dbeaver.DBeaverCommunity
X-Flatpak=io.dbeaver.DBeaverCommunity
I'm unsure why KDE Discover messes up the app path. Let me see if I can reproduce it
Still no clue
I got an error log in
~/.local/share/DBeaverData/workspace6/.metadata/.log
. "そのようなファイルやディレクトリはありません" means "No such file or directory" in English.Somehow, it's able to launch via CLI.
My PC Spec:
DBeaver Version: 23.0.4