this post was submitted on 15 Oct 2023
2 points (100.0% liked)

Linux

48287 readers
632 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Title. Mainly asking for the library side, but PC cafe is also interesting to ask about.

Mainly since Windows 11 is 64-bit only, and it seems Windows 12 is going to subscription based on top of that, neither of which public libraries can afford tossing out computers and paying more in subscription fees than they make with overdue books.

My local library is only open for 2 days a week, due to a lack of funds for hiring more staff in the area. They use older Dell all in ones, and that just makes me think if they don't have the money for being open 5 days a week, they don't have the money to buy 4 new computers for the space.

Not even getting into the bigger libraries part of that system or the ones nearby. Some have 8 computers in groups, with 4 stations of groups.

So I was just wondering, if anyone has started or is aware of a Library/Public Computer focused linux-based OS? Perhaps one that allows immutable systems, and the library card system backed most use to enable end user access. Perhaps that's a config file tucked away somewhere.

And I guess the PC cafe OS is interesting, simply due to the fact that Linux gaming has been making huge strides, and PC cafes are still popular in Japan, Korea, and China.

EDIT: I am not in control or assistance to the library, just looking if there's a potential solution to libraries like mine. If I could give links to a library computer manager, or if I could give upstream bug reports to people making such software.

top 6 comments
sorted by: hot top controversial new old
[–] privsecfoss@feddit.dk 1 points 1 year ago (1 children)

Work with informationsecurity and GDPR. And know as a fact that many danish municipalities which administrate the libraries are using, and are happy with, Linux as public facing citizen PC's in libraries.

They use OS2borgerPC, which translates to OS2citizenPC which is maintained and supported by the danish company Magenta. But it's open source, so if you are in another country you could just use it - or better, give Magenta a call. They're great and very reseaonable.

Magenta: https://www.magenta.dk/en/ OS2borgerPC on github: https://github.com/OS2borgerPC

[–] Scribbd@feddit.nl 2 points 1 year ago (1 children)
[–] themusicman@lemmy.world 3 points 11 months ago* (last edited 11 months ago)
[–] utopiah@lemmy.ml 1 points 1 year ago (1 children)

Honestly I'd

  • take any distribution that someone at or close to the library is comfortable with, e.g popular Ubuntu or Debian,
  • setup a user profile that fits the need of the average library user, e.g Firefox with as a start page the library website
  • make sure the library card system do work
  • copy /home/thatuser directory somewhere, e.g /root/thatuserunmodified and insure permissions make it unmodifiable
  • add a cron task so that every evening 1h after the library close any thatuser session is terminated, /home/thatuser gets deleted, copy the /root/thatuserunmodified to /home/thatuser and fixer permission
  • assuming it's fast enough (I bet it's take 1min at most as /home/thatuser would be mostly empty) I'd do the process after each logout so that each new visitor gets a fresh session, no downloads from previous users, history, bookmarks, etc. Only what the library consider useful.

That's it. This way one can still let the OS do it's updates but the user experience is consistent.

[–] Scribbd@feddit.nl 1 points 1 year ago (1 children)

I am no expert. But I think there is an 'easier' way too manage this with an overlay filesystem.

Have an immutable base with all permissions set. When a session is started have it be done in an in-memory overlay. On logout drop the overlay.

This might be easier if you don't want to rely on cronjobs. But as I have no experience myself setting this up... 'easier' should be taken with a grain of salt. I just took inspiration from docker.

[–] utopiah@lemmy.ml 1 points 1 year ago

True keeping it all in memory, especially as it would be of limited size, could be a good solution. That being said a single script and cron job is rather "easy" IMHO.