The officially official Devuan Forum!

You are not logged in.

#76 Re: Desktop and Multimedia » Upcoming browser changes » 2023-11-22 19:03:15

"ad-blockalypse " is the word! I've just these couple of weeks changed to Firefox from Chrome on my main Devuan machines. This thread is really interesting and I'll follow it closely. I really really hope some open source will survive Big Tech and their shiny new clothes.

#77 Re: Desktop and Multimedia » Strategies to deal with .xsession-errors » 2023-11-22 09:11:36

Made the above posted script as an init.d script instead. But beware, this init script runs the actual script as normal user - which is NOT recommended. Tested this and it works. The reason is that sometimes when an x session is running and the .xsession-errors file gets rotated, it won't be written to again. So running it at shutdown or reboot should work better.
Script:

#!/bin/sh

### BEGIN INIT INFO
# Provides: /home/$USER/bin/logrotator for .xsession-errors
# Required-Start: $syslog
# Required-Stop:  $syslog
# Default-Start:  0 6
# Default-Stop:   3 4 5
# Description: Rotate .xsession-errors as user $USER, creates backups. Should run at shutdown only without X
### END INIT INFO

#. /lib/lsb/init-functions

case "$1" in
  start)
	touch /run/logrotator.pid
	chmod 600 /run/logrotator.pid
	chown $USER:65534 /run/logrotator.pid
	sudo -u $USER /home/$USER/bin/logrotator
	;;
 stop)
	killall logrotator
        ;;
  *)
        echo "Usage: $SCRIPTNAME start" >&2
        exit 3
        ;;
esac

Actual script (home/$USER/bin/logrotator):

#!/bin/bash
for i in {9..1}; do
    if [[ -f /home/$USER/.xsession-errors.${i} ]]; then
        mv -f /home/$USER/.xsession-errors.${i} /home/$USER/.xsession-errors.$((i+1))
    fi
done
mv -f /home/$USER/.xsession-errors /home/$USER/.xsession-errors.1
touch /home/$USER/.xsession-errors
##Might not be needed:
chown $USER:$GROUP /home/$USER/.xsession-errors

Edit $USER and $GROUP to taste.

PS. As you can see, I do not know what I'm doing, so don't try this at home.

#78 Re: Desktop and Multimedia » Strategies to deal with .xsession-errors » 2023-11-20 13:14:01

Altoid wrote:

Hello:

In my opinion, there's no need to keep .xsession.errors files.

They are generated every time the xserver is started and the last one is appended to the previous one, which is why it can grow to huge sizes.

....
That said, even with that setup, much if not all of the information shown is of no value to the average desktop user.
ie: not a maintainer/developer.

In my case, practically all of it is made up of (endessly repeating) Gtk-WARNING entries for which the only solution would seem to be some fix in a future version of Gtk (?).

Agree, but scripting is fun for an amateur. And once in a while the xsession-errors might be a saviuor. (every Blue Moon maybe) smile

#79 Re: Desktop and Multimedia » Strategies to deal with .xsession-errors » 2023-11-20 08:26:26

Oops! On my other Devuan machine .xsession-errors was 830MB!!! But I thought I share my findings for a solution of the growing file size (not the errors smile )

Create a file like this in /etc/logrotate.d/my-xsession-errors

$HOME/.xsession-errors {
missingok 
notifempty 
copytruncate
compress  
weekly  
rotate 5
}

This will rotate the file weekly and keep 5 old files. Edit to your needs.

EDIT: added copytruncate because sometimes when the .xsession-errors file get renewed, it is not written to anymore (in that session).

#80 Re: Devuan » The insanity continues... BSOD coming to a systemd near you? » 2023-11-16 17:44:32

From the link above

systemd was originally born as a replacement for other useless init daemons, targeted for the Linux platform, which couldn't properly initialize the system.

It's really terrible! What's the world coming to?

PS Read the whole article
PPS I didn't. (Hiding in the corner)

#81 Re: Desktop and Multimedia » Strategies to deal with .xsession-errors » 2023-11-11 18:52:39

Thanks for this thread! My .xsession-errors was 26 Mb. Big! Mostly BS, some GTK errors, the weather applet complaining, xdotool missing for some old script.

I chose ralph.ronnquist's no 2 script and running it manually for now.

#83 Re: Off-topic » Gnumeric Logic problem » 2023-10-25 12:29:06

Finally my two brain cells got it! Thank you!

=if(or(B281="Sat";B281="Sun");"0";"1")

(Sry for the very late answer)

#84 Re: Desktop and Multimedia » [SOLVED] Can't figure out how to play DVDs » 2023-10-23 14:33:17

Thanks for the solution @alexkemp! Works on Daedalus too. For VLC at least.

#85 Off-topic » Gnumeric Logic problem » 2023-10-06 08:50:46

swanson
Replies: 2

I've got to evaluate the strings of weekdays in Gnumeric- Mon, Tue, Wed, Thurs.... - and IF it is Sat OR Sun the result should be "0" or else it should be "1".

This far is OK; =if(B279<>"Sat";"1";"0") it prints "0" for true and "1" for false .

But this does not work: =ifs(B280<>"Sun";"0";B280<>"Sat";"0";B280<>"Mon";"1") it prints "0" every time. (Note IFS function)

It's a work schedule and it's keeping track of my days worked, hours, salary and stuff for each month. The week days are listed in a column.

Sorry to bother you all with this, but googling gives Excel and VBA hits that don't tell me much. Gnumeric man pages just gives me bare basics.

PS I'm not a student!!!!!

#86 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2023-09-18 08:42:31

I play World of Warships on Steam with Proton. Works fine after Devuan update. I also have PlayOnLiinux and some older games like Battlefield and stuff. One other favourite is Linux native Warzone, but haven't tried it yet on Devuan.

#87 Re: Off-topic » Is systemd still bad in 2023? » 2023-09-02 07:18:26

Yes it's bad and it has even gotten worse over the years. Gobbling up more and more features. A big blob.

#88 Devuan » Long story about moving all my machines to Devuan. » 2023-08-30 11:58:45

swanson
Replies: 1

I've been using linux since 1998-ish starting with Yellow Dog Linux. Then Ubuntu since 2007 and then Arch since 2012-ish. Then Devuan on my DAW PC about two tears ago. Still using Ubuntu 18.04 on my streaming/gaming/TV main PC. I haven't used Windose at home since ten years, at least.

Because I have a big disliking to Systemd, I've been holding off updating Ubuntu till now. But today I'm working on transferring all my files, settings, games and whatnot from my Ubuntu to a new Devuan install.  It's a process but it's coming along nicely.

I've already got Devuan Daedalus booting my newer hardware with faster CPU and Graphics. I'm physically moving disks from machine to machine and had a UEFI hurdle at start. Turned out it was a missing jumper on the new machine on the clear RTC/CMOS pins. (after changing CMOS battery and upgrading Bios)  Fixed that and then began testing games on Steam and Playonlinux. Seems that I can just copy all the installation directories from disk to disk, without reinstalling. Good! Already tested a couple of games and they worked fine. Nice!

As said, I do not like Systemd at all, but I also don't like the way Ubuntu and others are going with Flatpak, Snap and other bloat. The turning point for me was when in Ubuntu, Systemd took over DNS resolving in one of its services. It created a lag when surfing immediately noticeable and unacceptable. Together with other Systemd problems like with Journald and it's huge files and the very cumbersome process of creating or editing services, it's very reassuring that some people - like Devuan team- see this and act accordingly.

I'm very thankful to Devuan for allowing me to have a complete DAW and a complete entertainment platform fully functioning and easily managed too! Devuan repo's are full of all you need and easy to safely install. I strongly recommend Devuan to each and all!

Thanks Devuan team!

#89 Re: Devuan » They say systemd makes packaging easier, better of the two evils? » 2023-08-30 11:29:09

My turning point with Systemd was when it slowed down my surfing by taking over the resolver. Systemd created a lag and it was unacceptable to me. I already knew about its history and Poettering, so since then I've been waiting to transition completely to Devuan.

#90 Re: Desktop and Multimedia » [SOLVED] xscreensaver building with custom settigs? » 2023-08-28 06:33:12

You need the dev-files. As quoted here:

There are many compilation dependencies.  The configure script will tell
    you what is missing.  At the least, you will need development versions of
    these libraries.  Append "-dev" or "-devel" to most of these:

        perl pkg-config gettext intltool libx11 libxext libxi libxt libxft
        libxinerama libxrandr libxxf86vm libgl libglu libgle libgtk-3-0
        libgdk-pixbuf2.0 libjpeg libxml2 libpam libsystemd elogind

from here:

https://github.com/Zygo/xscreensaver

#91 Re: Desktop and Multimedia » [SOLVED] manually mount disks always have different mount points? » 2023-08-28 03:08:36

You need the UUID's of the different disks/partitions. In a terminal as root use the command blkid and note the required UUID's you need. Then , as root, edit the file /etc/fstab and add the needed UUID's.

Example line from /etc/fstab:

UUID=9acd7886-5bd7-4fa4-a7e7-63b80c64f28c /mnt/GAMES	ext4	auto,rw,async,exec,suid,noatime 0       2

In this example it's in reality my partition /dev/sdc3 which is mounted with its UUID in fstab instead.

More about fstab: https://man7.org/linux/man-pages/man5/f … %20enabled.

#92 Re: Installation » [SOLVED] Nvidia and Chimaera - driver 535? » 2023-08-27 16:23:17

Solved by upgrading to Daedalus. Surprisingly smooth and easy!

Thanks all Devuan guys and gals!

#93 Installation » [SOLVED] Nvidia and Chimaera - driver 535? » 2023-08-27 07:12:16

swanson
Replies: 4

Setting up a machine for Steam gaming with Nvidia 1070 card and I can only get 470.x driver. What's the best way to get Nvidia 535.x driver on Chimaera? I don't do Wayland and I'm not ready to upgrade to Daedalus (I think).

This is my third active Devuan machine, so terminal is not any problem.

#95 Re: Devuan » Devuan 5 Daedalus Release (Debian 12 - Bookworm) | Looking for info » 2023-06-12 07:55:18

It's worth the wait. Without question. As I see it, there are some fundamental differences between Debian and Devuan that needs extra care and attention. So I'm happy to wait.

#96 Re: Off-topic » A warning from the godfather of AI » 2023-05-02 12:34:52

I've come across it today. A bit of a scare actually.

#97 Re: Other Issues » Gdebi/dpkg and zst archives? » 2023-04-30 17:30:01

ralph.ronnquist wrote:

Given that a .deb file is an ar archive file containing two .tar.gz files it might be within scope for you to repackage things yourself.

Yeah, but I forgot how to do it. I could possibly unpack debs and unzst them, and then repack them as new debs.

Where can I find good guides on that?

Thanks for the help guys!

#98 Re: Other Issues » Gdebi/dpkg and zst archives? » 2023-04-30 12:16:16

I've collected deb packages from all over. It's mainly addons to my DAW (plugins). So they are not mission critical nor damaging to the system. Most install in /home/user as well. I've been seeing more and more zst archives lately, so I'm glad we have zstd at least.

#99 Other Issues » Gdebi/dpkg and zst archives? » 2023-04-29 15:34:14

swanson
Replies: 6

I've recently tried to install deb packages containing zst-archives and failed. I have zstd installed (Chimeara).
What can I do? I can unpack zst archives in terminal, but Gdebi and Dpkg fails.

I don't mind hacking the deb packages if only I knew how to do it. Must be some way...

#100 Re: Hardware & System Configuration » Devuan does not detect Huawei smartphone hardware! » 2023-04-23 15:13:22

My 2 cents: create a Samba share on your Devuan machine. Then connect to that from your phone. For Android there are lots of Windows/Samba apps and you can then easily connect and copy your stuff to and from the phone. Backup of your Contacts and Messages, you can do elsewhere.

Board footer

Forum Software