The officially official Devuan Forum!

You are not logged in.

#851 Re: Devuan » Meet Chimaera's deepsea theme » 2021-06-21 17:53:18

golinux wrote:
zapper wrote:

Ah, I didn't know debian EVEN had a release schedule... 

Thought it was like, released when we say its ready. tongue

They don't have a fixed schedule.  They have a "when it's ready" schedule as does Devuan.

zapper wrote:

Good to know, also, I thought chimaera's images were still in alpha...

They are.

zapper wrote:

I probably should, but sometimes I am way too lazy for it...

That being said, I assume you just report issues that you see...? Could do that, beyond that, I don't know.

Confirmation that it works or if not what the problem is would be helpful and appreciated.

Hmm, I don't usually use alphas, on my system...

I usually wait till beta to actually consider using it. 

wink

Unless I have a virtual machine of it, which isn't a bad idea. smile

I don't know what I will do, given my current focus, which is more or less Hyperbola, but its a thought to consider.

#852 Re: Off-topic » Today I Learned » 2021-06-21 17:16:12

dice wrote:
fsmithred wrote:

@andyprough:

How do you run linux on a computer with only 64k RAM???

Good question, i was thinking the same. Perhaps the 64 has some mods? I highly doubt a computer from 1982 would be able to run devuan beowulf, but i would be happy to be proven wrong.

Wait 64mb of ram? you say? That seems a bit unlikely, I mean I could understand 32mb... and maybe jwm if its 32 bit and be using something like console-tdm to start it, if you turn off certain services... *cough* dbus *cough*

Even then, 32mb seems like a stretch, but yeah, 64K sounds insanely low to be able to run devuan...

You'd have a better chance of using OpenBSD for something that small...

Just sayin...

I would also love to be proven wrong... smile

#853 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 17:05:15

ralph.ronnquist wrote:
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.

Hmm.... I didn't really understand how to do that... that being said, Dice's command context was smaller and actually more usable.

But it does have the same issue oddly enough.

I assume its the same problem in the sense of how often it fails. I will test more though and say otherwise if works more.

EDIT: Not even close, Dice's script seems to work more than 90% of the time.

Thank you Dice, you seem to know your software well.

Also here is what I did:

#!/bin/bash
find ~/Folder/ -type f -name '*.opus' | shuf -n 1 | xargs -d "\n" play

#854 Re: Devuan » Meet Chimaera's deepsea theme » 2021-06-21 16:54:34

golinux wrote:
zapper wrote:

Hmm, its almost in testing right for Devuan?

We have been in Chimaera "testing" since  Beowulf was released last year..

I am curious though when Debian will release its newest version.

As stated above, Bullseye ETA is mid-July.

It does have an effect on your distro right?

Yes, we can't release Chimaera until Bullseye goes stable.  There are Chimaera installation isos available for testing if you'd like to contribute to Devuan..

Ah, I didn't know debian EVEN had a release schedule... 

Thought it was like, released when we say its ready. tongue

Good to know, also, I thought chimaera's images were still in alpha...

I probably should, but sometimes I am way too lazy for it...

That being said, I assume you just report issues that you see...? Could do that, beyond that, I don't know.

#855 Re: Off-topic » Today I Learned » 2021-06-21 11:51:40

andyprough wrote:
dice wrote:

Today i learned about this very cool link.

https://oldcomputers.net/

Steve's Old Computer Museum!

Early personal computers were nothing like present day computers - they had personality!
Each was different and more exciting than the previous, with new features and capabilities.
old computer This website is dedicated to the preservation and display of these vintage computer systems.
To the left you can "click" and explore old computers from the dawn of time!
For fun, view 150 old computers all at the same time to appreciate how diverse and interesting they are

Bet you guys didn't know before now that my Commodore 64 was the highest selling computer system ever. I wonder how many of those original 17 million systems are now running Beowulf like mine? Must be at least 5 million machines, I'm thinking. big_smile

I would say given humankind's lack of intelligence, its probably more like less than a million...

lol... sorry, but I think your overestimating people's intelligence here... ;p

Not to be a downer, but the world is way too corporate for even a million probably. sad

#856 Re: Devuan » Meet Chimaera's deepsea theme » 2021-06-21 11:49:20

golinux wrote:
zapper wrote:
golinux wrote:

Hahah . . . good catch but . . . this is about the look of the site not the content.  I am working locally with old files that I used to theme beowulf when it was released.  It won't have updated chimaera content until it is released after bullseye goes stable.

That would make sense. I wonder when Chimaera will be out. wink

Someone at the last meet said mid-July, maybe the 12th?  So I figured I'd better get it done sooner rather than later.  Next up pkginfo and bugs.

Hmm, its almost in testing right for Devuan?

I am curious though when Debian will release its newest version.

It does have an effect on your distro right?

#857 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 11:47:34

Fascinating it is, your script does work with the modifications now, but... theres one small, catch...

This is what it looks like now:

#!/bin/bash
AUDIO=(
  $HOME/Zeal/Music*/*.{opus}
  $HOME/Zeal/Music*.opus
  $HOME/Zanra/Music*/*.{opus}
  $HOME/Zanra/Music*.opus
  $HOME/Kai/Music*/*.{opus}
  $HOME/Kai/Music*.opus
  $HOME/Drasu/Music*/*.{opus}
  $HOME/Drasu/Music*.opus
   /usr/share/sounds/alsa*.wav
)
LENGTH=${#AUDIO[@]}
PICK=$(( RANDOM % $LENGTH ))
play ${AUDIO[$PICK]}
echo ${AUDIO[@]}

And for some reason, it fails sometimes... to trigger, like 1/3 of the time it works for me. I wonder what I am doing wrong...

Gives me errors, despite my folders being there and such...

play WARN alsa: can't encode 0-bit Unknown or not applicable
play FAIL formats: can't open input file

This happens like 1/3 of the time. weird it is.

#858 Re: Devuan » Meet Chimaera's deepsea theme » 2021-06-21 00:38:50

golinux wrote:

Hahah . . . good catch but . . . this is about the look of the site not the content.  I am working locally with old files that I used to theme beowulf when it was released.  It won't have updated chimaera content until it is released after bullseye goes stable.

That would make sense. I wonder when Chimaera will be out. wink

#859 Re: DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-21 00:36:50

ralph.ronnquist wrote:

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.

Hmm, it doesn't seem to pick a random audio to play, always plays the same one when I tried it.

I was going to use jwm's method to autostart it to be honest.

I am curious, though beyond that, how would I make it only pick one of those audios to play before script stopping.

And also, if there is a way to add code behind before the audio part,  say there is one master folder and it has 5 different folders to choose from... I think you know where I am going with this right?

That and figuring out why it doesn't randomly select a different one each time I trigger it, is what I need to figure out.

#860 DIY » [SOLVED] how to randomly start audio file, via script, » 2021-06-20 16:22:31

zapper
Replies: 7

With sox,

This is gonna sound weird, insane and odd,

But I wanted when I login, for a script to start that would randomly choose from one folder,

Say its folder 1, and say it has 4 folders, randomly choose one of those folders, and play an audio from one of those.

And also, if it has folders within the four folders, it will randomly choose one of them.

This sounds crazy, and why would I want it right?

I have an idea how to do a tiny bit of it, but not much.

I have found scripts ike this for thinkpads aka:

#!/bin/bash

declare -i ID
ID=`xinput list | grep -Eo 'TouchPad\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}'`
declare -i STATE
STATE=`xinput list-props $ID|grep 'Device Enabled'|awk '{print $4}'`
if [ $STATE -eq 1 ]
then
    xinput disable $ID
    echo "Touchpad disabled."
else
    xinput enable $ID
    echo "Touchpad enabled."
fi

the above script is for disabling the touchpad... smile

Without system dumb.

Anyways give me a holler if you know how to do the audio random playing thing. Aka, the random audio play script I want.

I am not a programmer, so I cannot even figure out how this can be done... ;P

#861 Re: Devuan » Meet Chimaera's deepsea theme » 2021-06-20 16:13:50

There is a typo though, 3.1 is the latest version of devuan beowulf. Isn't it?

#862 Re: DIY » Minimalism Tips » 2021-06-19 13:09:36

Ogis1975 wrote:
Camtaf wrote:

Normally, I'll use xmms in a GUI, & just mc/mpg123 in the CLI.... smile

It seems quite a few seem to be requesting the good old X MultiMedia System after it disappeared from Debian smile

I have never used xmms, so I don't even know how to use it. wink

#863 Re: Devuan » Meet Chimaera's deepsea theme » 2021-06-19 13:06:36

golinux wrote:

I suspected that switching files out might break other things and was going to start investigating after a good night's sleep.  Looks like sgage and  fsmithred and ToZ on the Xfce forum saved me the headache. Gtk-3 is such a pox . . .

is gtk4? any better?

#864 Re: Installation » Reasons to stay with Devuan » 2021-06-19 12:58:33

NicePics13 wrote:

Devuan, Slackware and OpenBSD are my holy trinity for expected behaviour, reliability and comfort big_smile

For me, its Hyperbola and Devuan.  tongue

And as long as you don't use the testing branch of Hyperbola, it seems to be stable,

Though I like 0.4 at the moment even if it does have some quirks here and there...

But its being worked on so, smile

Devuan is what I use for my gaming habits though. wink

#865 Re: Off-topic » What will happen to Windows? » 2021-06-17 05:16:56

golinux wrote:
zapper wrote:
golinux wrote:

A glass that is full and overflowing cannot hold wine or wisdom.  Fear and desperation can manifest in infinite ways . . .

I suppose I am sometimes full of myself,  my bad...

Though I still think ideology is impossible to avoid, good or bad?

@ zapper . . .That was just a general observation about this thread and not directed at you.

Ah okay, nevermind then.

Still, I don't want to be cocky if possible, it never goes well for me... wink

#866 Re: Off-topic » What will happen to Windows? » 2021-06-17 03:45:29

golinux wrote:
zapper wrote:
blackhole wrote:

Against ideology?

That isn't the main reason I agree with you, the main reason, is ideology is impossible to avoid. There's good types and bad types, thus it is impossible to avoid, just like people.

Thus, he is fooling himself... or he is playing us for fools and is only pretending he wants to do this. I can't really tell at this point.

A glass that is full and overflowing cannot hold wine or wisdom.  Fear and desperation can manifest in infinite ways . . .

I suppose I am sometimes full of myself,  my bad...

Though I still think ideology is impossible to avoid, good or bad?

#867 Re: DIY » Minimalism Tips » 2021-06-16 20:40:28

Camtaf wrote:

"Minimalism" -  is that which allows you to do what you want with the least amount of fuss - not necessarily the absolute smallest program.... tongue

Heh, if thats true, for audio, I would choose moc. tongue

#868 Re: Off-topic » What will happen to Windows? » 2021-06-16 20:38:06

blackhole wrote:

"Project management" eh?

Against ideology?

"Praised be Jesus Christ!" is the only content on your website.

I think you should stop now.

That isn't the main reason I agree with you, the main reason, is ideology is impossible to avoid. There's good types and bad types, thus it is impossible to avoid, just like people.

Thus, he is fooling himself... or he is playing us for fools and is only pretending he wants to do this. I can't really tell at this point.

#869 Re: Off-topic » What will happen to Windows? » 2021-06-16 20:35:29

JSM wrote:

At the moment I'm working on my own project, it's called LinuC. Perhaps this project will one day also lead to a LinuC OS, which is based on the above 4 distributions and takes over the positive from all of them? If God willing, yes!

Until then, I'll just work on my project every day and hope it will be a success. My "warnings" are formulated in general terms, but I plan to include detailed warnings in the individual distributions so that other users know what they are risking.

linuc.mipropia.com/

At the moment I am still working with antiX, even if I wish it was a goodX, an antiX without anti-ideology. And I also hope that Devuan will one day be free of ideology, because it is already systemd free. Come back to the normal world and forget about the ideological world, because ideologies are just fantasies of unstable people who have let themselves be caught! By whom? You know exactly smile

Have a nice weekend smile

That sounds like a huge ordeal, you will probably give up, if you aren't prepared for the huge monumental task...

I honestly think if you truly want freedom, you should ditch this idea of forking the linux kernel in general.  Find something a little less complicated, like OpenBSD... tongue

There is a reason Hyperbola choose that for their future base.  But its up to you man what you choose to use your time on.

That being said, some Christians are working on Hyperbola also.

They seem to think the libre ideology has some merit, even if it doesn't go far enough...

Which in my opinion it doesn't... same with many of them.

we very badly need a fifth freedom, one where no one is allowed to deliberately bloat a system to deliberately break backwards compatibility forcing adoption of their services.

This of course would be extremely hard, thus it hasn't happened.

Possibly even near impossible actually.

#870 Re: DIY » Minimalism Tips » 2021-06-15 04:19:33

anticapitalista wrote:

For flac - via sox

3.7 MiB +   1.2 MiB =   4.9 MiB	play
play 10-That\'s\ When\ I\ Reach\ For\ My\ Revolver.flac

That does use very little cpu power, interesting...

Better than moc, ffplay and aplay, which didn't work when I used it, only gave me static lol.

#871 Re: DIY » Minimalism Tips » 2021-06-15 04:17:43

Ogis1975 wrote:

Do not use bloated window managers. Just use dwm smile

Or you could use JWM which is also very minimal. 

wink

i3-wm has a bit of bloat, but nowhere near as much as fluxbox or openbox or blackbox. tongue

#872 Re: Installation » low memory installation » 2021-06-15 04:10:45

dice wrote:
zapper wrote:
dice wrote:

I can tell you are only shit stirring so ill only bite a little bit.

You can patch dwm to autostart apps, depending on your setup and whether you are using login manager. Login manager i think you can use xsessionrc in debian.

https://dwm.suckless.org/patches/autostart/ <-- wrong patch

https://dwm.suckless.org/patches/cool_autostart/ < --this one

dwm is complicated for many as they dont understand how to use it, which is probably your issue zapper.

I am shit stirring? Well...  my bad, I just don't get DWM's appeal is all, I wanted people to explain it to me.

It confuses me greatly.

But thank you for your info! Quick question though, which uses more cpu power/battery life:

JWM or DWM?

just curious.

Though I am still curious how you apply that patch to dwm.

Let me know if you are willing.

The appeal for me is that it is a dynamic window manager, it can tile, float and use other modes like monocle and it is keyboard driven window manager mostly, so i can do most navigation without a mouse.

Ive no idea about cpu or battery life, its possible jwm does a much better job, actually i like jwm too, i rate it about the same as dwm, even though they both do a different job of being window managers.

You can apply patches in git as mentioned in below link, sometimes i find they dont apply properly so i go in and manuallly apply the patches, but beware you may need to correct a rejected diff.

Git method:
https://dwm.suckless.org/customisation/patches_in_git/

Manual method:
while inside the dwm directory ( as i build from upstream source ) manually would look something like this:

~/suckless/dwm (git)-[master] % patch -p1 < dwm-cool_autostart.diff

Oh, I didn't realize it was that simple. 

Huh...

Okay, I am still  curious if they both use as much resources on the cpu and battery life.

But if you don't know the answer, that's okay.

Although, I love that jwm's taskbar can allow attaching icons to it easily. such as firetools, and other things very easily.

I would have to compare again to see which is more functional to know which is better for me.

I just like JWM is feature complete aka, has a good taskbar without using a huge amount of power such as other window managers or indeed DE's.

I am looking at you XFCE, LXDE, MATE, LXQT and anything more bloated especially.

Though even Lumina has a small amount of bloat... wink

AS Desktop Environments go I mean...

#873 Re: Off-topic » What will happen to Windows? » 2021-06-15 04:05:30

blackhole wrote:
zapper wrote:

x86 is also a huge and stupid problem. 

On a semi related note, corporations are dangerous without actual checks and balances.

There is a reason x86 was often dubbed "wintel".

MS hijacked that market from IBM who admittedly probably got what they deserved and again with OS/2.  Their were casualties along the way along with, most notably, CP/M, and others of course. Everything that has occurred since has been at the behest of Microsoft, including UEFI and Secureboot, often to the rapturous applause of some Linux fans (quoting some developer on the payroll of AMD, Intel, Microsoft or whoever as they gush about meaningless quasi security). If things had worked out differently you might have had two Apples instead of one and no "open" x86 hardware. It's hard to say, but old MS may have been a "necessary evil", whereas new MS are just evil. EEE didn't just stop, it was simply adapted to the times.

The reality is that MS' secret deals with its OEMs continues, alternative OS are still frozen out of new PC sales and closed source firmware is the norm.  The Intel Management Engine may not be the worst thing they will devise...

That does sound like the reality we live in... smh...

#874 Re: Off-topic » A peek into the future of distros » 2021-06-15 04:03:33

blackhole wrote:

I would not dismiss FreeBSD, NetBSD or DragonFly BSD either.

GPL zealotry has gotten us exactly here.. .

Yeah...  because people think gpl licenses are better than permissive ones even if they are attached to software that sucks...

like say, pulseaudio, pipewire, networkmanager, dbus, system dumb, etc...

#875 Re: Off-topic » A peek into the future of distros » 2021-06-14 10:17:17

Camtaf wrote:

I've kept my hand in with BSD ever since systemd became a reality - too much Corporate interference going on in Linuxland - I'll be ready, if I have to... big_smile

Very wise!

OpenBSD or HyperbolaBSD are the best choices I think.

Though one of them is in development... wink

Probably not even alpha yet? I think?

Board footer

Forum Software