The officially official Devuan Forum!

You are not logged in.

#926 Re: Installation » Gdebi would not install packages in graphical installer mode? » 2022-02-19 17:56:32

^ Yes, sorry, I didn't read the OP carefully enough.

To clarify: if I download a .deb using Firefox it offers to either save it or open it with an application. It is to this dialogue box I was referring in post #2.

No idea how to make it work with thunar though. Yet.

@OP: try using Firefox or gdebi-gtk directly instead until I figure this out.

#927 Re: Off-topic » The seitan conundrum » 2022-02-19 14:23:43

hevidevi wrote:

You must be a bit unhinged for a reply like this

No **** Sherlock big_smile

EDIT for clarity: yes, I suffer from mental health problems.

#929 Re: Off-topic » The seitan conundrum » 2022-02-19 13:42:13

Yeah, because clinically-controlled trials with statistically significant p values for their results are completely meaningless compared to four people suffering from a clear case of confirmation bias.

EDIT: sorry, I'm hungry. It makes me even more grumpy than usual.

EDIT2: no, I won't eat that ****ing macrobiotic ****. It's a marketing con, pure & simple. Just like those bollocks "superfoods".

#930 Re: Installation » Gdebi would not install packages in graphical installer mode? » 2022-02-19 13:19:44

kapqa wrote:

Am i missing something?

Probably a graphical polkit authentication agent. Run gdebi-gtk /path/to/.deb from a terminal or check ~/.xsession-errors for anything relevant.

Try installing policykit-1-gnome, that should supply an agent and the autostart .desktop file for it.

Disclaimer: other graphical polkit authentication agents are available. I posted a full list recently but I can't be bothered searching for it....

EDIT: no, looks like polkit-1-gnome is already installed & running in Devuan's Xfce desktop and gdebi-gtk works fine in isolation.

I can get it working in my VM by clicking on the "Open with" scroll box (where it says "GDebi Package Installer (default)") then clicking on "Other..." then selecting "Gdebi Package Installer" again. Once that is done the expected password confirmation box will open and the package can be installed directly from Firefox.

Very strange hmm

#931 Re: Off-topic » What are you reading/want to read ? » 2022-02-19 09:03:56

Cloud Cuckoo Land by Anthony Doerr. Beautifully written but it keeps making me sad. A masterpiece.

#932 Re: Other Issues » Moving files between NTFS and Linux files systems » 2022-02-19 08:44:06

Probably off-topic but Linux now has a native NTFS driver for v5.15 which should offer much improved performance over the old NTFS-3G FUSE version.

https://www.kernel.org/doc/html/v5.15/f … /ntfs.html

Disclaimer: I don't use NTFS.

#933 Re: Installation » [SOLVED] Where did obmenu go? » 2022-02-19 08:39:49

There is obmenu-generator, I provide the .deb packages linked from the GitHub page:

https://github.com/trizen/obmenu-genera … INSTALL.md

Be sure to either add the repository or install both the perl-linux-desktopfiles and the actual obmenu-generator packages. I do not recommend manually installing the linux-desktopfiles perl modules with cpan although many random interweb "guides" will suggest it.

#934 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-19 08:29:54

^ /dev/pts will have been mounted under /dev/ by the --rbind option.

k3yw0ow wrote:

Yes, I copied the static information about the file systems to the new system:

cp /etc/mtab /mnt/etc/mtab

/etc/mtab should be a symlink to /proc/self/mounts in the running system. It is not necessary to populate it while installing but you can create the symlink once the system is independently booted. Just creating /etc/mtab will not cause the listed partitions to be mounted.

If you have /var/ on a separate partition it needs to be explicitly mounted before using chroot.

So if the root filesystem is on /dev/sdX1 with /var/ on /dev/sdX2 you should use

# mount /dev/sdX1 /mnt
# mkdir -p /mnt/var
# mount /dev/sdX2 /mnt/var

Also mount any other required partitions using the same method.

If you're doing this from a Devuan or Debian live system you can use the Arch Way to proceed:

# apt install arch-install-scripts
# genfstab -U /mnt > /mnt/etc/fstab
# arch-chroot /mnt

The arch-chroot command mounts the API filesystems and copies over /etc/resolv.conf automagically. But you probably already know that :-)

You can also use the Arch Way to generate /etc/adjtime instead of creating it manually as the Debian guide suggests:

# hwclock --systohc

^ That presumes the hardware clock is using UTC, which it should be even if you're multi-booting with Windows[0]. Make sure the system clock is correct before running that.

[0] https://wiki.archlinux.org/title/System … ft_Windows

#935 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-18 21:56:28

What was the exact command you ran to produce that error message?

k3yw0ow wrote:

I go into chroot

How did you do that, exactly? Is /var/ on a separate partition and was that partition mounted correctly under the root partition before you chrooted in?

#936 Re: Installation » [SOLVED] Where did obmenu go? » 2022-02-18 21:52:43

jacksprat wrote:

discontinued

^ This: https://pkginfo.devuan.org/cgi-bin/poli … u&x=submit

jacksprat wrote:

is its function replaced by anything?

There's https://github.com/keithbowes/obmenu but it isn't packaged for Devuan. It should be fairly simple to do that with debmake(1) though. See also https://www.debian.org/doc/manuals/debmake-doc/

#937 Re: Desktop and Multimedia » Does daedalus contain xfce4-screensaver ? » 2022-02-18 10:36:46

See https://bugs.debian.org/cgi-bin/bugrepo … bug=919151 & https://bugs.debian.org/cgi-bin/bugrepo … bug=919348

tl;dr: the Linux versions have a libsystemd0 dependency so unfortunately you're stuck with light-locker.

I don't use a screensaver myself but I think xscreensaver can be made to work in Xfce and that's probably the best option in respect of security. Hopefully somebody who uses that will chime in with some pointers.

EDIT: wait, I'm wrong, libsystemd0 is actually available in Devuan[0] and xfce4-screensaver is in ceres. Not sure when the RC bug will be lifted so it can be moved to testing though. The joys of the development branches, eh?

[0] lol wut?

#938 Re: Off-topic » The seitan conundrum » 2022-02-17 15:35:30

The evidence is pretty clear in respect of macrobiotic diets: they are not healthy. And remember: the plural of anecdote is not evidence wink

#939 Re: Other Issues » Changes to the network manager after upgrading to Chimaera » 2022-02-17 06:48:23

sneed4feed wrote:

you're fucked if you don't know that you have to manually edit Network-Manager's config and change managed=false to true under the [ifupdown] section

That would only be true if the wireless device was listed in /etc/network/interfaces. And if the device was listed there then it would connect with ifupdown. I can only presume that your configuration in /etc/network/interfaces was incorrect (perhaps outdated?) because otherwise the wireless connection would work just fine even without wicd installed and without NM controlling the interface.

#940 Re: Installation » The best init system » 2022-02-15 13:43:15

^ I still get confused with sysvinit when it comes to enabling and disabling services and also with checking if they are actually enabled, which is why I prefer OpenRC or systemd with their more straightforward management tools.

For my ROCK Pi S switching Debian from systemd to runit (with runit-init as PID 1) saves a significant amount of memory on a device which only has 512MiB to spare.

There are also the inherent advantages conferred by moving to a smaller code base, which is especially relevant when comparing systemd with OpenRC, runit or s6: less code == less potential for bugs to creep in. Theoretical, granted, but still a factor.

EDIT: *you're tongue

And here's a comparison of the binary sizes for the Debian bullseye/Devuan chimaera versions:

$ ls -l lib/{systemd/systemd,runit/runit-init} sbin/{openrc-,}init
-rwxr-xr-x 1 empty empty   18760 Jul 25  2021 lib/runit/runit-init
-rwxr-xr-x 1 empty empty 1739200 Jul 13  2021 lib/systemd/systemd
-rwxr-xr-x 1 empty empty   52240 Apr 18  2021 sbin/init # sysvinit
-rwxr-xr-x 1 empty empty   22520 Apr  2  2021 sbin/openrc-init
$

#941 Re: Other Issues » [SOLVED] Login screen appear after 4 min after setting nftable rules. » 2022-02-14 17:48:22

LightDM runs X under the root user but GDM or console logins run X under the normal user, which is *much* better.

To start the graphical desktop automatically after login at TTY1 add this line to the end of ~/.profile:

[ "$(tty)" = /dev/tty1 ] && exec startx

We don't need no stinkin' display manager...

#942 Re: Off-topic » What are you reading/want to read ? » 2022-02-13 21:23:57

Just finished Galaxias by Stephen Baxter.

The dialogue was awful, the prose stilted and the characterisation crude but Mr. Baxter does big-concept hard sci-fi better than anybody. I only got the book from the library yesterday but found it almost impossible to put down. Highly recommended.

#943 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:12:04

ralph.ronnquist wrote:

to recover an DOS partition table, you clear the first 1 Mb of the device

An MS-DOS partition table only occupies the first 512 bytes. Reference: https://en.wikipedia.org/wiki/Master_bo … rtitioning

This will clear the table for both MS-DOS ("MBR" type) and GPT devices:

# sgdisk --zap-all /dev/sdX

That command is supplied by the gdisk package.

#944 Re: Other Issues » [SOLVED-BAD RAM] Browser crashes on Devuan 3 and 4,... » 2022-02-13 20:45:09

Ouch. Perhaps I was wrong about that broken POS software... tongue

#946 Re: Freedom Hacks » Missing init scripts and how to provide them » 2022-02-13 20:43:03

This is generated from /lib/systemd/system/alsa-restore.service in my Arch box:

#!/bin/sh
# Generated by sysd2v v0.3  --  http://www.trek.eu.org/devel/sysd2v
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides:       alsa-restore
# Required-Start: $remote_fs
# Required-Stop:  $remote_fs
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:    Save/Restore Sound Card State
### END INIT INFO
DESC="alsa-restore"
DAEMON=none
PIDFILE=none

do_start_cmd_override ()
{
  /usr/sbin/alsactl restore
  true
}

do_stop_cmd_override ()
{
  /usr/sbin/alsactl store
  true
}

do_status_override () :

^ Save that to /etc/init.d/alsa-restore and run

# update-rc.d alsa-restore defaults

Disclaimer: untested.

#947 Re: Other Issues » [SOLVED-BAD RAM] Browser crashes on Devuan 3 and 4,... » 2022-02-13 14:36:48

Does Pale Moon really only have two developers? That's even worse than I thought... roll

#948 Re: Desktop and Multimedia » [SOLVED] intel_reg write is disabled upon display off/sleep » 2022-02-13 14:34:47

Why have you placed the intelpwm script under /usr/lib/udev/? I think /usr/local/bin would be better. Is the intelpwm script executable? It might be best to open an issue in the linked GitHub repository if that doesn't make it work because I don't use Intel and so have no way of testing this.

It's not important but local udev rules belong in /etc/udev/rules.d/, /usr/lib/udev/rules.d/ is for rules supplied by packages.

The udevadm info command makes no sense at all, what are you trying to achieve with that?

Anyway if you can't get the udev rule working you can try this file at /etc/modprode.d/i915-pwm.conf instead:

install i915 /usr/local/bin/intelpwm ; /sbin/modprobe i915 --ignore-install

Make sure the intelpwm script is executable.

#949 Re: DIY » Script for starting application and picking random folder to do it in » 2022-02-13 10:58:32

zapper wrote:

I want it to be able to function with more than just playing a random audio or video file

That's a little vague, can you explain more? See also http://www.catb.org/~esr/faqs/smart-questions.html & https://xyproblem.info/

dice's script could be generalised a little:

#!/bin/sh
find /path -type f -name "*.$1" | shuf -n 1 | xargs -d "\n" "$2"

Replace /path with the actual path under which you want the search to be performed and run the script with the first argument being the desired suffix of the files and the second argument being the application to be run.

So if the script was saved to /usr/local/bin/random-run and you wanted to open a random PNG file you would run

random-run png feh

Does that help?

EDIT: or use xargs -d "\n" xdg-open, which should use the file MIME type to determine the appropriate application, and then just pass the desired file suffix to the random-run script.

#950 Re: Other Issues » [SOLVED-BAD RAM] Browser crashes on Devuan 3 and 4,... » 2022-02-13 10:48:53

Probably better to use memtest86 and/or memtest86+ instead because it doesn't rely on the operating system API and it tests all of the memory rather than just that available in user space.

Ron wrote:

why didn't I experience so many crashes when I was running Devuan 2.1

I'm just guessing here but as Pale Moon is based on a very old version of Firefox code rot might be a factor.

It is important to remember that FF & Chrome are developed by very large teams with massive experience and huge funding whereas Pale Moon is the work of a few developers and seems to be a hobby project rather than a professional operation.

Board footer

Forum Software