The officially official Devuan Forum!

You are not logged in.

#1 Re: Devuan » Hardening Linux, minimal, to ultra. » 2022-12-19 18:52:48

Head_on_a_Stick wrote:
Devarch wrote:

immutability

How about overlayfs? Mount the root partition read-only with a writeable overlay that is lost on reboot.

Alpine uses overlayfs to run in RAM:

https://gitlab.alpinelinux.org/alpine/m … it.in#L535

Yes, I'm using overlayfs

The script looks too complicated. There are much simplier solutions:

1. https://packages.debian.org/bullseye/bilibop  uses overlayfs or aufs if aufs is in the kernel, easy to use

2. https://www.kicksecure.com/wiki/Grub-li … ng_started adds live boot entry

did not find smth similar for BSD family. They are using unionfs but I've no idea if it is useful and how to use it.

Also I do not understand the concept of "reasonably secure operating system" qubes. They are using systemd and have no immutability. All the logs, traces or malvares are persistent. Strange.

#2 Re: Devuan » Hardening Linux, minimal, to ultra. » 2022-12-18 20:30:36

To my mind there is no hardening without immutability. The system must be vierge after reboot.

#3 Re: Desktop and Multimedia » Pipewire » 2022-12-13 17:57:48

GlennW wrote:

My system is Devuan 5 Daedalus.

the hardware is discovered and used. works ok. Will be trying the bt headphones soon. :-) thank you

The installation is a bit different on daedalus - much simplier smile

Nice to hear that it works.

#4 Re: Installation » [SOLVED] Using debian repos for non systemd related packages? » 2022-12-11 19:42:11

recklessswing wrote:

I tried similiar stuff but in the end they failed. Good try though.

What do you mean when you say "similar"?

My chimaera is converted from debian with this exact not similar configuration. Systemd has been purged succesfully. I've also active LMDE repos with the same priority as devuan's repos, mx and sparky repos with lower priority.

#5 Re: Installation » Installing from USB thumb drive » 2022-12-10 23:48:35

Micronaut wrote:

Has the odd problem of permanently incomplete install of proprietary video drivers been solved in chimaera? Or will I have to go back to those threads about elaborate extra steps to complete the installation?

Download unofficial non-free image of Debian and convert it installed to Devuan. There is always a choise.

#6 Re: Desktop and Multimedia » Pipewire » 2022-12-10 12:34:18

GlennW wrote:

I tried it yesterday and got no sound devices listed.

I'll give it another shot sometime in the near future.

Seems I forgot nothing, all the steps are above. It works on my machine.

I have to use recent kernel as I've quite recent hardware

$ uname -a
Linux host 6.0.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.3-1~bpo11+1 (2022-10-29) x86_64 GNU/Linux

But I don"t think it makes any difference.

In addition to what @Head_on_a_Stick told, try to not run it as root.

#7 Re: Desktop and Multimedia » Pipewire » 2022-12-06 17:11:11

Telegram also works.

If someone wants to repeate the steps above give me some time to test. I do not know if there are some bugs.

Update. It works.
The disadvantage, when I use USB headset I have to manually set input and output in order to use external microphone and speaker.

Also my bluetooth did not keep connection more than 15 min or so. But it was not linked with pipewire itself. The same was with pulseaudio.
The solution is to update intel bluetooth driver to the latest:

 
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20210511.tar.gz
tar xfvz linux-firmware-20210511.tar.gz
cd linux-firmware-20210511
sudo cp intel/ibt-* /lib/firmware/intel/

I still has an error "iwlwifi driver not loading" on boot, but wifi and bluetooth are working without issues.

#8 Re: Desktop and Multimedia » Pipewire » 2022-12-06 14:56:57

OK. I've got it.

There is still a problem with pipewire: the sound is a bit "metallic" on chimaera, while close to "the best" on daedalus.

I'll provide a tutorial bellow if somebody needs it. not sure this is the best way smile

under root:

nano /etc/apt/sources.list
deb http://deb.devuan.org/merged chimaera-backports main contrib non-free

//backport is needed as there are no all packages in the main

apt-get update
aptitude install -t chimaera-backports pipewire pipewire-audio-client-libraries pipewire-pulse pipewire-bin pipewire-alsa pipewire-doc pipewire-tests wireplumber libwireplumber-0.4-0 libspa-0.2-bluetooth libspa-0.2-jack gstreamer1.0-pipewire libpipewire-0.3-0 libpipewire-0.3-modules libspa-0.2-modules libxfixes3 blueman bluez

//apt can also be used. I've updated bluetooth
// I do not know if it makes any difference but my blueman is also newer 2.3.4+mint1+elsie than in chimaera as I have eslie repo enabled (LMDE:   deb http://packages.linuxmint.com elsie main upstream import backport)

mv /etc/xdg/autostart/pulseaudio.desktop /etc/xdg/autostart/pulseaudio.desktop.bak
pkill -9 pulseaudio
apt-get remove pulseaudio-module-bluetooth
touch /etc/pipewire/media-session.d/with-pulseaudio

touch /etc/pipewire/media-session.d/with-alsa
cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/

touch /etc/pipewire/media-session.d/with-jack
cp /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*.conf /etc/ld.so.conf.d/
ldconfig
rc-update del pulseaudio-enable-autospawn

// the last command is for open-rc, use different one if u 've sysvinit, runit

//now under regular user ($):  where megauser - is your username

nano /home/megauser/.config/autostart/pipewirelauncher.desktop

// content:

[Desktop Entry]
Type=Application
Exec=/home/megauser/pipewire.sh
Hidden=false
X-GNOME-Autostart-enabled=true
Name=myscript
Comment=custom script
nano /home/megauser/pipewire.sh

//content:

#!/bin/bash

/usr/bin/pipewire &
/usr/bin/wireplumber &
/usr/bin/pipewire-pulse &
chmod +x /home/megauser/.config/autostart/pipewirelauncher.desktop /home/megauser/pipewire.sh
# reboot
$ LC_ALL=C pactl info | grep "Server Name"

Server Name: PulseAudio (on PipeWire 0.3.58)

Sound on mpv, vlc, bluetooth works as well as microphone.

#9 Re: Hardware & System Configuration » [SOLVED] How to use ntfs-3g instead of kernel module? » 2022-12-03 22:34:30

I did not find it with blkid, but I found that  ls -altr /sbin/mount.ntfs gives

/sbin/mount.ntfs -> mount.ntfs-3g

So everything is OK.

#10 Re: Desktop and Multimedia » I am tired from Ceres glitches » 2022-12-03 21:55:57

deepforest wrote:

Thanks!
I hear that i can do only UPgrade distro, but DOWNgrade can cause many issues

Yes
Sometimes some config files etc are not the same. You can finish with broken system.

#11 Desktop and Multimedia » Pipewire » 2022-12-03 20:59:54

Devarch
Replies: 20

Is there is a correct way to install pipewire in Chimaera with bluetooth etc support?

#12 Hardware & System Configuration » [SOLVED] How to use ntfs-3g instead of kernel module? » 2022-12-03 20:50:40

Devarch
Replies: 3

How to find which ntfs driver is in use and how to use fuse instead of paragon?

#13 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-12-01 20:50:13

Head_on_a_Stick wrote:
Devarch wrote:

What's about battery life on Gnome?

No idea about that. I use my laptop for games so I've pinned the charging to stick to 50% and leave it plugged in at all times.

Just installed GNOME and tried powertop with that & sway:

archie:~$ grep discharge power.{sway,gnome}                  
power.sway:The battery reports a discharge rate of:  10.1  W;
power.gnome:The battery reports a discharge rate of:  6.69  W;
archie:~$

So GNOME is looking good. This is v43.1 though, it's lighter & seems more responsive than earlier versions.

Thanks. I was thinking to do the same check but have not done it yet sad

#14 Re: Off-topic » Google in trouble again » 2022-11-19 19:59:34

pcalvert wrote:
Head_on_a_Stick wrote:

To stop Google's Analytics tracking you across the web simply install the official GA opt-out add-on for your browser:

https://tools.google.com/dlpage/gaoptout?hl=en

You can also block Google Analytics using your hosts file or, like I do, using dnsmasq.

Why not dnscrypt-proxy?

Blocklists are not enough. Ublock or smth else is a must.

#15 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-19 19:51:25

Head_on_a_Stick wrote:

Nothing wrong with GNOME.

Does it drain battery as before? I was using Gnome for a while a couple years ago. To my taste it's quite usable with extensions. But... I don't understand why, but everybody in this world is talking about RAM usage not about CPU usage and battery drain.

I've discovered that TDE is great but not good for HDPI, Budgi and Mate are also good. XFCE is more power greedy, Cinnamon is close to XFCE and Gnome is the hungriest. Unfortunatelly Mate (and XFCE) does not support my HDPI at 100%, Budgie is obsolet in Chimaera. Pity. Budgie is Gnome whithout excess CPU usage. The world is not perfect.

Is it still the case? What's about battery life on Gnome?

#16 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-17 18:28:24

Ogis1975 wrote:
Devarch wrote:

You can disable FS check if it's enabled.

It is not a good idea. It is highly recommended to run it when the system requests to avoid file system errors. If you permanently disable fsck checks on the partition, errors that come up in the future may get through undetected and break your kernel or corrupt your data.

We are talking about speed up. FS check can be done manually and it's a good idea to have some full backups.
Anyway, almost all accelerations have a price. Even mitigations=off (which is good smile  )

I run the system on top of overlayfs. So the system is immutable and does not require FS check. It costs me some additional time to shutdown but it's good for security and performace. Also it helps to protect ssd.

#17 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-17 18:21:42

Marjorie wrote:
Devarch wrote:

To speed up devuan I've disabled anacron. Sometimes it slows down shutdown.

Anacron is useful on personal PCs ...

I don't use cron.

There is a bug or some problem with it. Sometimes it blocks shutdown. Quite seldom, but annoying.

#18 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-17 18:18:30

deepforest wrote:

Hmm. After disabling anacron i always have this error after booting
https://i.imgur.com/lZB72tt.png
all working again after enabling anacron

I've no problem with Cinnamon or Budgie.

#19 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-16 22:23:51

To speed up devuan I've disabled anacron. Sometimes it slows down shutdown. You can disable FS check if it's enabled.

#20 Re: Off-topic » Google in trouble again » 2022-11-16 22:19:11

zapper wrote:

all these mainstream media websites and news corporations are evil,
xD

100%

Aslo WASM is pure evil, not only "1000" scripts. I had to disable it in all browsers.

#21 Re: Desktop and Multimedia » Can you suggest some tips and tricks for speed up Devuan? » 2022-11-16 22:12:12

deepforest wrote:

I am talking about responsiveness overall of system.

On Devuan now i using Trinity DE and its much faster than default xfce de. I have several DEs installed its can slowdown on my Devuan?

I don't think having multiple DE will slowdown your PC. It's more abour running services.

Trinity is good and very battery effective, but its network manager can not reconnect (or I did not found) and not sure whether it supports pipewire and hdpi displays.

#22 Re: Off-topic » Google in trouble again » 2022-11-04 00:34:18

I agree with first part but not with the second.

All *isms are wrong.

#23 Re: Off-topic » We all aware the interweb is problematic, deranged, imbalanced. » 2022-11-03 01:18:59

golinux wrote:

I seem to be more of a fossil than you. I do not have a working cell phone. Only one which has never had a working account for 911 emergency use only . . .

The web is deranged because it magnifies the reality that our species is deranged with greed, hatred and delusion.  I vote for extinction . . .

Or one can have 3+ cell phones with different profiles for different tasks.

#25 Re: Off-topic » Google in trouble again » 2022-11-03 00:17:35

Head_on_a_Stick wrote:

I have to say that this article makes me like Google more:

https://www.newsbusters.org/blogs/free- … buries-gop

@OP: I find your links to far-right propaganda websites disturbing.

“Democracy is being allowed to vote for the candidate you dislike least.”   Mark Twain

Capitalism is somewhat similar to communism - different approach but the same result: mass-elite system.

Sorry smile

Board footer

Forum Software