Skip to content

u/OnlineGrab

In this archive from May 2017 to Mar 2024

3
posts
170
comments
0
media
1k
score

Top posts

Optimal configuration for a SSD

Hello there. I'm using Manjaro on a laptop with a SSD. There seems to be a ton of options out there to fine-tune the way Linux deals with SSDs, but the more I research this topic, the more it confuses me. I keep reading contradictory information or advices that could be outdated. So my questions are...

1 points3 comments
Open on Reddit

Top comments

Don't use pip to install system-wide packages.

If you need to install a python package system-wide, use your package manager (for instance, if you want to install PyQt5 system-wide, do sudo pacman -S python-pyqt5).

If you are working on a particular Python project, create a self-contained Python environment for this project. It's as simple as this :

sudo pacman -S python-virtualenv
virtualenv path/to/my_env
source path/to/my_env/bin/activate

Boom, you're in your environment. Now, your Python interpreter will use packages from that environment, instead of your system-wide Python install. As long as you're in there, you can go crazy, install whatever you want with pip, it's not going to conflict with your system.

When you want to exit the environment, just run the command deactivate. If you want to wipe the environment completely, just delete the folder my_env.

Another advantage of using a virtual environment is that the package versions are frozen until you upgrade them manually. Whereas when using the system-wide install, your program may break because Pacman upgraded some Python package to an incompatible version.

137 points

People have been reporting a smoother experience when using native (not XWayland) apps. Wayland is also supposed to solve a lot of issues regarding mixed DPI settings, input lag, tearing and composition in general.

It's definitely the way to the future, but one thing to understand is that Wayland is not a program : it's a specification. Each desktop environment needs to have its own implementation, and currently some are more mature than others. Gnome supposedly has a pretty good implementation, since they're now enabling Vulkan Wayland by default (on non-Nvidia cards at least). Sway also looks in good shape. KDE on the other hand still needs some work.

66 points

Well there's a general defiance towards AUR helpers. I think that's because they make it too easy for newbies to forget the difference between official packages and user-maintained packages (cough cough Manjaro cough cough).

But as long as you know why you use them and exactly what they are doing behind the scenes, there's no reason not to use them, IMHO.

18 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.