The officially official Devuan Forum!

You are not logged in.

#26 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

#27 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.

#28 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

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

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

#30 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.

#31 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.

#32 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...

#33 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

#34 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)

#35 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.

#36 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...

#37 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

#38 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>

#39 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

#40 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.

#41 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...

#42 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.

#43 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

#44 Re: DIY » A Survey of User-made Content » 2025-09-02 13:26:30

well, technically in the keybinds overrides you could do something like this:

     │ ! keybind overrides
     │ UXTerm*VT100.Translations: #override \
     │     Prior <KeyPress>:scroll-back(1,halfpage) \n\
     │     Next <KeyPress>:scroll-forw(1,halfpage) \n\
     │     Shift <KeyPress> Insert: insert-selection(CLIPBOARD) \
     │     Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \
     │     Ctrl Shift <Key>C:    copy-selection(CLIPBOARD) \

which would work and make the xterm buffer scroll up and down with just the next and prior key, but that is going to cause problems with the tui programs like vim that map functions to the next and prior keys, say in vim instead of scrolling in the vim buffer you'll scroll the xterm buffer which will also show terminal history... and that is without mentioning that you have to unmap the default xterm keybinds that add the half page scroll function cuz otherwise you just duplicated the same function without a keychord for a worse user experience...

    ! xterm default keybinds, see full list with man xterm
        Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\
        Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\

#45 Re: DIY » A Survey of User-made Content » 2025-09-02 04:46:24

ah, that is configuring xterm through command line, i configure xterm through xresources.

i got this file structure for my x11 related configs

  [$HOME/.config/x11/]
 ├──  dynamset*
 ├──  xinitrc*
 ├──  xprofile*
 ├──  xresources
 └──  Xresources.d/
    ├──  colors
    ├──  nsxiv
    ├──  nsxiv-colors
    └──  xterm

the file .Xdefaults is just a symlink to the xresources file inside .config/x11

[ ed  Pro  ~ ] namei  .Xdefaults
f: .Xdefaults
 l .Xdefaults -> .config/x11/xresources

with these contents:

 
  File │  .Xdefaults
───────────────────────────────────────────────────────────────────────────
     1 │ !*dpmsEnabled:         False
     2 │ Xcursor.theme: breeze-pywal
     3 │ Xft.antialias: 1
     4 │ !Xft.dpi:      96.1025390625
     5 │ Xft.dpi:  86
     6 │ Xft.hinting:   1
     7 │ Xft.hintstyle: hintslight
     8 │ Xft.lcdfilter: lcddefault
     9 │ Xft.rgba:      rgb
    10 │
    11 │ #include "Xresources.d/xterm"
    12 │ #include "Xresources.d/colors"
    13 │ #include "Xresources.d/nsxiv"
    14 │ #include "Xresources.d/nsxiv-colors" 

that is because my color definitions are generated by a script

my actual xterm config is this:

 
  File │  .config/x11/Xresources.d/xterm  
─────────────────────────────────────────────────────────────────────
     1 │ ! text font
     2 │ UXTerm*faceName: BlexMono Nerd Font Mono:size=9
     3 │ UXTerm.vt100.scaleHeight: 1.0
     4 │ ! Unreadable
     5 │ UXTerm*faceSize1: 3
     6 │ ! Tiny:
     7 │ UXTerm*faceSize2: 6
     8 │ ! Small:
     9 │ UXTerm*faceSize3: 10
    10 │ ! Medium:
    11 │ UXTerm*faceSize4: 12
    12 │ ! Large:
    13 │ UXTerm*faceSize5: 15
    14 │ ! Huge:
    15 │ UXTerm*faceSize6: 18
    16 │ ! Enormous:
    17 │ UXTerm*faceSize7: 24
    18 │ ! do not compare bold to normal font
    19 │ UXTerm*freeBoldBox: true
    20 │ ! set term name
    21 │ UXTerm.termName:xterm-256color
    22 │ ! set saved lines
    23 │ UXTerm*saveLines: 999999
    24 │ ! double-click to select whole URLs :D
    25 │ UXTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
    26 │ ! Allow sixel graphics. (Try: "convert -colors 16 foo.jpg sixel:-").
    27 │ UXTerm*decTerminalID : vt340
    28 │ UXTerm*eightBitInput: false
    29 │ UXTerm.vt100.internalBorder: 2
    30 │ UXTerm*jumpScroll:      true
    31 │ UXTerm*multiScroll:     true
    32 │ UXTerm*alternateScroll: true
    33 │ ! ops
    34 │ UXTerm*.vt100.allowTitleOps: true
    35 │ UXTerm*.vt100.allowFontOpts: true
    36 │ UXTerm*.vt100.allowWindowOps: true
    37 │ ! cursor
    38 │ UXTerm*selectToClipboard: true
    39 │ ! select without mouse
    40 │ UXTerm*printerCommand: sh -c 'xterm-copyout <&3' 3<&0
    41 │ ! print with ansi colors
    42 │ UXTerm*printAttributes: 2
    43 │ ! keybind overrides
    44 │ UXTerm*VT100.Translations: #override \
    45 │     Ctrl <Key>slash: print-everything() \
    46 │     Ctrl <Key> -: smaller-vt-font() \
    47 │     Ctrl <Key> +: larger-vt-font() \
    48 │     Ctrl <Key> 0: set-vt-font(d) \
    49 │     Shift Ctrl <Key>T: spawn-new-terminal() \
    50 │     <BtnUp>:select-end(SELECT, CUT_BUFFER0, PRIMARY) \
    51 │     Ctrl Shift <Key>H: set-altscreen(toggle) \
    52 │     Shift <KeyPress> Home : scroll-to(begin) \
    53 │     Shift <KeyPress> End  : scroll-to(end) \
    54 │     Shift <KeyPress> Insert: insert-selection(CLIPBOARD) \
    55 │     Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \
    56 │     Ctrl Shift <Key>C:    copy-selection(CLIPBOARD) \

yes, i do use uxterm rather than xterm, tho that is because the command i actually use to start a terminal is x-terminal-emulator, which is symlinked to the xterm lxterm (locale xterm) which detects the locale charmap, in my case UTF-8, and calls the uxterm wrapper script

#46 Re: Documentation » HOW TO: Install XLibre on Devuan » 2025-08-31 18:05:49

any specific feature that makes it a "worth installing right now" over waiting for it to be added onto either debian or devuan experimental for your daily driver? cuz for testing environments and providing feedback onto the project i do consider an install now if you can spare a "testing machine"

#47 Re: DIY » A Survey of User-made Content » 2025-08-31 07:25:17

eh, well tmux does have a copy mode to copy any arbitrary text from the terminal buffer with just the keyboard alone and can use vim keys for movement, hence why i wrote the script to use tmux and optionally work without tmux.

as far as the terminal goes, that is up to preference for the user, personally i like ancient old xterm against all nice modern terminals that sport the bells and whistles out front, xterm does have the option to enable scrollbar but i do not use that one, however being able to copy text with the keyboard alone is a nice thing to have, for which i cobbled this script to extend the functionality of xterm so that i can get a new xterm (xterm with xterm) running an fzf instance that shows a dump of the whole xterm history buffer, thanks to fzf the lines are searchable by content and multiple lines can be selected, upon pressing enter every selected line is copied into the clipboard, so eh it may not be the fancier thing but the functionality is nice https://github.com/eylles/xterm-copyout

#48 Re: DIY » A Survey of User-made Content » 2025-08-31 01:25:31

well, more shell slop crudely typed by my hands, this time a handful of scripts that aim to wrap neovim and a terminal emulator into a makeshift gnvim program to better integrate with GUI programs and desktop environments

https://github.com/eylles/xterm-nvim

will try to create a .deb package for it tho.

#49 Re: Other Issues » amd64-microcode update for transient scheduler attacks » 2025-08-31 01:22:51

if i'm not mistake that is a firmware update, either your need to wait until your board vendor releases an update and install manually, or wait a while and check if it is going to be added to the LVFS database to update with fwupd, mind you not all OEM vendors upload every firmware and microcode updates to LVFS nor upload them in a short time from releaseing the updates, could be anything from days to even a year it all depends on how well the vendor, in this case AMD supports the Linux Vendor Firmware Service.

in my experience the support is not great not terrible, in a couple of ocassions i've had firmware updates for my HP ProBook 445 G7 that runs on an AMD ryzen 7 4700U installable via fwupd, for many others however i've had to install the updates from HP via the uefi update menu

https://wiki.debian.org/Firmware/Updates

#50 Re: Off-topic » Opinions about keypassXC » 2025-08-26 23:54:04

Anyway, more on topic, password management really has got me thinking for a while that there is not a real "good" generic way to do password management on a unix like environment, seeing all the threads about complains on password managers like keepass, local secre/password access stuff via gnome-keyring-daemon, and browser/mobile password management where the only good solution is bitwarden as you can host your own server and there are at least 3 implementations of the bitwarden server, not to mention the need for OTP codes and all the problems that the gnome-authenticator package had at one point being removed from testing and how difficult it was for the maintainers to package the newer version of the project after it was rewritten from scratch in rust because the rust model of managing it's own dependencies with cargo has a lot of friction with how packages are built in debian...

All that to say, i've been thinking of looking into writing a set of programs for addressing that madness:

  • password-keyring-daemon: a daemon to replace the secret store functionality of the gnome-keyring-daemon,will however not provide d-bus functionality by default, all the actual storing of secrets and passwords would be done with pass as a pluggable backend, so whoever doesn't like pass can roll his own password manager and backend wrapper to be used with this daemon.

  • password-keyring-daemon-dbus-plugin: an optional plugin for said daemon to add the d-bus functionality for those who need it, this would include the org.freedesktop.secrets portal interface.

  • password-bw-imexporter: a plugin to import-export to/from bitwarden, would use a config file to set the bitwarden server and account credentials so users can still self host bitwarden, the idea is to allow the daemon to fetch the passwords csv, merge with the local password store through the backend and then get a merged csv from the backend to export onto the bitwarden server, this would be one of the pieces of this whole set with network access to sync the password stores.

  • password-keyring-favicon-fetcher: just a "dumb" program to fetch the favicons, the second program of this set to have net code and would serve to prevent the need of net access in the other programs.

  • password-keyring-authenticator-lib: a library to handle all the OTP stuff, not something that would directly be called by the daemon.

  • password-keyring-authenticator: a gui program to manage OTP authentication, be it just copy the OTP code to clipboard or add a new authentication entry be it by qr code image or a token.

  • password-keyring-manager-lib: a thin client library to retrieve passwords from the password-keyring daemon, to be used by a gui program.

  • password-keyring-manager: a gui program to actually manage the locally stored passwords, if the favicon fetcher is present it will show favicons, if the bw-imexporter is present will sync the password store on start and upon changes.

consider those names as placeholders, and for the actual development i would probably use python to have a fast development cycle as besides the very core daemon none of the other programs are "performance critical" to NEED be written in C, and even then re-writing the daemon in C would be something to consider for the time when everything else is working good enouhg..

Tho i got no timeframe whatsoever to do any of this, nor it is for sure i will with my history of starting cobbling together daemons and other programs then taking forever to add basic features...

Board footer

Forum Software