ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
1.22k stars 159 forks source link

kdeglobals file has invalid contents #1323

Closed notnotno closed 5 months ago

notnotno commented 5 months ago

Describe the bug

The current contents of system_files/kinoite/usr/etc/xdg contains the following text: ../../../usr/share/kde-settings/kde-profile/default/xdg/kdeglobals

What did you expect to happen?

The content of system_files/kinoite/usr/etc/xdg should contain something like this:

[KDE]
LookAndFeelPackage=dev.getaurora.aurora.desktop
SingleClick=false
ColorScheme=BreezeDark
widgetStyle=Breeze

[KDE Control Module Restrictions][$i]
kcm_plymouth.desktop=false

[General]
TerminalApplication=kde-ptyxis
TerminalService=org.gnome.Ptyxis.desktop
desktopFont=Noto Sans,10,-1,5,50,0,0,0,0,0
fixed=FiraCode Nerd Font,10,-1,5,50,0,0,0,0,0
font=Noto Sans,10,-1,5,50,0,0,0,0,0
menuFont=Noto Sans,10,-1,5,50,0,0,0,0,0
smallestReadableFont=Noto Sans,8,-1,5,50,0,0,0,0,0
toolBarFont=Noto Sans,9,-1,5,50,0,0,0,0,0

Output of rpm-ostree status

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 36min ago
Deployments:
● ostree-unverified-registry:ghcr.io/notnotno/aurora-dx-nvidia:latest
                   Digest: sha256:9618110833689a51883dc35408af52889a20081889b5a71b472220a51bdee2b5
                  Version: 40.20240513.0 (2024-05-18T04:40:57Z)

  ostree-unverified-registry:ghcr.io/notnotno/aurora-dx-nvidia:latest
                   Digest: sha256:ac10212ccf95660718bd58547aa1ad6b7336c7880453b8ce1f543e94b28de3a8
                  Version: 40.20240513.0 (2024-05-17T16:59:28Z)

Output of groups

myname wheel lxd incus-admin libvirt docker

Extra information or context

No response

KyleGospo commented 5 months ago

That's a symlink

notnotno commented 5 months ago

I'm not sure it is. Try running kbuildsycoca6 (rebuilds the menu) and it'll give an error. Replacing the contents with the above fixes it.

KyleGospo commented 5 months ago

SmartSelect_20240518_094457_GitHub.png

The arrows denote a symlink, the contents denote the destination path. Please provide the contents of that file on a running system.

notnotno commented 5 months ago

Perhaps I'm misunderstanding what's happening. After a rebase, if I run `kbuildsycoca6" I get the following error:

kbuildsycoca6 running...
kf.config.core: "KConfigIni: In file /etc/xdg/kdeglobals, line 1:" Invalid entry (missing '=')

To work around this, I can either delete /etc/xdg/kdeglobals, or replace it with a copy from `/usr/share/kde-settings/kde-profile/default/xdg/kdeglobals'.

notnotno commented 5 months ago

Additionally, they don't appear to be symbolic links:

etc-xdg

usr-etc-xdg

notnotno commented 5 months ago

I ended up replacing system_files/kinoite/usr/etc/xdg/kdeglobals with a symbolic link to /usr/share/kde-settings/kde-profile/default/xdg/kdeglobals/etc/xdg/kdeglobals to fix it.

m2Giles commented 5 months ago

They are supposed to be symlinks: image image

notnotno commented 5 months ago

Thanks, it seems to be a bug with KDE's Ark not preserving symbolic links: https://bugs.kde.org/show_bug.cgi?id=415723.

KyleGospo commented 5 months ago

Thanks, it seems to be a bug with KDE's Ark not preserving symbolic links: https://bugs.kde.org/show_bug.cgi?id=415723.

These are relative links, if you're downloading a zip they're likely to be linked to the wrong location.