The officially official Devuan Forum!

You are not logged in.

#26 Re: Off-topic » Hard Rust requirements for APT from may next year » 2025-11-05 07:27:52

man, i gotta agree with steve_v, more than half of the forum seems to be people who have never coded and whose hobby is to complain about anything and everything with the utmost learned helplessness that there is and there will never be anything they can do other than give up, really something refreshing and pleasant to read every time.

#27 Re: Freedom Hacks » Request: Can we PLEASE fork APT? » 2025-11-04 23:55:43

just to provide more context on the problems you mention:

the licensing is the licensing of the COMPILER, rustc, not the language syntax itself, and yes the license of the compiler does seems a bit in bad faith, but for that there is a project implementing a rust compiler over gcc https://github.com/Rust-GCC/gccrs , it still is a work in progress but the project is already on the stage of compiling the rust stable core library and focusing on increasing coverage of the testsuite.

the ubuntu fiasco with the rust core utilities project, uutils, stems not from the uutils project itself but rather from the ubuntu developers whom decided to ship as default a core utils package whose compatibility level is not just lower than busybox but even right now is not able to pass the gnu coreutils testsuite, so for credit where it is due and blame where it causes shame, this is fault of the ubuntu developers rushing to push a not ready for production package into a "production ready" release as a default core component

that context provided, there is the posibility that the addition of rust into apt could be a very rushed one seeing that the push does come from an ubuntu developer tho beyond that there is nothing else i can comment on a technical level at the time.

#28 Re: Installation » Latest Excalibur desktop installer forces LXQt? » 2025-11-04 18:36:23

so there is a project that implements a command line policykit auth interface intended to build custom polkit agents with scripts.

https://github.com/OmarCastro/cmd-polkit

it has examples to use rofi and zenity as GUI frontend, so it should be possible to build an auth agent with any toolkit frontend we want, will check the project out in depth later, compile and give it a try.

edit: there is an implemented polkit agent using cmd-polkit https://github.com/cobaltgit/pkmenu

i will look into compiling cmd-polkit through the week and see if i can take the idea of pkmenu into something more flexible that can support multiple graphical frontends, all i need is someone who got a good idea of how to do packaging cuz i do get confused with the myriad of helpers for deb packaging that don't work for me.

#29 Re: Installation » Latest Excalibur desktop installer forces LXQt? » 2025-11-04 06:09:12

makes sense, if anything it should install the policykit-1-gnome as that does provide the polkit-1-auth-agent that would integrate the best with gtk and the network-manager-applet, however my guess is that apt resolved the dependencies getting a list of which packages provide polkit-1-auth and choose the first available option by alphabetical order, were the lxqt agent not available it would had gone with the mate agent...

edit: i just noticed that the policykit-1-gnome agent was removed in trixie because it is unmaintained upstream as stated here https://bugs.debian.org/cgi-bin/bugrepo … bug=990271

so the real solution is to install the mate-polkit-bin package as that WILL integrate with a mainly gtk environment without pulling the lxqt session NOR the mate-session package

#30 Re: Desktop and Multimedia » excalibur/KDE non-root X11 session is broken » 2025-11-03 19:05:52

so after seeing that bunsenlabs is considering greetd i got into looking at it some, greetd is a small daemon, written in rust (for good or for bad that's not the important part here), needs greeters to display a login

about the greeters most of them target wayland and require a wayland compositor to run, however the way greeters are structured it should be possible to craft a greeter that runs on x11 it would just need to launch x11 as part of it's initialization, that aside rn there are some TUI greeters that do not require wayland AND support rootless x11 (ar at least seem to, have not tested them yet) https://github.com/apognu/tuigreet tuigreet which is written in rust and is packaged on debian 13, there also is https://github.com/Nomadcxx/sysc-greet sysc-greet which is written in go and has a fancier presentation (tho it may need a wayland compositor for such fancier stuff, not sure yet).

tho at the time bunsenlabs is still sticking with lightdm so getting the lightdm rootless x11 session working would still be useful...

#31 Re: Desktop and Multimedia » noCSD for GTK4 » 2025-11-01 23:44:56

unless someone (probably not from the forum), forks and continues the work of stlwrt to have a toolkit library compatible with gtk2 to gtk4 with whichever rendering appearance is desired all that complaining about qt6, gtk4 and the eventually upcoming qt7 and gtk5 will accomplish is to have a bunch of written complains in our corner of the internet

stlwrt: https://github.com/thesquash/stlwrt
ubuntu mate forum thread (where stlwrt repo got posted): https://ubuntu-mate.community/t/horribl … 4/22028/63

#32 Re: Desktop and Multimedia » noCSD for GTK4 » 2025-11-01 22:23:47

got it configured already, this is a new phone i got from my mobile plan earlier this week so i'm still finishing the setup

anyway, back on track i'll see later once i'm home how compiling the GTK4-NoCSD library and adding it to the LD_PRELOAD env var goes and give some feedback.

#33 Re: Desktop and Multimedia » noCSD for GTK4 » 2025-11-01 20:06:08

posted that from phone and autocorrect screwed me over, forgot to turn that off in this phone lol

#34 Re: Desktop and Multimedia » noCSD for GTK4 » 2025-11-01 19:41:15

on the case of my wondow manager of choice, awesome wm, it can match rules per window class, name and some other properties, but yeh ideally having the library provide the supression of the hints is better, would have to check out the noscd gtk4 posted by greenjames and try compiling it, guess some package can be crafted taking the nocsd gtk3 as a baseline.

#35 Re: Desktop and Multimedia » noCSD for GTK4 » 2025-11-01 03:20:41

ah yes i can explain why even when the ubuntu patch does remove the Client Side Decorations no Server Side Decorations are added, the EWMH and _MOTIF_WM_HINTS, to be more precise the MWM_DECOR_TITLE hint which when set requests the window manager to NOT add titlebars (Server Side Decorations) to a window be it because the window is of type dialog or some other reason like having Client Side Decorations, the ubuntu patch manages to disable the Client Side Decorations on gtk4 but fails to set the appropriate window hints to allow the window manager to decorate the window with a titlebar, if you got a configurable window manager that is a non issue as ya can simply set the window manager to ignore the title hint for gtk4 apps.

for example on greenjames suggestion of using a CSS hack to hide window buttons on gtk4 apps and then just add decorations through the window manager selectively ignoring the title hints of gtk4 apps.

some reference from the hand of awesome wm documentation:
https://awesomewm.org/doc/api/classes/c … o_titlebar

#36 Re: Forum Feedback » FluxBB » 2025-10-18 22:28:21

So the devuan fork of fluxbb is now the maintained fork.

#37 Re: Devuan » Debian looking to integrate systemd-boot » 2025-10-17 03:32:24

there was a talk a while ago about forking the systemd-boot outta the systemd source tree as egummy-boot for the whole reason that for it to work completely free of any systemd tree untility it just needs a shim, the reason for the fork being to ensure that it remains requiring only that one shim instead of relaying on other systmed "utilities"

edit: the link of the thread https://dev1galaxy.org/viewtopic.php?id=6095

in usual dev1 forum fashion the idea of a shim was discussed along the idea of maintaining a fork to ensure just the shim is needed but the proposal got no traction and nothing was done.

#38 Re: Desktop and Multimedia » excalibur/KDE non-root X11 session is broken » 2025-10-16 21:48:53

so more reason to get lightdm rootless x11 working, mind you it is not an easy task even if it looks like so...

https://github.com/canonical/lightdm/pull/127

if anyone figures the code to get the displayfd method working or is able to at least find which display managers works in that manner to be able to port the code onto lightdm that would be the ideal solution as it is always easier to just yank existing code from someone else than writing it up from nothing...

another idea would be to build a display manager from the ground up that can just be "lazy" and try to route the x11 starting through the xserver-command from the xserver-xorg-legacy package to force the xorg server into starting with dropped priviledges.

#39 Re: Devuan » [SOLVED] Development and goal of Devuan. » 2025-10-14 22:30:59

golinux wrote:

Few under 60 are capable of doing the required tasks and those of us who gave so much are burned out and feeling the weight of our years

Is not just a decrease in competency, but also a problem of the "entry cost" for the knowledge and the knowledge not being passed along in an efficient manner, case in point is debian packaging, to anyone who wants to package some piece of software for use in debian (and derivates) the whole debian packaging process will seem like some sort arcane magic burdened by bureaucracy after reading the debian maintainer guide once...

#40 Re: Other Issues » [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus » 2025-09-18 05:08:43

thanks, i will check later on the source code of the kde session process to see if there's something that specifically deals with the $HOME/.dbus/session-bus/ files

#41 Re: Other Issues » [SOLVED] Growing file bloat in ~/.dbus/session-bus and /root/.dbus/session-bus » 2025-09-18 03:41:04

redgreen925 do ya use a desktop environment like mate, xfce, kde, etc... or have a setup with a plain window manager and tools composed on top of it?

it could be that for all of use whom get the files piled up is because we are using plain window managers that do not purge their active dbus session address file upon session end (logoff, shutdown, reboot)

#42 Re: Off-topic » Opinions about keypassXC » 2025-09-16 02:11:55

cmake is just as bad as autohell, meson is okay so is ninja, simple makefiles are still the best way, if you need a configure.sh script just build one yourself instead of letting autohell to spit out half a morbillion lines of highly obfuscated shell slop.

#43 Re: Off-topic » Opinions about keypassXC » 2025-09-15 01:11:16

eh offtopic but not more offtopic than many of the other posts

greenjeans wrote:

^^Lol, "autohell"

https://felipec.wordpress.com/2024/04/0 … -insanity/

autohell truly is the piece of software that keeps on giving, because simple makefiles are poison i guess...

#44 Re: Freedom Hacks » apt seems to be a sort of "unstable wrapper" » 2025-09-15 01:07:48

eh something like this for the script should cover almost all cases so that the .desktop file can have a simple exec line like:

Exec=deb-installer %f

and this would be the base of the deb-installer that is pretty much a glorified yad confirmation dialog

#!/bin/sh

###############################################################################
# yes these variables for the dialog are empty, whoever does take the time to #
# build this thing proper ought to fill them, maybe even use gettext for      #
# internationalization and stuff                                              #
###############################################################################

# action image
act_image=""
# action title
text_title=""
# action message
text_msg=""
# window title in taskbar/titlebar
title_var=""
# action button text
btn_act=""
# message on success
success_msg=""
# message on cancel
cancel_msg=""

u_true=0
u_false=1

# return type: unix command boolean
# return values:
#     True : u_true
#     False: u_false
# usage: yad_confirm_dialog
yad_confirm_dialog () {
    # function's return value
    # defaulting to false just to be safe
    retval="$u_false"

    text="
    <span><big><b>${text_title}</b></big></span>

    ${text_msg}
    "
    btn_cancel="$(gettext "$myname" "$btn_cancel")"
    cancel_img="gnome-info"
    yad \
        --image "$act_image" \
        --text "$text" \
        --buttons-layout=center \
        --skip-taskbar \
        --sticky \
        --undecorated \
        --title="$title_var" \
        --on-top \
        --button="$btn_act" \
        --button="${btn_cancel}:1" \
        --center

    ret=$?

    case "$ret" in
        0|70)
            notify-send -i "$act_image" "$title_var" "$success_msg"
            retval="$u_true"
            ;;
        1|252)
            notify-send -i "$cancel_img" "$title_var" "$cancel_msg"
            retval="$u_false""
            ;;
    esac

    return "$retval"
}

main () {
    yad_confirm_dialog
    ret=$?
    if [ "$ret" -eq "$u_true" ]; then
        $0 "install" "$1"
    fi
}

install_software () {
    apt update
    apt install "$1" -y
    ret=$?
    return "$ret"
}

case "$1" in
    install)
        shift
        # are we root?
        if [ ! "$( id -u )" -eq 0 ]; then
            install_software "$1"
        else
            has_tty=""
            if tty | grep -qF -e "dev/tty" -e "dev/pts"; then
                has_tty=1
            fi
            if [ -n "$has_tty" ]; then
                sudo "$0" "install" "$1"
            else
                # prefer sudo with sudo_askpass over pkexec
                if [ -n "$SUDO_ASKPASS" ]; then
                    sudo -A "$0" "install" "$1"
                else
                    pkexec sudo "$0" "install" "$1"
                fi
            fi
        fi
    ;;
    *)
        main "$@"
    ;;
esac

#45 Re: Freedom Hacks » apt seems to be a sort of "unstable wrapper" » 2025-09-14 08:35:02

another option would be to cobble a script with yad for the gui (lighter for setups that already use yad) and on the inside all it does is run apt-get commands to show the information of the .deb and installs it with apt-get install <full/path/to/package.deb>

#46 Re: Freedom Hacks » apt seems to be a sort of "unstable wrapper" » 2025-09-13 02:53:23

yes, i've been thinking of rolling out my own apt wrapper, after all i already have apt-ui which uses fzf to provide a fuzzy ui for installing, uninstalling packages and also queriying package information: https://github.com/eylles/devuan-script … /apt-ui.sh

but i do want something more "complete" that also integrates some of the apt-fast capabilities which i may even lazy out and just build my apt wrapper with the ability to use apt-fast to perform the install operations.

that is not to say that debian's "apt" wrapper program is bad in on itself but one can notice it is very much a work in progress

#47 Re: Freedom Hacks » apt seems to be a sort of "unstable wrapper" » 2025-09-12 21:07:51

apt is a "work in progress" interactive tool, it has undocumented options (if you don't read the manual) since they may not be tested enough to have full documentation, for example for apt 2.9.6devuan1

       edit-sources (work-in-progress)
           edit-sources lets you edit your sources.list(5) files in your preferred text editor
           while also providing basic sanity checks.

       showsrc, depends, rdepends, policy (summarised in apt-cache(8))

       source, build-dep, download, changelog, clean, distclean, autoclean (summarised in apt-
       get(8))

SCRIPT USAGE AND DIFFERENCES FROM OTHER APT TOOLS
       The apt(8) commandline is designed as an end-user tool and it may change behavior between
       versions. While it tries not to break backward compatibility this is not guaranteed either
       if a change seems beneficial for interactive use.

       All features of apt(8) are available in dedicated APT tools like apt-get(8) and apt-cache(8)
       as well.  apt(8) just changes the default value of some options (see apt.conf(5) and
       specifically the Binary scope). So you should prefer using these commands (potentially with
       some additional options enabled) in your scripts as they keep backward compatibility as much
       as possible.

SEE ALSO
       apt-get(8), apt-cache(8), sources.list(5), apt.conf(5), apt-config(8), apt-patterns(7), The
       APT User's guide in /usr/share/doc/apt-doc/, apt_preferences(5), the APT Howto.

#48 Re: Off-topic » Opinions about keypassXC » 2025-09-05 04:39:15

ffp wrote:

I use keepassxc-minimal.
I don't need the networking, browser integration, ssh agent, freedesktop.org secret storage features and it serves my needs well enough.
Should I be concerned about anything? smile

well, nothing to be concerned today, nor tomorrow nor in a year, probably nothing to be concerned even in 2 debian stable release cycles, however in the long run it is better to rely on software with an opt-in feature model than software that needs to be built and packaged with opt-out features like any *-minimal package, hence why i gave an idea of how to tackle it for the long term with multiple programs and libraries that are designed to be composable into a full fledged feature-set but every component is opt-in and intended to be different packages, i may eventually start cobbling the programs but expect nothing this year nor the next...

#49 Re: Devuan » [SOLVED] Whither Excalibur? » 2025-09-04 05:01:43

it is testing, usually devuan lags behind debian releases anywhere from weeks to months testing that stuff works and sometimes having to rebuild programs or even fork them to remove the hard dependencies on systemd, it is a "is ready when is ready" type of situation.

#50 Re: DIY » A Survey of User-made Content » 2025-09-02 22:05:33

dunno, i've been able to use my uxterm config to scroll with mouse ever since i set it up with that config

Board footer

Forum Software