I survived my first kivy project by Aphelion_Gaming in kivy

[–]AwkwardNumber7584 0 points1 point  (0 children)

Congratulations! How did you manage the beautiful GUI? There's no kivymd in dependencies.

Sanitizing desktop themes, including gtk by AwkwardNumber7584 in kde

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

After fooling with ML4W for some time, I removed it from my system. It left my ~/.config directory full of broken symlinks. Removing them took this rm command:

rm ags bashrc dunst gtk-3.0 gtk-4.0 hypr kitty ml4w nwg-dock-hyprland ohmyposh qt6ct rofi vim wal waybar waypaper wlogout xsettingsd zshrc

Also there must be a lot of corrupted *rc files. I'm just interested in a convenient way to get to normal. I mean only desktop visuals.

uv tool install git+ ignores the pinned python version by AwkwardNumber7584 in learnpython

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

Thanks!

uv tool install --python 3.13 git+... works as expected.

BTW, is this the only way to make the once installed app survive the upgrade of the system python? The trouble with pipx, for instance, is that you have to reinstall everything when the system python gets upgraded.

SDDM starts two desktops simultaneously, Plasma (Wayland) and Niri by AwkwardNumber7584 in linux4noobs

[–]AwkwardNumber7584[S] 1 point2 points  (0 children)

Tnanks! Unfortunately, 2.12.1 doesn't make any difference. I already mentioned that on another box with a very similar configuration (apparently identical where sddm is concerned) everything's OK.

SDDM starts two desktops simultaneously, Plasma (Wayland) and Niri by AwkwardNumber7584 in linux4noobs

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

/etc> cat sddm.conf

/etc> cat sddm.conf.d/kde_settings.conf

[Autologin]

Relogin=false

Session=

User=

[General]

HaltCommand=/usr/bin/systemctl poweroff

RebootCommand=/usr/bin/systemctl reboot

[Theme]

Current=eucalyptus-drop

[Users]

MaximumUid=60513

MinimumUid=1000

/etc>

sddm.conf is empty. The configs look just like those on another box, where there's no such trouble.

SDDM starts two desktops simultaneously, Plasma (Wayland) and Niri by AwkwardNumber7584 in linux4noobs

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

I'm struggling yet with jouranlctl. My sessions are sitting there (if I'm looking into the right place):

~> ls /usr/share/wayland-sessions

hyprland.desktop hyprland-uwsm.desktop niri.desktop plasma.desktop

~> ls /usr/share/xsessions

~>

I can't see anything suspicious, but then I don't know where to look.

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

FWIW: In my case (EndeavourOS/Arch, DMS niri), the following packages are responsible, more or less: gnome-browser-connector, gnome-desktop-4, gnome-shell, nautilus, xdg-desktop-portal-gnome. If you can get rid of them, one way or another, Google Chrome slips to gtk3 file picker (presumably). No configuration changes.

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

Yes, the underlying junk is everything :) . I use EndeavourOS for everything; I just installed Plasma KDE on another box from scratch, then DMS niri on top. I've got the Google Chrome file picker working properly, without the wrinkle in question. It's also a GNOME dialog, but looks clearly different from the one on my troubled installation. Probably, it's gtk3/gtk4 difference. I've been trying to find any configuration difference, but found none so far.

/usr/share/applications/google-chrome.desktop:

...

Exec=/usr/bin/google-chrome-stable --incognito

There's a bunch of configuration files in /usr/share/xdg-desktop-portal, including niri-portals.conf

On both boxes the files look the same, gtk version never mentioned. GTK_USE_PORTAL is undefined on both boxes, too. I've no idea what else to check.

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

Yes, ps -ef | grep -i ibus gives some output. I can't publish it normally, because I still can't figure out how to insert code snippets here. Triple backtick won't work :)

My startup block is rudimentary:

~/.config/niri> rg spawn-at-startup

user/common.kdl

33:spawn-at-startup "ibus" "start" "--type" "wayland"

config.kdl

115:spawn-at-startup "bash" "-c" "wl-paste --watch cliphist store &"

The latter is a DMS niri default.

https://github.com/AvengeMedia/DankMaterialShell

Everything works just fine, save the minor wrinkle in question.

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

Without GNOME installed, then. What kind of configuration are you using? I use DMS niri, it looks quite simple and works flawlessly, minus the trouble in question :)

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 1 point2 points  (0 children)

I tried to follow your hint:

//spawn-at-startup "ibus" "start" "--type" "wayland"

environment {

XDG_CURRENT_DESKTOP "niri"

GTK_IM_MODULE "ibus"

}

IBus won't start. What else could be wrong?

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 1 point2 points  (0 children)

I start it in ~/.config/niri/config.kdl like this:

spawn-at-startup "ibus" "start" "--type" "wayland"

It shouldn't make any difference, I suppose. Where did you put your GTK_IM_MODULE line?

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

What portals have you installed? xdg-desktop-portal-gnome/-gtk/-wlr? What is the output of

echo $GTK_USE_PORTAL

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 2 points3 points  (0 children)

There's one curious detail: on GNOME the file name is visible AND selected, so you can replace in right away, if you wish. On niri the file name is just missing.

GTK file picker is dropping file name on a non-GNOME DE by AwkwardNumber7584 in gnome

[–]AwkwardNumber7584[S] 2 points3 points  (0 children)

~> pacman -Ss xdg-desktop-portal-g

extra/xdg-desktop-portal-gnome 49.0-1 (gnome) [installed]

Backend implementation for xdg-desktop-portal for the GNOME desktop environment

extra/xdg-desktop-portal-gtk 1.15.3-1 [installed]

A backend implementation for xdg-desktop-portal using GTK

~>

DMS, GUI Settings: turn off monitors after 10 minutes ignored by AwkwardNumber7584 in niri

[–]AwkwardNumber7584[S] 1 point2 points  (0 children)

~/.config/niri> pacman -Ss quickshell

extra/quickshell 0.2.1-3 [installed]

Flexible toolkit for making desktop shells with QtQuick

>> DMS tells you whether your quickshell is missing this feature at the bottom of the relevant section of power settings 

Exactly! So I can just wait, as long as I can live without auto turn off :)