Linux - Reddit – Telegram
Linux - Reddit
764 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
# stop daemon
sudo /etc/upsilon/upsilon stop

# edit registration info
sudo nano /etc/upsilon/rups.ini
# REGISTRATION
# CDKEY=AAAAAAA-BBBBBBB
# EMAIL=you@example.com
# PASSWORD=


# flush cache & restart
sudo /etc/upsilon/upsilon reginit
sudo /etc/upsilon/upsilon start
sudo /etc/upsilon/upsilon status # shows voltage, battery, etc.

# extra upsilon commands

|Path (as root)|Purpose / Action|Typical use‑case or note|
|:-|:-|:-|
|/etc/upsilon/upsilon start|Start the background daemon (rupsd).|Run at boot via rc.local; use manually for testing.|
|/etc/upsilon/upsilon stop|Gracefully stop the daemon.|Always try this before any pkill brute‑force.|
|/etc/upsilon/upsilon restart|Convenience wrapper: stop → 1 s wait → start.|Useful after editing rups.ini.|
|/etc/upsilon/upsilon status|One‑shot status dump (line‑voltage, battery %).|Quick health check from the shell.|
|/etc/upsilon/upsilon config|Launch the text‑mode parameter editor.|Change serial port, shutdown timer, etc.|
|/etc/upsilon/upsilon reginit|Flush license cache & reread rups.ini.|Run after you edit CD‑Key or e‑mail by hand.|
|/etc/upsilon/upsilon issuer|Send direct commands to the UPS (on/off, test).|Advanced / diagnostic only.|
|/etc/upsilon/upsilon help|Bare‑bones help screen (same text as README).|Shows key bindings.|
|/etc/upsilon/upsilon.eml|Helper noscript for e‑mail alerts (shell noscript).|Called automatically when you enable e‑mail events.|
|/etc/upsilon/upsilon.pgr|Helper noscript for pager/SMS alerts.|Legacy dial‑out; safe to leave empty if unused.|
|/etc/upsilon/rupsd|The actual daemon binary UPSilon controls.|Started by upsilon start; seldom called directly.|
|/etc/upsilon/rups.ini|Main INI file: CD‑Key, serial port, timers, etc.|Edit in a text editor, then run reginit.|
|/etc/upsilon/rupslog|Rolling event log (plain text).|View with tail -f or any log watcher.|

#

https://redd.it/1mb74s5
@r_linux
Tor removed fingerprint protection, linux users more exposed

This is very concerning https://www.youtube.com/watch?v=3wlNemFwbwE

Linux and Tails users should be concerned and informed, if you are a political dissident living in a dictatorship and using Tor or tails you should know that this will expose you to your country intelligence cybersecurity services.

https://redd.it/1mbemq1
@r_linux
Today is my first day using Linux, and I feel God in this OS.

https://preview.redd.it/5pjv6gy2tiff1.jpg?width=1209&format=pjpg&auto=webp&s=5149551b440499e6cb455734256b9aa73cd502bf

Long time lurker, first time post on this sub!

I never touched Linux before until now. I avoided it for so long because I thought it was too hard to learn, and quite frankly, I for some reason thought Linux was *just* a command prompt / terminal. Part of me wishes I had tapped into Linux 10 years ago, but the other part of me is happy to have experienced OS X / macOS and Windows beforehand.

Over the weekend, I successfully uninstalled Windows 11 Pro and swapped it with a fresh install of Linux Mint, and I honestly can't believe how much joy it's bringing me. The installation process was stupid simple. Everything seems so clean and simplistic. I love that Firefox is the default browser. I love that the Firewall module has a straightforward and non-complex explanation of what each setting is. I love that Matrix is available to communicate with other Linux Mint users for discussions and troubleshooting (similar to Linux subs on here). All I've done was install the OS and tweaked some settings, and I feel very in control of this operating system.

That said, my long-term goals are to use this as my primary OS / workstation once I migrate everything from my Mac Mini, and stretch it across my triple 27" monitors. Use cases will be general browsing, possible gaming, and potentially the start of a home lab. I'm pretty excited to do a deep dive.



System specs listed below:

\- Device: Dell XPS 17

\- OS: Linux Mint 22.1 Cinnamon

\- Processor: 13th Gen Intel Core i7-13700H x 14

\- Memory: 32 GB RAM

\- Hard Drive: 2 TB



Feedback, questions, recommendations, suggestions all welcome!

https://redd.it/1mbfusp
@r_linux
I've created a lightweight tool called "venv-stack" to make it easier to deal with PEP 668 on Linux

Hey folks,

I just released a small tool called venv-stack that helps manage Python virtual environments in a more modular and disk-efficient way (without duplicating libraries), especially in the context of PEP 668 on Linux, where messing with system or user-wide packages is discouraged.

https://github.com/ignis-sec/venv-stack

https://pypi.org/project/venv-stack/

# Problem

PEP 668 makes it hard to install packages globally or system-wide-- you’re encouraged to use virtualenvs for everything.
But heavy packages (like torch, opencv, etc.) get installed into every single project, wasting time and tons of disk space. I realize that pip caches the downloaded wheels which helps a little, but it is still annoying to have gb's of virtual environments for every project that uses these large dependencies.
So, your options often boil down to:
Ignoring PEP 668 all-together and using --break-system-packages for everything
Have a node\_modules-esque problem with python.

Here is how layered virtual environments work instead:

1. You create a set of base virtual environments which get placed in \~/.venv-stack/
2. For example, you can have a virtual environment with your ML dependencies (torch, opencv, etc) and a virtual environment with all the rest of your non-system packages. You can create these base layers like this: `venv-stack base ml`, or `venv-stack base some-other-environment`
3. You can activate your base virtual environments with a name: `venv-stack activate base` and install the required dependencies. To deactivate, `exit` does the trick.
4. When creating a virtual-environment for a project, you can provide a list of these base environments to be linked to the project environment. Such as `venv-stack project . ml,some-other-environment`
5. You can activate it old-school like `source ./bin/noscripts/activate` or just use `venv-stack activate`. If no project name is given for the activate command, it activates the project in the current directory instead.

The idea behind it is that we can create project level virtual environments with symlinks enabled: `venv.create(venv_path, with_pip=True, symlinks=True)` And we can monkey-patch the pth files on the project virtual environments to list site-packages from all the base environments we are initiating from.

This helps you stay PEP 668-compliant without duplicating large libraries, and gives you a clean way to manage stackable dependency layers.

Currently it only works on Linux. The activate command is a bit wonky and depends on the shell you are using. I only implemented and tested it with bash and zsh. If you are using a differnt terminal, it is fairly easy add the definitions and contributions are welcome!

# Target Audience

`venv-stack` is aimed at:

Python developers who work on multiple projects that share large dependencies (e.g., PyTorch, OpenCV, Selenium, etc.)
Users on Debian-based distros where PEP 668 makes it painful to install packages outside of a virtual environment
Developers who want a modular and space-efficient way to manage environments
Anyone tired of re-installing the same 1GB of packages across multiple .venv/ folders

It’s production-usable, but it’s still a small tool. It’s great for:

Individual developers
Researchers and ML practitioners
Power users maintaining many noscripts and CLI tools

# Comparison

|Tool|Focus|How venv-stack is different|
|:-|:-|:-|
|virtualenv|Create isolated environments|venv-stack creates layered environments by linking multiple base envs into a project venv|
|venv (stdlib)|Default for environment creation|venv-stack builds on top of venv, adding composition, reuse, and convenience|
|pyenv|Manage Python versions|venv-stack doesn’t manage versions, it builds modular dependencies on top of your chosen Python install|
|conda|Full package/environment manager|venv-stack is lighter,
uses native tools, and focuses on Python-only dependency layering|
|tox, poetry|Project-based workflows, packaging|venv-stack is agnostic to your workflow, it focuses only on the environment reuse problem|

https://redd.it/1mbj7r1
@r_linux
I recently switched to Linux (Fedora KDE to be specific) instead of "upgrading" to Windows 11. Looking at posts like these makes me even more glad that I never bothered with Windows 11
https://redd.it/1mbl7xd
@r_linux
Can't double click on kde neon!?

I'm on kde neon
Have a Roccat burst pro
A 2017 MacBook pro
I'm a newbie
Minecraft player
Switched from windows could double click on windows but not MacBook

Ignore:
Jsjdjjdndnsjdjyhnsjsjdienjsndjkdoqndjofowndjdjdjdmsndndnnd

https://redd.it/1mbnn1f
@r_linux
Why I switched to Linux as someone who once never would have

I am a software engineering student currently in uni. Up until pretty recently, I would've never thought to switch to Linux. The reasons were:

\- Security just isn't a big deal for the average person

\- Can't play games (or as good as windows)

\- It seemed pretty nerdy (i know, shouldn't be a negative reason lol)

\- It looked like id have to learn a new programming language to open the settings app on linux. I also saw a post about a guy who accidently wiped his drive and his home server while trying to get steam to work once, soo that was pretty scary.

\- Windows better! (?)

But since then, both the world and I've changed. Both pretty significantly, in my opinion.

Over the last year or so I've begun pursuing AI Engineering as a field in software engineering. However, this also made me realize that AI is the harbringer of the ultimate privacy nightmare. While the average person should have had little concern about getting tracked by agencies (because it was costly for those agencies to track people, thus they didn't pursue average people as heavily), AI automations are now beginning to make it a reality. Those of you familiar with defense or cybersecurity news must already be aware that people may begin (or may already have begun) getting profiled en masse by certain companies utilizing AI. We are yet to see the effects of this, but as someone who somewhat understands the field I believe that the threats are very real. I've thus begun to seek ways to make my data harder to access, shifting many of my utilities to proton, switching to linux and considering a home server system etc. for this reason

I also stopped playing games, and as a software engineering student I no longer get as scared by the terminal, though I am still pretty cautious and have begun learning the basics.

Windows also stopped being "better" in my experience. Win 11 more OneDrive enforcement, more weird features that they force you to use and most importantly more lag. My pc with 8gb of ram and a ryzen 5500u should not lag while using a browser, its not acceptable.

So the privacy concerns, windows itself and my curiosity towards coding pushed me into Linux, though I could have sworn 9 months ago that I would never use it.

What do you guys think? Im curious to know your perspective on the privacy argument i have, aswell as curious to hear what was your reason for switching

Oh, and linux is pretty nerdy lol

https://redd.it/1mbq3m9
@r_linux
Hyprperks: a new official subnoscription to support Hyprland development.
https://hypr.land/news/hyprperks/

https://redd.it/1mbqb5d
@r_linux
My Boeing 737 uses Linux
https://redd.it/1mbtm16
@r_linux
Hellwal (color palette generator) mature release!
https://redd.it/1mbz6q8
@r_linux
Should I install Linux if I am learning C# programming? and if yes, what distro should I use? Arch or Debian?
https://redd.it/1mc1as8
@r_linux
New Intel Energy Aware Scheduling released with Linux 6.16

Intel Energy Aware Scheduling has been added with kernel 6.16 and I have not seen any discussion on this even though it seems like a pretty huge addition to the kernel except for a few phoronix articles from a while back. The new scheduler should improve energy efficiency on intel hybrid architectures (with P/E cores) with no SMT like the Lunar Lake processors.

First, the kernel needs to be version 6.16 and compiled with CONFIG_ENERGY_MODEL=y.
To enable EAS, intel_pstate needs to be in passive mode and schedutil set as the cpufreq governor (should be the default when intel_pstate is passive)

echo passive | sudo tee /sys/devices/system/cpu/intel_pstate/status

More info in the [mailing list](https://lore.kernel.org/linux-pm/CAJZ5v0gcgMJ-qihgc3_OF4djxAy8K0i-cmnjRe4AQrc_YEu4DQ@mail.gmail.com/) and [docs](https://lore.kernel.org/linux-pm/1935040.CQOukoFCf9@rjwysocki.net/)

Tested on an intel core ultra 5 228v asus expertbook p5 (fedora 42 with custom compiled kernel 6.16 rc7 from rawhide sources). I noticed that when idling or doing light workload the performance cores are mostly idling so it seems like it's working. To check the performance I ran geekbench (both single and multi core scores went down by about 2%) and unigine superposition (pretty much no difference as expected). Gnome animations stutters slightly but noticeably especially when idling at the beginning of animation possibly suggesting some latency issue?

Most importanty, the power consumption seems to be greatly improved. Previously I was getting around 7 hours of battery life at 50% brightness, light web browsing and listening to youtube in the background. With EAS enabled now I'm getting around 8.5 hours which is a considerable 20% improvement. I'll do more precise measurements when I have more time later but it's been a fantastic improvement for this lunar lake laptop.

https://redd.it/1mc7l94
@r_linux
Wine is so much better

I finally got Quicken to work under wine. It is a so much quicker (no pun intended) experience than running Windows 11 on a Virtual machine. I am loving it right now as long as it works.

Winehq is great. They had all the instructions on how to make it install, because it would not install by itself. It is the only program holding me back from being Windows free and now I can be thanks to wine.

https://redd.it/1mcdorw
@r_linux