The officially official Devuan Forum!

You are not logged in.

#1 DIY » Update script for script hobbyists » 2024-03-14 09:07:17

swanson
Replies: 1

Just a hobby script I use daily (almost):

#!/bin/bash
echo "___________________ Apt uppdates database ___________________________"
apt update && apt list --upgradeable
echo "-----------> Upgrade? y/NO"
read ANSWER
if [ "$ANSWER" = "y" ]; then
apt upgrade -y
else
echo "No upgrades today!"
fi

I used to use another script but since the problems with kernel 6.1.018 and the Nvidia driver, I like to review the upgrades beforehand. Some upgrades are more system critical than others, and some look fishy too. You have to be prepared. smile

#2 Re: Off-topic » printer photo image file format » 2024-03-13 15:00:29

Interesting! I used to run the computers in an advertising firm and file formats and printers (and color correction) was an everyday chore.

I found this in the manual for the 900; "JPEG with the Exif Version 2.3 standard taken by digital cameras DCF*1 version 1.0
or 2.0*2 compliant"

Maybe you could convert the pics to this format? (BMP seems stone age smile )

#4 Desktop and Multimedia » Steam gaming scaling tip » 2024-03-09 08:07:45

swanson
Replies: 0

The linux Steam GUI leaves a lot to be desired but here's a tip how to scale it for HD screens. Try in a terminal:

steam -forcedesktopscaling=2.5

2.5 suits my setup but you can try from like 1.25 and up.

Good Luck!

PS. I've quit World of Warships. Does anyone have any good tips of other games? (Not War Thunder)

#5 Re: Other Issues » Installing latest xfce4-terminal » 2024-02-29 20:25:19

What are the permissions on the source dir?

And did you use

./configure --prefix=/usr

as stated in the build instructions?

#6 Re: Other Issues » Installing latest xfce4-terminal » 2024-02-29 07:20:43

1.1.2 configured on my setup. Just missed two packages, which I installed.
Example of what configure told me:

checking for libxfce4ui-2 >= 4.17.5... not found
*** The required package xfce4ui-2 was not found on your system.
*** Please install libxfce4ui-2 (atleast version 4.17.5) or adjust

So I apt searched for liblibxfce4ui-2-dev and installed it. The other missing was a "vte"-package.
I'm on Devaun 5 too and have build-essential and linux-headers-xx installed since a long time.

When compiling one must consider that often times the source Readme does not mention ALL necessary libs needed.

#7 Re: Other Issues » Installing latest xfce4-terminal » 2024-02-28 21:16:01

What bells and whistles do xfce4-terminal 1.1.2 have?

#8 Re: Desktop and Multimedia » Audacity audio recording from KDE » 2024-02-27 14:49:46

I used to use Audacity but some years ago changed to Reaper. I always found Audacity tricky to use. Reaper is a more full blown audio/midi app but I find it easier to configure.

I assume you're recording some mono or stereo input? If so, Alsa would do nicely. In Reaper you can activate Alsa and at the same time deactivate Pulseaudio (if you have it). Alsa is the basis of all sound and has the lowest latency.

One advantage with Reaper, is that you can very easily use compressors, reverbs, EQ and more on your recording. I found Audacity harder to use and manage sound in.

Reaper is free to use and Linux native, with thousands of native plugins: https://www.reaper.fm/

#9 Re: Installation » [SOLVED» Nvidia and kernel 6.1.0.18 - not good! » 2024-02-25 13:34:31

UPDATE: did a reinstall of kernel 6.1.0.18 and it fixed it.

#10 Re: Hardware & System Configuration » merged /usr » 2024-02-21 15:56:19

Found this on the interwebs and it sounds logical to me:

There's a link there to a ten-year-old post about why they were separate in the first place, which is what I was wondering. Briefly, it dated from when hard drives were 1.5 Mbytes, and everything couldn't fit on a single drive, so they had to split it between what was needed immediately while booting, and what could wait until a second drive was mounted.

On Reddit: https://www.reddit.com/r/linuxmint/comm … necessary/
The mentioned link:
http://lists.busybox.net/pipermail/busy … 74114.html

If all this is true, I don't feel so grumpy anymore.

(a long time ago I bought a 105 megabyte SCSI HD for like 350 USD - and that was cheap)

#11 Re: News & Announcements » UsrMerge Status: Testing/Excalibur and more » 2024-02-21 13:06:01

Thx Golinux! It's good to be prepared and the Debian Wiki page linked above is good reading, even for a layman.

#13 Re: Installation » [SOLVED» Nvidia and kernel 6.1.0.18 - not good! » 2024-02-18 12:54:09

Update:

A whole slew of Nvidia updates arrived today (525.147.05-7~deb12u1) and it built and installed ok for kernel 6.1.0.18.
But when I tried to boot that kernel, instead of 6.5.0.0, it was the completely wrong resolution, like 640x480.
I didn't bother to try to correct it, instead I booted back to 6.5.0.0, were everything worked alright.

#14 Re: Installation » [SOLVED» Nvidia and kernel 6.1.0.18 - not good! » 2024-02-16 11:10:06

Driver 525.147.05-6~deb12u1 will fix it, it seems. I have proposed-updates active, so I'll just wait for it to trickle down.

EDIT: Kernel 6.5.0.0 fixed it for now, I guess.

#15 Re: Installation » [SOLVED» Nvidia and kernel 6.1.0.18 - not good! » 2024-02-15 04:59:00

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

is gold sometimes...

#16 Installation » [SOLVED» Nvidia and kernel 6.1.0.18 - not good! » 2024-02-14 16:38:39

swanson
Replies: 9

Tried to update/upgrade just now and there was big problems. Found this thread:

https://forums.debian.net/viewtopic.php?t=158261

Nvidia driver
nvidia-current/525.147.05 and kernel 6.1.0.18

All sorts of dpkg errors and no install/upgrade.

For now, I'll stay at kernel 6.1.017

(Luckily I do stay at LAST KERNEL DEFAULT SAVE)

#17 Re: Other Issues » [SOLVED] Can't connect to repos » 2024-02-08 09:49:36

Or you could use the file /etc/resolv.conf.tail , to add other DNS:s, which will stay put.

#18 Re: DIY » Simple Countdown Timer » 2024-02-08 09:44:50

@stultumanto ahh, thank you! Now I've got something to do this snowy day too! smile

#19 Re: DIY » Announcement of the OpenMATE desktop environment » 2024-02-06 03:38:52

The working link is here https://github.com/OpenMATE-Project.

I'm an old grumpy guy too, but I'm not complaining about OpenMate. Instead, I'd like to offer my humble help in so much as a tester or whatever. I'm not a coder or dev in any way, but I'd really like to try OpenMate and test it.

What is good about Codeberg and how does it work?

#20 Re: DIY » Simple Countdown Timer » 2024-02-05 10:53:28

I've modified the yad script a bit, to also pop-op a countdown timer, so as to know when it's finished.
But, I can not get the code to pass a variable to the next script. I've tried a bunch of stuff like several different kinds of single AND double quotes. I've tried to define the variable TIME and and then read it in in the next script, but it all seems to be above my pay grade (or IQ rather). smile

My altered code:
snip...

--field="   3 Minutes!/home/USER/alarm_96_icon.png":fbtn "bash -c '/home/USER/bin/newtimerwindow3 &  sleep 3m ; aplay /home/USER/alarm-1000.wav'" \

...end snip.

I would like to pass the variable TIME to this script:

#!/bin/bash
##script to open new countdown from newtimer script (yad)

xterm -fa 'Monospace' -fs 48 -geometry 20x4 -e 'bash -c "/home/USER/bin/countdowntimer 3"

Instead of "..countdowntimer 3", I've tested "..countdowntimer $TIME" - no luck.

As you see, it's all very crude, but fun and maybe even a bit functional.

Crude example:

--field="   3 Minutes!/home/USER/alarm_96_icon.png":fbtn "bash -c 'TIME=3 & /home/USER/bin/newtimerwindow &  sleep 3m ; aplay /home/USER/alarm-1000.wav'" \

In the receiving script I use $TIME , but it throws everything off, and nothing opens or happens. Like this:

cat bin/countdowntimer
#!/bin/bash

hour=0
## min="$1"
min="$TIME" 
sec=0
        while [ $hour -ge 0 ]; do
                 while [ $min -ge 0 ]; do
                         while [ $sec -ge 0 ]; do
                                 echo -ne "$hour:$min:$sec\033[0K\r"
                                 let "sec=sec-1"
                                 sleep 1
                         done
                         sec=59
                         let "min=min-1"
                 done
                 min=59
                 let "hour=hour-1"
         done

#22 Re: Devuan » Thank you » 2024-02-01 14:24:37

+1 one the above! Thanks Devs!

#23 Re: Installation » XFCE panel sometimes doesn't start, giving this error » 2024-02-01 14:19:11

You're not providing too much info, I'm afraid.

For example what does :

cat .xsession-errors | grep xfce4-panel

say?

If, for some reason, you suspect one of the panel applets (which I do) you could inactivate all, and then restart the panel. Then take one after one back until the problem occurs again.

To restart the panel from a terminal: xfce4-panel -r
(The panel will quit when you close the terminal- so don't close it)

This way of starting the panel gives you good information in the terminal.

#24 Re: Off-topic » "Picking" up on things » 2024-01-28 08:17:09

Play guitar too and Devuan is great platform for a DAW! I recommend Reaper - lot of native plugins for Linux and easy to use GUI.

(Wish I had a Strat smile )

#25 Re: DIY » Simple Countdown Timer » 2024-01-27 12:45:32

Nice script!!! Thank You!

If you want a different theme/look you can add this at the top of the script:

export GTK_THEME="Clearlooks-Phenix-Sapphire"

Of course, chosen theme is up to taste. Or no taste. smile

Board footer

Forum Software