The officially official Devuan Forum!

You are not logged in.

#1051 Re: ARM Builds » DHCP client problems after upgrade to Chimaera » 2021-08-23 10:28:10

Is there a cable on eth0?

please post your /etc/network/interfaces

#1053 Re: Installation » My chimaera install issues #6: lxqt-pm shouldn't be autorun on desktop » 2021-07-22 23:22:19

Yes, someone has to do the work to figure that out. Why not you?
.. that's not meant to be aggressive in any way, but rather it's a suggestion that you shouldn't feel obstructed by imagined limitations and instead see it as an opportunity to learn as well as to actively contribute to the collaborative effort that Devuan is.

#1054 Re: Installation » My chimaera install issues #6: lxqt-pm shouldn't be autorun on desktop » 2021-07-22 22:38:59

This is just a meta level note, that the way to capture bugs and user experience comments is by lodging "bugs", typically by email to the "bugs system".

The expectation is then that the lodger first tries to isolate which package is involved or seemingly involved and then lodge a "bug" against that package. If the package is "pure debian" the email target is "submit" at "bugs.debian.org, and if it's a devuan forked package, the email target is "submit" at "bugs.devuan.org,".

In both cases, the email should be a pure text email with the first two lines styled as

Package: packagename
Version: version

and then the description with details added.

It's of course fine to also note them at this forum, especially when it comes to more opinion based issues. However rather few of the package maintainers are at this forum.

#1056 Re: Installation » [SOLVED] System mail notifications script » 2021-07-02 23:41:44

mmm you omitted the -e... the last part of the line should read

-geometry 120x15-300+150 -e mail"

at least that's what the man xterm page says. I don't really know what the significant difference is between nominating a shell at the end (without -e) and nominating a program via the -e option. The man page has some discussion about it, but the authors' idea of clarity is different from mine.

#1057 Re: Installation » [SOLVED] System mail notifications script » 2021-07-02 13:27:14

yes; add the -e mail option for xterm as its last argument within the double-quoted string. Then that will be run instead of a command shell.

#1058 Re: Installation » [SOLVED] System mail notifications script » 2021-07-02 02:03:40

To use double-quotes within a double-quoted string, they must be back-slashed... ie

coolmail -e "xterm -xrm 'XTerm.vt100.allowTitleOps: false' -T \"System mail notification\"" -geometry 120x15-300+150

An alternative is to use single-quotes, as in the -xrm detail.

#1059 Re: Off-topic » Today I Learned » 2021-07-01 05:05:25

Note that recently the kernel's loop module has max_part=0 by default, which means that the partitions (eg /dev/loop0p1) will not be set up. Many strands of hair have been lost due to this.

To get the good  behaviour, I've added a file /etc/modprobe.d/loop.conf with the following line:

options loop max_part=15

before the loading of the loop module. Almost any number other than 15, within bounds, is also fine.

#1060 Re: Packaging for Devuan » quilt diff fails » 2021-06-26 00:07:29

There's some additional notes about quilt for debian packages in man dpkg-source, line 440++. Esp:

Any change on a binary file is not representable in a diff and will thus  lead to a failure unless the maintainer deliberately decided to include that modified binary file in the debian tarball (by listing it in debian/source/include-binaries).  The build will also fail if it finds binary files in the debian sub-directory unless they have been whitelisted through debian/source/include-binaries.

Perhaps that means both that the relative pathname for png file (probably relative the directory containing the debian sub directory) must be mentioned in that included-binaries file, and then that the included-binaries file is maintained via quilt patching.
EDIT: or that the included-binaries file is just updated (without quilt-ing).

#1061 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 12:55:42

zapper wrote:

  $HOME/Zeal/Music*/*.{opus}

I think bash doesn't handle braces around singleton option well; it only works well when there are options. And it also has to find some * match for every option otherwise it results in the glob string itself. Though, perhaps inserting a prior

shopt -s nullglob

changes that.

Thus, in effect, all those selections ending {opus} end up as "bad pathnames" when picked for the later play command.

In other words, remove the braces for all {opus} and insert that shopt command, and then it hopefully will work consistently.

#1062 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 04:17:36

Expanded example with some more audio paths, and also that I added "$" for "$RANDOM" just for symmetry (although it shouldn't be needed) and removed the braces for $PICK (also not needed).

#!/bin/bash
AUDIO=( 
    $HOME/folder*/*.{wav,mp3,ogg}
    $HOME/with/some/path/*.mp3
    /usr/share/sounds/alsa/*.wav
)
LENGTH=${#AUDIO[@]}
PICK=$(( $RANDOM % $LENGTH ))
play ${AUDIO[$PICK]}

In detail,

  • the AUDIO assignment is the collection of possible audio files, which in this example includes any files with extensions wav, mp3 or ogg in any home folder whose name starts with "folder", plus any mp3 file in the folder path "with/some/path" from the home folder, plus any wav file in (system) folder "/usr/share/sounds/alsa/";

  • the LENGTH assignment is the number of pathnames in the AUDIO list;

  • the PICK assignment is an integer between 0 and LENGTH-1 picked from a uniform distribution between 0 and 32767, modulo the length (which makes it favour lower numbers); and

  • the play command is of the PICK:th pathname of AUDIO list

I'm sure you can edit the audio paths to suit your needs.

But, there's something funny going on if it doesn't pick at random; perhaps a misspelling? But if you used Copy-and-Paste then that wouldn't be the case. The other option is that the audio selection doesn't find more than one file.. You might check that by inserting

echo ${AUDIO[@]}

immediately after the assignment, and review that output....

#1063 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-20 23:11:48

The script could be something simple, like

#!/bin/bash
AUDIO=( $HOME/folder*/*.{wav,mp3,ogg} )
LENGTH=${#AUDIO[@]}
PICK=$(( RANDOM % $LENGTH ))
play ${AUDIO[${PICK}]}

Then it depends on which display management you are using; with xfce4 you would go to "Settings":"Session and Startup" and add a new entry for "Application Autorstart" and there point at your executable script. That would set it up so that that script gets executed upon login.

If you want it tied to console login you might add it to your ".bashlogin", or similar depending on which shell you are using.

#1064 Re: Other Issues » At the shut down menu screen I choose shut down, but it reboots. » 2021-06-12 00:38:33

There's a little bit of mismatch between:

VH wrote:

I am using Beowulf on a chromebook with Xfce desktop environment.

and:

VH wrote:
 500 [url]http://us.deb.devuan.org/merged[/url] ascii-updates/main amd64 Packages
     release v=2.0.0,o=Devuan,a=oldstable-updates,n=ascii-updates,l=Devuan,c=main,b=amd64
     origin us.deb.devuan.org
 500 [url]http://us.deb.devuan.org/merged[/url] ascii-security/main amd64 Packages
     release v=2.0,o=Devuan,a=oldstable-security,n=ascii-security,l=Devuan-Security,c=main,b=amd64
     origin us.deb.devuan.org
 500 [url]http://us.deb.devuan.org/merged[/url] ascii/main amd64 Packages
     release v=2.1,o=Devuan,a=oldstable,n=ascii,l=Devuan,c=main,b=amd64
     origin us.deb.devuan.org

Perhaps it's worth to deal with that first, and then see if the problem remains.

#1065 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 13:38:07

As @GlennW noted the kernel package is available in the alpha-20210503 ISO, which I could find from Devuan's backup, but that doesn't include the headers.

Possibly you could get them from the "orginal source" which I think would be
https://www.kernel.org/pub/linux/kernel … .28.tar.xz

.. but then there's the caveat that this might be well a "red herring"....

EDIT: Note that Debian has a couple of patches applied to header files. Though off the top they don't seem to concern graphics.

#1066 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 11:39:58

That might be right; and the corresponding linux-headers would be at least in the server and desktop isos.
Though, the chimaera alpha ISOs are rebuilt every Monday and might now hold only the 5.10.0-7 package(s).

You find linux-image-5.10.0-0 in beowulf-backports. That's kernel version 5.10.24 (as opposed to 5.10.40 that is packaged as linux-image-5.10.0-7 and kernel version 5.10.28 that was packaged into linux-image-5.10.0-6)

Links for direct download of the .deb(s) could be:
linux-image-5.10.0-0.bpo.5-amd64=5.10.24-1~bpo10+1
and
linux-headers-5.10.0-0.bpo.5-amd64=5.10.24-1~bpo10+1

#1067 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 09:13:54

Hmm that observation suggests it relates to the kernel version?
or is there some apparmor involved?

#1068 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 08:18:51

Yes it appears to be fully chromium's problem... are you sure it runs with your credentials rather than some "sandbox user" ?

#1069 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 07:59:35

You might try running

fuser -v /dev/snd/*

to see which if any (other) process "owns" the device.

#1070 Re: Desktop and Multimedia » Chromium + ALSA + jitzsi: mic problem after update » 2021-06-07 05:42:35

You might try running

fuser -v /dev/snd/*

to see which if any (other) process "owns" the device.

#1071 Re: Hardware & System Configuration » How to properly install and use Zram » 2021-06-03 22:59:12

There is a program and package fbcat for grabbing the frame buffer into ppm format. You'd need to arrange for that to be  available to the installer and run regularly to screenshotting.

E.g., set up a special USB stick that holds that program and has space to hold the succession of snapshots. Then, at the very first dialogue you shift over to VT2 to mount that USB and start the regular repeated snapshotting (example below), and then you shift back to VT1 and continue.  Making a snapshot every 5 seconds gather 12 snapshots a minute, each being (I think) ${number of pixels}x4 bytes in size, typically < 1Mb each. I.e. 1 Gb space handles about an hour of 5-second snapshots.

while sleep 5 ; do fbcat /dev/fb0 > snap-$(date +%s) ; done

Note that this would be for screenshotting the linux frame buffer. The "graphical mode" installers run tthisheir X servers which hold their screen images in memory (without using the linux frame buffer(s)), so screenshotting them is slightly different.

#1072 Re: Other Issues » Tape drives » 2021-05-22 00:38:47

Based on a shallow look-around, it would seem you'll need to get the "st" module loaded.

Perhaps a plain

# modprobe st

is sufficient, or maybe it needs some more intricate incantation.

(Possibly it needs a tape loaded at the time)

Look up Documentation/scsi/st.rst in the kernel source for details of that module.

#1073 Re: Other Issues » Tape drives » 2021-05-20 19:30:00

Did you try making /dev/tape a link to /dev/sdc? (though it might well need some API adapter between)

#1074 Re: Installation » Kernel upgrade: apparmor and tomoyo » 2021-05-16 22:00:15

What is all this about?
Is it just me or am I seeing far too many (unrequired) Mandatory Access Control instances in the Linux kernel?

I would call it Way Too Many.

tomoyo-tools seems to be to be upstreamed from http://tomoyo.osdn.jp/ (and why that is enabled in debian's standard linux-image is unkown to me). Apparently adding security=none to the boot command should disable this one.

#1075 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-03 23:13:15

I think debian configures all run-levels 2-5 the same, so you'll need to change one of them, say 3, to boot up without starting a display manager (slim).

There are many ways to do so. For example, you might install sysv-rc-conf and run that in a terminal so as to "untick" the box for slim at run level 3, and then reboot with grub set to use run level 3.

I haven't tried this myself but I believe it's sufficient to avoid slim at boot up.

Board footer

Forum Software