The officially official Devuan Forum!

You are not logged in.

#276 Re: DIY » Simple Countdown Timer » 2024-01-27 11:29:16

golinux wrote:

Memory is just detritus that clogs the mind

detritus

If I were to use that word, I'd pillage and plunder it and make it detritusimus  big_smile  tongue

#277 Re: Off-topic » "Picking" up on things » 2024-01-27 10:36:54

@golinux (?)

"Picking" up on things...

Hahaha!

Good title!

Sorry for the trouble I caused for taking things off-topic in the other thread.

#278 Re: Off-topic » "Picking" up on things » 2024-01-27 09:20:25

What kind of guitar do you play?

I used to rock ... back when I was younger and had hair ... big_smile tongue

I have a Takamine acoustic/electric.

#280 Off-topic » "Picking" up on things » 2024-01-27 03:05:59

OFF-TOPIC...

Glenn...

My man...is that a guitar strap on your shoulder?

Okay...back to topic.

#281 Re: DIY » Simple Countdown Timer » 2024-01-27 02:37:13

Thanks, but I won't remember what I did tomorrow... tongue

#282 DIY » Simple Countdown Timer » 2024-01-26 23:06:56

If you're interested in this...

...as the title says, it's a simple countdown timer that I made for myself and my work. You can adjust the times in the code for your own needs. They're pretty self-explanatory. smile

After choosing a timer, you can close the window.

Dependencies: bash yad papirus-icon-theme

If you don't have papirus-icons, the icons may not show up on the GUI due to how they are named. You can change it in the code if needed. Just replace clock-applet-symbolic with your chosen icon's name in the code.

This is what the GUI looks like (on my systems). Click on a timer and close the window. The timer will still count down and sound off when it's finished despite closing the window. wink

2024-01-26-171128-278x360-scrot.png

If using alsa-only (aplay...as shown in the code below), you must use a .wav sound file. If using pulseaudio, you can use just about any type of sound file.

If you're using pulseaudio, replace aplay with paplay (adjust the code to your needs). I know nothing about pipewire, so I'm not sure what would be needed for that. tongue

I didn't make a desktop.file for it; I just have the script in my file manager and execute it when needed. Sorry.

In the code below, you will also need to replace the path to the sound file that you want to use for the alarm.

Warning!!! Whatever sound file you choose, it will play the entire sound file. So, you might want to choose a file that's only a few seconds long. tongue wink

The code...

#!/usr/bin/env bash

yad --form --columns=1 --width=260 --borders=5 --title="Timer" --no-buttons --height=250 --width=270 --window-icon="/usr/share/icons/Papirus-Light/24x24/panel/alarm-clock-panel.svg" --center --text-align=center --text="
Choose a countdown timer.
" \
--field="  1 Minute!clock-applet-symbolic":fbtn "bash -c 'sleep 1m ; aplay /home/tap/Music/acdc.wav'" \
--field="  3 Minutes!clock-applet-symbolic":fbtn "bash -c 'sleep 3m ; aplay /home/tap/Music/acdc.wav'" \
--field="  15 Minutes!clock-applet-symbolic":fbtn "bash -c 'sleep 15m ; aplay /home/tap/Music/acdc.wav'" \
--field="  30 Minutes!clock-applet-symbolic":fbtn "bash -c 'sleep 30m ; aplay /home/tap/Music/acdc.wav'" \
--field="  45 Minutes!clock-applet-symbolic":fbtn "bash -c 'sleep 45m ; aplay /home/tap/Music/acdc.wav'" \
--field="  60 Minutes!clock-applet-symbolic":fbtn "bash -c 'sleep 60m ; aplay /home/tap/Music/acdc.wav'" \

#283 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2024-01-26 13:38:12

Sure!

If you feel more comfortable following the official upgrade procedure, then certainly do so. smile

Then, just throw in the extras about the menu and shutdown menu afterward. wink

#284 Re: Off-topic » The Joke Thread » 2024-01-26 13:36:15

I asked my wife for a compliment, because I was getting old, fat, and bald.

So she said, "You have great eyesight!"

tongue

#285 Re: Off-topic » The Joke Thread » 2024-01-25 20:09:35

Two artists had a fight.

It ended in a draw.

tongue

#286 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2024-01-25 13:47:29

I will say (but I can only speak for myself) that I haven't noticed a performance difference after the upgrade. Just seeing that higher RAM usage is kind of freaky.

Okay lucbertz, here you go. Open your terminal and...

IMPORTANT: You will lose your right-click menu during the upgrade to daedalus, but it's easily fixed.

Step 1: Make sure your chimaera system is fully updated.

sudo apt update && sudo apt upgrade

Step 2: As root, edit your sources.list with a text editor.

Example: sudo leafpad /etc/apt/sources.list

In the sources.list, change each instance of chimaera to daedalus.

You will also need to add non-free-firmware to each line.

If it helps, this is my daedalus sources.list (Note that I use backports. If you don't, don't include that line)

deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib 

deb http://deb.devuan.org/merged daedalus-updates main non-free-firmware non-free contrib 

deb http://deb.devuan.org/merged daedalus-security main non-free-firmware non-free contrib 

deb http://deb.devuan.org/merged daedalus-backports main non-free-firmware non-free contrib

Save and close the sources.list file.

Step 3: Now upgrade to daedalus

sudo apt update && sudo apt dist-upgrade

At some point during the dist-upgrade process, you will lose the right-click menu.

This will take a while, especially if you've installed a lot of software. So, get a cup of coffee, sit back, relax and wait for questions in the terminal. Some will use a TUI, and some will just ask in the terminal itself. If you're unfamiliar with using a TUI, use your arrow keys to move up or down, use the space bar to mark what you want, and Enter to accept your choice.

Step 4: Fix the right-click menu

After the upgrade has completed, enter the following command in the terminal

sudo cpanm Linux::DesktopFiles

That will get your menu back again.

Step 5: Optional. If you want to tidy up, enter the next two commands one at a time.

sudo apt autoremove
sudo apt clean

Step 6: The Shutdown and Restart options in the menu won't work after the upgrade. This is temporary. You will either need to shutdown or restart with the following command(s) depending on which one you want.

Shutdown -

sudo loginctl poweroff

Restart -

sudo loginctl reboot

After doing one of those, they will work from the menu again.

Good luck!

#287 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2024-01-23 18:32:02

Hi!

Two years ago I installed MiyoLinux Openbox i686 2022-01-29 on an obsolete HP Mini 2133; it still runs smoothly.
Could someone tell me if it is possible to update MiyoLinux from Chimaera base to Daedalus with low effort, please?
Otherwise I shall reinstall another Devuan Daedalus Openbox derivative. Any hint?

Thank you.

I upgraded mine with no issues; however, the RAM usage doubled.

#288 Re: Off-topic » The Joke Thread » 2024-01-17 20:49:48

Teslas don't have "that new car smell"...

They smell like Musk.

tongue

#289 Re: Off-topic » The Joke Thread » 2024-01-17 15:21:19

My wife said that I acted too much like a detective with her and she wanted to split up.

I said, "Good. We can cover more ground that way."

tongue

#290 Re: Off-topic » Search babble » 2024-01-11 21:32:18

...all that I can say is...

Anyone who purposely chooses to use ratpoison has my utmost respect. smile

#291 Re: Off-topic » Search babble » 2024-01-11 19:36:04

...because it's an internet conspiracy ruled over by the Grand Pooh Bah - Grand Master Google.

tongue

Personally, it doesn't bother me which search engine someone else may use. I don't force mine on them, so please don't force yours on me. smile

With today's humans and their short attention spans, many of them aren't willing to make an extra click to avoid googlism...much less to take less than a minute to set their browsers up to accommodate that option.

♫ Hail to the King ♫ (TikTok)

cool

...and yes, I use an ad-blocker on YouTube when I watch it. tongue

#292 Re: Off-topic » The Joke Thread » 2024-01-11 12:47:38

I was trying to start a Hide-and-Seek team...

...but good players are hard to find.

tongue

#293 Re: Hardware & System Configuration » merged /usr » 2024-01-08 23:51:01

bigcat wrote:

I don't know what to make out of this.

...I'm nobody, but I'm thinkin' what ralph said is pretty accurate...

ralph.ronnquist wrote:

the only motivations for those moves are hubris and deliberate intent to cause trouble

#294 Re: Off-topic » The Joke Thread » 2024-01-08 21:27:49

Recently, I was stopped for speeding.

The officer said, "Don't you know the speed limit is 55 miles per hour?"

I said, "Yes, but I wasn't going to be out that long."

tongue

#295 Re: Off-topic » The Joke Thread » 2024-01-08 21:02:41

My wife left me yesterday.

She said that I was too addicted to football.

It broke my heart, because we were together for seven seasons.

tongue

#297 Re: Off-topic » The Joke Thread » 2024-01-08 19:48:52

I wrote a script, and I submitted it to a movie producer.

He said that he liked it but that I needed to write it again.

I said, "Why? Dude...just make a copy."

tongue

#298 Re: Devuan » Debian Farm? » 2024-01-08 17:03:17

Interesting how things progress. tongue

Personally, I'm not really bothered by how long a system takes to start up or shut down.

If I needed to do something on my computer now, Now, NOW...I should have turned it on earlier...or not shut it down in the first place.  However, I can't recall when an extra +/- 30 seconds was detrimental to my life (although I am Amnesiastical).

I just don't want "things" forced on me.

P.S. Nor do I watch 10-second fake entertainment TikTok videos. tongue  I tried it once...just to see what all the hub-bub was about. hmm roll It was the worst minute of my life. tongue

This isn't against Uncle aluma's OP...just throwing it in for what it's worth.

#299 Re: Off-topic » The Joke Thread » 2024-01-08 16:39:14

@zapper

Scooby-Doo???

Hahaha...

I'm sorry everyone, but I love corny jokes.

Steven Wright and Mitch Hedberg were the best...

#300 Re: Off-topic » The Joke Thread » 2024-01-08 01:14:34

My friends and I put a new band together.

We called it "999 Megabytes".

We still haven't gotten a gig though...

tongue

Board footer

Forum Software