You are not logged in.
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.
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?
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.
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.
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.
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...
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
There is a typo though, 3.1 is the latest version of devuan beowulf. Isn't it?
Camtaf wrote:Normally, I'll use xmms in a GUI, & just mc/mpg123 in the CLI....
It seems quite a few seem to be requesting the good old X MultiMedia System after it disappeared from Debian
I have never used xmms, so I don't even know how to use it.
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?
Devuan, Slackware and OpenBSD are my holy trinity for expected behaviour, reliability and comfort
For me, its Hyperbola and Devuan.
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,
Devuan is what I use for my gaming habits though.
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...
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?
"Minimalism" - is that which allows you to do what you want with the least amount of fuss - not necessarily the absolute smallest program....
Heh, if thats true, for audio, I would choose moc.
"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.
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
Have a nice weekend
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...
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.
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.
Do not use bloated window managers. Just use dwm
Or you could use JWM which is also very minimal.
i3-wm has a bit of bloat, but nowhere near as much as fluxbox or openbox or blackbox.
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 patchhttps://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...
AS Desktop Environments go I mean...
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...
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...
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...
Very wise!
OpenBSD or HyperbolaBSD are the best choices I think.
Though one of them is in development...
Probably not even alpha yet? I think?
zapper wrote:andyprough wrote:There are two kinds of people in this world:
1. Those who know how to use DWM
2.Heh, I used dwm a few times briefly, but its just too dull for my tastes. I am not sure how to configure autostarting apps among other things.
Dwm aka is a pile of sludge.
Also, its not even that much lighter in cpu usage/ram than i3-wm and jwm.
My two cents.
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 patchhttps://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.
zapper wrote:On a semi related note, corporations are dangerous without actual checks and balances.
The whole legal framework around US corporations is a mess, IMO.
Corporations should have a clearly defined purpose.
Once a corporation has carried out its purpose, it should disband.
Corporations should not be allowed to exist for more than 20 years.
Businesses incorporated within a state should only be permitted to operate within that state.
Businesses that operate across state or international borders should be required to incorporate at the Federal level.
Corporations should not be treated as legal persons, but as privately owned/operated government agencies.
Corporations should not have rights, but limited powers defined by law.
Corporations that overstep their boundaries should be summarily dissolved, and their assets confiscated to compensate non-executive workers for unexpected job loss.
Responsibility for corporate malfeasance should fall on the majority shareholders, board of directors, CEO, and senior management—and carry both civil and criminal liability.
Corporations should under no circumstance be protected by the First Amendment, let alone permitted to engage in advertising (aka private-sector psyops).
Intellectual property from defunct corporations should immediately enter the public domain.
Everybody involved in a corporation's operations should have a say in how the corporation is run.
Employees should not be fired without due process to prove cause.
I agree with you completely. 100%
yeti wrote:(Hackaday) Holding A Mirror Up In Front Of GNU/Linux
This is basically just a pointer to the next link, but sometimes interesting comments show up on Hackaday, so I thought mentioning this one may lead to more pointers, links, insights, ... for this discussion.that was a good read, i was unaware red hat is mixed in with the us military.
I haven't responded till now, but that is friggin awful. Although it makes sense that the us government would have some sneaky way to hurt linux.
HyperbolaBSD sounds better all the time...
zapper wrote:If you want low memory installation, I recommend two things for window managers, JWM, used by puppylinux among others, or i3-wm or dwm which I find somewhat dull and confusing at times.
I focus more on cpu usage then memory usage though.
There are two kinds of people in this world:
1. Those who know how to use DWM
2.
Heh, I used dwm a few times briefly, but its just too dull for my tastes. I am not sure how to configure autostarting apps among other things.
Dwm aka is a pile of sludge.
Also, its not even that much lighter in cpu usage/ram than i3-wm and jwm.
My two cents.
"If my fears come true, there will be a storm of indignation around the world, very soon! And that will affect Microsoft too. I don't know how many users Windos has, but if only 25% switch to Linux, then you should be well prepared for it."
I'm afraid your predictions might be just a bit off oh great prophet.
Whatever is exposed about certain individuals, no matter how big, the world will still turn and MS will still dominate their x86 PC market. Business is business.
x86 is also a huge and stupid problem.
On a semi related note, corporations are dangerous without actual checks and balances.