Skip Navigation
User banner

Yash Raj

@mobsenpai.lemmy.world.ap.tdpl.io

7 Posts0 Comments0 Memberships

Joined October 2026

  • Qgtk3Style Theme engine is it broken?

    So I came here while researching for the problems with qt5 theme. So in the archi wiki it says -

     
    3.1 QGtk3Style
    This is a platform theme built into qt5-base starting with version 5.7.0 [2] and qt6-base. It can be used to style Qt5 and Qt6 applications according to current GTK3 style. It can be enabled by setting the following environment variable: QT_QPA_PLATFORMTHEME=gtk3. 

    ——— I am on nixos and if i set the same envionment variable qt6 apps like pcmanfm-qt, qbittorrent correctly use the same colors as my gtk3 theme, but it seems qt5 apps (like wpa_supplicant_gui, keepassxc, picard) even though in logs they seem to load the plugin, dont theme accordingly and show the default white color. I just want to know is the plugin abandoned? Meaning its no use trying to wait for it to update and be fixed or should i just switch to qtstyleplugins for qt5 apps? ——— I Can confirm this if i run

     
    QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORMTHEME=gtk3 wpa_gui 2>&1 | grep -i gtk3

    and logs show

     
    QFactoryLoader::QFactoryLoader() looking at "/nix/store/64qmp7fap3740hxd2bsnpy10s9ndy5qx-qtbase-5.15.18-bin/lib/qt-5.15.18/plugins/platformthemes/libqgtk3.so"
    Found metadata in lib /nix/store/.../libqgtk3.so, metadata=
                "gtk3"
        "className": "QGtk3ThemePlugin",
    Got keys from plugin meta data ("gtk3")
    loaded library "/nix/store/.../libqgtk3.so"

    ——— • Note: The old qt5-styleplugins do work just need to set the variabled to gtk3 instead of gtk2 ———

    Side by side comparison

    • qbittorrent (qt6 app)

     
    Its using qt6, i can confirm
    nix why-depends nixpkgs#qbittorrent nixpkgs#qt6.qtbase
    /nix/store/i8r2n73xzlxk7sfchjlkdxajs8jbqbv0-qbittorrent-5.2.1
    └───/nix/store/wzvm2pvf98a71v0scgfhmi01lqcxahfr-qtbase-6.11.0

    f0137705-cf5e-4308-a19d-9858555b8163-image.png • picard (qt5 app)

     
    Its using qt5, i can confirm
    nix why-depends nixpkgs#picard nixpkgs#qt5.qtbase
    /nix/store/wzqlnryvnjl95a93fiwwivlbz3ypixk7-picard-2.13.3
    └───/nix/store/64qmp7fap3740hxd2bsnpy10s9ndy5qx-qtbase-5.15.18-bin

    aa8041b4-f523-4779-a880-3b3e3d8e37d0-image.png ———

    I can confirm the same behaviour for the other aforementioned apps.

  • solved

    Qgtk3Style Theme engine is it broken?

    Edit: Turns out it was just qt5 apps acting up, wpa-gui has been ported to qt6 and is upcoming in next updates. and I have tested it, it correctly ports the gtk theme to qt. So I came here while researching for the problems with qt5 theme. So in the archi wiki it says -

     
    3.1 QGtk3Style
    This is a platform theme built into qt5-base starting with version 5.7.0 [2] and qt6-base. It can be used to style Qt5 and Qt6 applications according to current GTK3 style. It can be enabled by setting the following environment variable: QT_QPA_PLATFORMTHEME=gtk3. 

    ——— I am on nixos and if i set the same envionment variable qt6 apps like pcmanfm-qt, qbittorrent correctly use the same colors as my gtk3 theme, but it seems qt5 apps (like wpa_supplicant_gui, keepassxc, picard) even though in logs they seem to load the plugin, dont theme accordingly and show the default white color. I just want to know is the plugin abandoned? Meaning its no use trying to wait for it to update and be fixed or should i just switch to qtstyleplugins for qt5 apps? ——— I Can confirm this if i run

     
    QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORMTHEME=gtk3 wpa_gui 2>&1 | grep -i gtk3

    and logs show

     
    QFactoryLoader::QFactoryLoader() looking at "/nix/store/64qmp7fap3740hxd2bsnpy10s9ndy5qx-qtbase-5.15.18-bin/lib/qt-5.15.18/plugins/platformthemes/libqgtk3.so"
    Found metadata in lib /nix/store/.../libqgtk3.so, metadata=
                "gtk3"
        "className": "QGtk3ThemePlugin",
    Got keys from plugin meta data ("gtk3")
    loaded library "/nix/store/.../libqgtk3.so"

    ——— • Note: The old qt5-styleplugins do work just need to set the variabled to gtk3 instead of gtk2 ———

    Side by side comparison

    • qbittorrent (qt6 app)

     
    Its using qt6, i can confirm
    nix why-depends nixpkgs#qbittorrent nixpkgs#qt6.qtbase
    /nix/store/i8r2n73xzlxk7sfchjlkdxajs8jbqbv0-qbittorrent-5.2.1
    └───/nix/store/wzvm2pvf98a71v0scgfhmi01lqcxahfr-qtbase-6.11.0

    f0137705-cf5e-4308-a19d-9858555b8163-image.png • picard (qt5 app)

     
    Its using qt5, i can confirm
    nix why-depends nixpkgs#picard nixpkgs#qt5.qtbase
    /nix/store/wzqlnryvnjl95a93fiwwivlbz3ypixk7-picard-2.13.3
    └───/nix/store/64qmp7fap3740hxd2bsnpy10s9ndy5qx-qtbase-5.15.18-bin

    aa8041b4-f523-4779-a880-3b3e3d8e37d0-image.png ———

    I can confirm the same behaviour for the other aforementioned apps.

  • Help me find a "chibi drawing" from a manhwa

    "I'm searching for a manga and I'm hoping someone can help me identify it. A key detail I remember is how the author portrayed the male lead's change in personality after he starts dating the female lead. He was reserved before, but became very affectionate afterward. Crucially, there was a panel showing this transformation side-by-side: him being indifferent to her before, and then acting like an excited, puppy-like boyfriend after. Does anyone know which manga this could be?"

    My guesse(s) are: kiss sixth sense but couldn't find the pic.

  • My hypridle config, is it alright?

     
    general {
      after_sleep_cmd=hyprctl dispatch dpms on
      before_sleep_cmd=loginctl lock-session
      lock_cmd=hyprlock
    }
    
    listener {
      on-timeout=loginctl lock-session
      timeout=300
    }
    
    listener {
      on-resume=hyprctl dispatch dpms on
      on-timeout=hyprctl dispatch dpms off
      timeout=330
    }
    
    listener {
      on-timeout=systemctl suspend
      timeout=600
    }

    Guys I feel like there's something wrong or odd in this config, cuz, I don't know whats responsible for this but, it looks like things aren't working well together, I said it looks like cuz I never caugth an actual error. So what happens is that after I leave my laptop idle, the hypridle starts doing its thing and most of the times it works, my laptop is suspended, hyprlock works etc, but sometimes, after I press any button on my keyboard to wake my laptop, I can see that my laptop is up, but all I can see is black screen, and then I have to hard shutdown the laptop, so somethings is not adding up here.

  • I am so confused regarding hyprlock and systemctl combination

    cross-posted from: https://lemmy.world/post/17258082

    Problem -> When doing file transfers (mtp) or running some cli commands like nixos-rebuild, when the hyprlock kicks in they are pause at that point and only resume after unlock. One thing I am kind of noticing that it may be the systemctl suspend command that is suspending the processes. But overall I am confused with the best combination of pairing both the two programs. Here is the config (for hypridle)

     
    general {
      before_sleep_cmd=loginctl lock-session
      lock_cmd=hyprlock
    }
    
    listener {
      on-timeout=suspend-script
      timeout=1800
    }

    (The suspend script)

     bash
          pw-cli i all 2>&1 | grep running -q
          # Only suspend if audio isn't running
          if [ $? == 1 ]; then
            systemctl suspend
          fi

    Let me know if you have any solution. The link attached to this post is for my github hosting my nixos dotfiles, maybe that can also help.

    github.com