desktop-app / qt5ct

Mirror of the Qt5 Configuration Tool repository
BSD 2-Clause "Simplified" License
32 stars 7 forks source link

qt5ct and XDG_RUNTIME_DIR? #2

Open 0pLuS0 opened 2 years ago

0pLuS0 commented 2 years ago

Hello,

I'm using qt5ct-1.5 in Slackware 15.0 which I compiled from source.

I use the SpaceFM file manager in Openbox, and for the Openbox environment I realized I had set this line for qt5ct;

export XDG_RUNTIME_DIR=~/.config/qt5ct/1000

I don't recall where I found information regarding setting the XDG_RUNTIME_DIR like this for qt5ct.

Looking at the qt5ct README the only requirement to set I see is this;

export QT_QPA_PLATFORMTHEME=

I personally don't understand, trying to remember why qt5ct would need the XDG_RUNTIME_DIR set.

When I had it as export XDG_RUNTIME_DIR=~/.config/qt5ct/1000 I noticed there was a icon showing up in SpaceFM called portal, listed saying;

portal on /home/rog/.config/qt5ct/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)

I understand FUSE a little, but I didn't understand why qt5ct needs to be getting mounted or mounting, qt5ct, my understanding is only to change themes and icons, so this didn't make sense to me.

I didn't realize having the export XDG_RUNTIME_DIR=~/.config/qt5ct/1000 option would then cause qt5ct to show up as a mounted device in the SpaceFM file manager.

Can you please tell me, did I make a mistake setting XDG_RUNTIME_DIR, or is there a need for it with qt5ct?

In this screen shot, when I right clicked in the pane for the devices and check Mounted Other, this is when I saw the portal icon appear as mounted.

spacefm_portal

In this screen shot when I right clicked on portal and looked at it's properties, it displayed the information I posted above.

qt5ct

THANKS

ilya-fedin commented 2 years ago

I think you reached a wrong repo, it's a mirror for Telegram Desktop purposes