• 13 Posts
  • 98 Comments
Joined 10M ago
cake
Cake day: Jul 02, 2023

help-circle
rss

… is an intrusion prevention software framework. Written in the Python programming language, it is designed to prevent brute-force attacks. It is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally, such as iptables or TCP Wrapper.


Maybe check out planka?

https://planka.app/

I love it for my personal to do / to watch /etc… lists. It’s like a simple trello alternative. Totally free, OSS.


Composerize - online tool converts docker commands to compose yml
I had an issue recently with getting FileBrowser to run and while researching that, I found this tool which creates a docker-compose.yml file from a docker run command. It worked well for me, so I am passing it along to you all. I hope someone else finds this helpful. (Not my tool / site, to be clear)
fedilink

I run my stuff on a NUC 10 and yeah, it’s kind of a bummer they have 1 slot inside for storage, right?

I have two external USB drives plugged into mine, one for media and the other for backups. That’s plenty fast enough for my uses, including Jellyfin (movies and tv shows, a little transcoding) and about 10 other low-usage docker containers. YMMV.



Good explainer, if you need to catch up like I did:

https://en.m.wikipedia.org/wiki/XZ_Utils

Read the supply chain attack section.

Also, from the video…

X is losing its action! We LIKE!

Hell yeah we like.


I see you’re trying to embarrass yourself with a reply to a really important email. Want help with that?


I think they’re both good reads and so appreciate both authors’ points of view.




Search this community for the many other “Which OS” posts and you’ll find many well explained options for what you seem to be seeking.


Soooooooooo… thank you so much. I finally had time for trying out solutions here and your link to askubuntu helped me solve this. Specifically, the answer from Ali Hoza is what I tried first and it seems to work very well. I am copying that answer here for anyone else at Lemmy to try.


The above solution (https://askubuntu.com/a/265389/1467620) works, but it is crude and, also it disables the keyboard wake, which is actually useful.

A more granular alternative can be this: First, we start by enumerating the USB devices connected to the system:

lsusb | sort

from here, it’s pretty obvious which one is the mouse:

Bus 002 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver

then we proceed with finding where the devices are mapped to:

grep enabled /sys/bus/usb/devices/*/power/wakeup

/sys/bus/usb/devices/2-1.2.6/power/wakeup:enabled /sys/bus/usb/devices/2-1.2.7/power/wakeup:enabled

Finally, to figure out which is which, we use:

dmesg | grep Logitech | grep -o -P "usb.+?\s"

usb 2-1.2.7:

at which point it’s pretty obvious which one needs to be disabled:

sudo sh -c "echo 'disabled' > /sys/bus/usb/devices/2-1.2.7/power/wakeup"

note: every time you need to echo as superuser, sh -c is necessary, or the system will not allow redirecting to a priviliged file.

Then it’s just a matter of suspending the system and verifying that, while the mouse does not wake it, the keyboard will.

this does not survive a system reboot, so either you need to re-run the last command, or add it to your .bashrc or .zshrc.

This is something that has been annoying me on Ubuntu since when I installed 16.04, and probably there forever, I cannot understand why Canonical wouldn’t add this in the System Settings.

Source: https://codetrips.com/2020/03/18/ubuntu-disable-mouse-wake-from-suspend/


Yah, that’s a shame. I thought it was great.

But then again, after a month, I realized I didn’t really need this software and uninstalled it.

But thanks for the link to the fork!



Oh nice - thanks, will check it out.


Oh snap! I AM using kdeconnect but never thought of that. I’ll check that out, thanks!


Ok, let’s compare notes - I have nvidia, using the nvidia provided driver, asus m’board, amd ryzen 5 CPU. I run with KDE on X11.

I have a bluetooth dongle I use for my headset too and right, sometimes it seems to help to remove that before sleeping.

I wish there was a “I really want you to go to sleep no matter what option”, like to have the PC ignore whatever signals it’s getting that make it wake up again.

Not relevant, but I have this same problem on a Windows laptop rn too. I have no idea why that’s happening either.


Help getting Ubuntu with KDE to sleep
My PC is running Ubuntu 22.04, with KDE Plasma 5.24. When I select Sleep from the Application Launcher, it always starts t go to sleep, but then it seems like a 50-50 chance that it will stay asleep. Many times, it wakes right back up again within 10 seconds. If I try to make it sleep two or more times, sometimes it will eventually sleep but not always. I've done some searching and cannot find a resolution to this. It seems I'm not the only one too - https://superuser.com/questions/1795451/kde-plasma-does-not-sleep 1. Is there a sure-fire way to tell Ubuntu KDE to sleep? 2. If not, what are some things which might wake it up again? Thanks!
fedilink

As an author of a book published by Packt, I understand this but still wish people could tone that down from, “none of the books…” to “some” but yeah. Mine has 5 stars in amazon and I know there are many which are well reviewed or have been very useful for my own learning.


I agree with all of that. 👍

I just didn’t see anyone else addressing where the change lives in the browser and how to un-do it if you want to opt out.



That bugzilla page says they targeted version 122 for this change. I have Firefox 122 on my PC and when I look at the about:config page, that setting is still set to False. I think y’all are freaking out about a very small thing.

If you use Firefox, and you check your about:config page and you see true for that setting, then just change it to false and go about your day.

Or are we all just talking philosophically about this?


Whoa - Hey, I am not asserting anything here about the vlogger. I just don’t like the image they used for the video. I don’t know anything about this channel.


Just installed that extension in Firefox and instantly recognized the difference. Thanks so much!


Great for Tom Scott and everyone one using this (sincerely) and everyone attracted to videos with images like this.

I am still out.


I just refuse to watch any YT video where they make a face like this in the splash image.

OP, if this video is yours, sorry, but not very.


I was all set to link to a wall-e image but I see op beat me to it.

This will be great for folks who need mobility assistance but the rest of us should be walking around, imo.



Me too. My biggest takeaway though was that ‘SSH’ is a company today, providing network and security services. Interesting!


In the github page linked in this post:

We recommend everyone to use the hosted version at stract.com, but you can also follow the steps outlined in CONTRIBUTING.md to setup the engine locally.


Thanks OP! This seems helpful but it also seems you would need to have a folder with a bunch of templates in it already.

Does anyone know a place where I could download a ton of templates all at once?

EDIT: I was able to grab about 60 or so images, manually. They’re very low res though - like 250x200px - but something to play around with.

https://filetransfer.io/data-package/y089cuJF#link


That wouldn’t be very “Lemmy”, imo.


I’m making up Lemmy Gold to give you as a reward for these posts. Thank you!

Lemmy Gold


I’ve got my FreshRSS server going and I use its web app as a client on my phone. I don’t hate it, but don’t love it either. I will check this out for sure.


Cool cool cool. I miss my old iPod with the click wheel, so I hope you’re right. I’d love to get an open-source hardware device using one now.


Is that a click wheel? I’ll be surprised if apple won’t sue them over that.



Fair point, but I was just referring to the electronics. Worth all that glue holding it together, whenever iFixIt gives it a repairability score, it’s going to be pretty low.



Oh wow.

ugh.pdf
360 pages
Chapter 1: Things are going to get worse before they get worse

:)



In their demo video, they show someone working in the kitchen and my visceral reaction was “oh hell no”. I just can’t see any real world, regular use for this thing still. I am happy to be proven wrong though.


Around 2000 or so, I used to work in tech support for a software company who had like 5000 Windows-based customers and 5 running Solaris. My boss chose me to learn Solaris when the previous "expert" left. I bought this book and started hacking. Good times!
fedilink

Nifty terminal command: xdg-open
*Just sharing something neat I learned today about Linux...* In Windows, I used to do this a lot: -- Be at a command prompt, in some directory, e.g.: C:\my files\more files -- When I need to see that same folder in the Windows GUI, I'd type: start . (note the period, meaning "this directory") -- The Windows file manager would open in a new window, focused on that same folder as the path. I realized today I didn't know how to do that in Linux (I'm on Ubuntu) so I searched around and found the `xdg-open` command. The man page for `xdg-open` says: > xdg-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser. At any terminal prompt, I type something like: `xdg-open .` or `xdg-open ~/Documents` And boom! A new KDE Dolphin files window appears, focused on that path. or this works too, but with a browser: `xdg-open http://eff.org` Rock and/or roll!
fedilink

Pinry, the open-source tiling image board
Pinry is like Pinterest, but open source and you can very easily self-host it. I just installed it a few days ago and it's really easy to learn; I've saved a few images in it that I wanted to keep. It's very handy, IMO. This is the first self-hosted app I've installed that I think my family will want to use as well. Now, my SO and I can share pictures of things we want to work on around the house and such, and my kid can share pics of the dogs. Not exactly essential software but fun nonetheless! The install via Docker was very easy. Just [follow these steps](https://docs.getpinry.com/install-with-docker/). Just ***don't*** do what I did at first and follow the readme from [a now out of date github repo](https://github.com/pinry/docker-pinry). That doesn't work any more. The source is here - https://github.com/pinry/pinry Once you have it up, there's a bookmarklet visible from the home page that makes it very easy to "post" an image from any other site to your Pinry site in just a couple of clicks. There are Chrome and Firefox extensions instead, if you prefer. But wait - there's more! There's also an API included which would allow you to, for instance, post a Pin to your boards from the console via curl. All in all, this is good stuff and I thank the team who are working on it very much.
fedilink

What are the major components of any Linux distribution?
Hi all - I am learning about Linux and want to see if my understanding is correct on this - the list of *major parts* of any distro: 1. the Linux Kernel 1. GRUB or another bootloader 1. one or more file systems (gotta work with files somehow, right?) 1. one or more Shells (the terminal - bash, zsh, etc...) 1. a Desktop Environment (the GUI, if included, like KDE or Gnome - does this include X11 or Wayland or are those separate from the DE?) 1. a bunch of Default applications and daemons (is this where systemd fits int? I know about the GNU tools, SAMBA, CUPS, etc...) 1. a Package Manager (apt, pacman, etc...) Am I forgetting anything at this 50,000 foot level? I know there are lots of other things we can add, but what are the most important things that ALL Linux distributions include? Thanks!
fedilink

Fascinating what we can do when there's lots of money available and a lot of bright, motivated people. This is my home state so, heck yeah!
fedilink

Self-hosted weather app?
It occurred to me today that I am hosting more and more services locally, but I still rely on a 3rd party weather app on my PC and phone. Generally, they suck as a class of applications - so much surveillance. I searched around and found a couple Reddit threads from years ago, before Apple killed off the DarkSky API. But I think there are still free APIs, yes? Are there any good FOSS current weather and forecasting self hosting options now? Thanks! I'm in the US if that matters.
fedilink

Sharing the link to this project I found and really like. It's simple to setup with docker, simple to use but really helpful for people not already doing full-on budgeting, financial management. It's allowed to me quickly setup all of my monthly, yearly, etc... subscriptions and see them in one place. It includes this nice summary screen so you can see what you're spending at a glance. (This is from my server but these are not the real numbers) https://i.imgflip.com/85ltw7.jpg
fedilink

Loving this weekly summary of things happening with self-hosting apps, etc...
fedilink

Self hosting on an Android mobile?
Hey y'all, I was reading this [self hosting user survey at selfh.st](https://selfh.st/survey/2023-results/) and noticed that some people said they self-host on a mobile phone. I have an Android phone here I could use and I can picture setting up the phone and then just leaving it plugged in, in a corner somewhere. That seems like a good use for all that computing power but I'm not sure how to get started. I found this article showing how we can use a phone for a web server: https://www.digitalocean.com/community/tutorials/host-a-web-server-on-android But is there any way to host other apps / services on a phone? Does it have to be rooted first? Any pitfalls or other tips you can share when to doing this? Thanks!
fedilink

How will I know how many services I can run on my self hosted server?
Hi y'all. I've got an Intel Nuc 10 here. I want to run a few apps on it, like BitWarden, PiHole, NextCloud, Wireguard, and maybe more, just for my own use, inside my home. Is there a way to guage whether the hardware is up to the task in advance? Like, if love to be able to plan this by saying, "this container will use x MB of ram and 5% of the cpu" and so on? I want to run everything on this one PC since that's all I have right now. EDITED TO ADD: T****hank you all! Great info. :thumbsup
fedilink

How do you keep track of all apps you install and their configurations?
Earlier this year, I built a new PC and it's running Ubuntu. I've been installing various apps and configuring them since then. Now, I realize I don't have any way of knowing what I would want to reinstall, if I (for instance) lost this drive somehow. How do you keep track of what you've installed/ your favorite apps? Separately, how can I backup the configurations I'm using right now. Thanks!
fedilink