Hi Folks,

I am going to be participating in Extra Life this year and created a script that will flip my monitor upside down for 5 minutes randomly. I am looking for some more ideas for simple scripts or commands that could be entertaining for some donation incentives.

As a side not I am currently using EndeavourOS and Sway.

5 points

Using text-to-speech software and a cron job
At random intervals (several times an hour):
Get volume level
Lower volume level (think ghostly whisper)
Use T-T-S to say something barely audible
Return Volume to previous level

Bonus points if your hands are away from the keybd, or it’s someone else’s machine

permalink
report
reply
2 points

That could be amazing for Halloween :D

permalink
report
parent
reply
5 points

someone at work got me once by changing my .bashrc to include a file that would sleep 0.001 on every command, but every time the file was sourced it would edit itself to increase the time by 0.001 seconds.

A week later I was about to toss my computer off the roof.

permalink
report
reply
2 points

fortune cookie -s | cowsay_random | xmessage -xrm "*message.scrollVertical: Never" -buttons "" -nearmouse -bg gray -fg black -font 7x13bold -file -

Requires that fortune be installed along with the eponymous cookie fortunes set (these usually come with the default install).

cowsay_random is not installed fully working by default but can usually be found among the files installed with cowsay. (The #! header might need to be updated to use python2 instead of just python as I found out when testing this)

xmessage is a seriously old program but it works just fine. The command line supplied pops up the output of the preceding commands near where the mouse is on the screen. The -file - bit is necessary to read the pipeline.

See the man page for xmessage if any of the other options aren’t too clear.

Your further mission is to arrange for this to trigger somehow or another, be that at random or when some other event occurs.

Caveats: 1) No idea if this works on Wayland. 2) No ANSI colour code support, so no lolcat. Figure out a way to use an xtermor something if that’s what you want.

permalink
report
reply
0 points

In university we used to prank each other by accessing less knowledgeable colleagues’ machines via ssh and running random commands. We would drive them nuts by ejecting the CD tray, or playing random wav files, or popping up silly websites. The lan was not really secure, neither were the passwords.

permalink
report
reply
2 points
*

Poor Ian. Did he ever approach a counselor to discuss his insecurities?

permalink
report
parent
reply

Linux

!linux@lemmy.world

Create post

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you’re a seasoned Linux enthusiast or just starting your journey, we’re excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let’s dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

Community stats

  • 1.4K

    Monthly active users

  • 628

    Posts

  • 4.8K

    Comments

Community moderators