Skip to content

u/agentsmurf6

In this archive from Apr 2021 to Dec 2023

16
posts
33
comments
2
media
183
score

hard to use

Who considers it hard to use? Where did you get this information from?

I'm trying to pin down this elusive specter who seems to whisper this information to people in their sleep. I hear this "I've heard arch is difficult" all the time and when questioned about it, these same folks can't remember who put this meme into their minds.

3 points

Depending on your distribution you may have to mount the sdcard yourself.

Check if it shows up in lsblk after plugging it in and then mount the corresponding partition via mount /dev/<partition_name> ~/sdcard. You have to create the destination directory.

3 points

Check if your /usr/bin/startx has the same bug as mine:

userclientrc=$HOME/.xinitrc
[ -f "${XINITRC}" ] && userclientrc="${XINITRC}"
sysclientrc=/etc/X11/xinit/xinitrc

userserverrc=$HOME/.xserverrc
[ -f "${XSERVERRC}" ] && userclientrc="${XSERVERRC}"
sysserverrc=/etc/X11/xinit/xserverrc

The second block reassigns userclientrc instead of userserverrc, which is why XINITRC does not work.

1 points

You have to persist state between multiple calls of your program, a very common problem. If you only have two states create (touch) and delete (rm) a file.

#!/usr/bin/env bash
state_file=/tmp/my_state_file
if [ -f "$state_file" ]; then
  rm "$state_file"
  echo ping 
else
  touch "$state_file"
  echo pong
fi

Put that file into /usr/local/bin, make it executable and run it repeatedly from a shell.

1 points

You're looking for a lightweight window manager, not a "minimal x server" (an x server is a technical building block in the windowing system of graphical linux environments, which doesn't directly pertain to your problem).

Have a look here. This is a list of slim window managers, some with more some with less features. Instead of booting into your Ubuntu desktop environment you'll fire up one of these puppies after logging in.

If you really want lightweight, get rid of Ubuntu altogether, although I doubt that its overhead will be able to compete with the performance requirements of games and streaming software.

2 points

Your post suggests, that you yourself don't really know where exactly to go with this cmake boilerplate generator. In this case it's just too early to try to tailor to other people. Just add the features you need, and only those you really need, not those you think you'll need in the future. After a while, you may revisit the question whether what you're doing may be of use for other people.

Out of necessity I finally realized 2 days ago I should create and set my own commands on my system and not just from scripts but from C/C++ executables so I created a directory in my $HOME called myCommands/ with the 3 sub-directories executables/, srcCode/ and templates/

Here's a tip: Keep all of your project's code in a separate directory (e.g. $HOME/projects/my-cmake-boilerplate-generator) and, if you want to use it yourself as you develop it, symlink the binaries into a standard PATH directory, such as $HOME/.local/bin.

And as a final comment I'll add that there are far more exciting things to do than to write the 251th CMake boilerplate generator :-) Pick a more fun project, really, if your goal is to have a portfolio on github.

2 points

If possible I'd like to preserve information about which articles I've already read, but that's really not a hard requirement.

This hosted approach sounds super interesting - haven't thought about doing it this way. Also, I'll have a look at tt-rss, indeed. Thank you.

1 points

Assuming you don't use wayland, xrandr --output HDMI1 --scale 0.8 is what you need.

Check the output of xrandr to see which output your tv is connected to, as it might not be HDMI1. If you need things to be even bigger, reduce the scaling factor.

1 points

How would you manage dependencies for fresh arch installs? Once all required packages are installed, a git repository is indeed all you need. But I've had to reset a system repeatedly during the past few weeks and I find myself spending quite some time on installing different kinds of dependencies, namely regular arch packages, AUR packages and custom PKGBUILD files for made-for-me-only software.

1 points
xrandr --output HDMI1 --scale 0.8

HDMI1 is the output connected with the screen. You can list your outputs by simply running xrandr.

Note that you have to use a value less than one if you want your UI to appear bigger, i.e. if you want what Window's 125% scaling does you need to use --scale 0.8.

3 points

If you want a desktop environment that's fine, but you certainly don't need one for the option of scaling. You can configure scaling with xrandr directly. I use that for a high-res telly I sometimes use as a monitor.

5 points

Thanks a lot. I've followed every suggestion (yours and the other posters'): Tested RAM and CPU, even bought a second, cheap graphics card, reseated cables, fans, remove the battery, put the case on its head and ... now it works. It just stopped freezing and booted my live usb. I'm now a happy linux user again.

I cannot even begin to explain what it was that had plagued the machine for days. Some things are destined to remain a mystery :-)

Thank you very much all of you kind souls.

1 points

memtest86 finished without errors, although the multi-core stress test looked a little choppy with the hud updating every few seconds only. I've checked the sata cables only to find out that there aren't any.

I'll go and buy a cheap graphics card to check whether I've bricked my 3090 during installation of the water block.

2 points

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.