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.
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.
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.
Unless your distribution has already taken care of it, have a look at http://localhost:631/admin and see if you can find and configure your printer. That's the default url for the http interface of CUPS, the software which many linux distros use to configure printers.
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.
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.
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.
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.
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.
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.
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 :-)
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.
Check if you can still ssh into your system after it freezes.
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.
Beauty is in the eye of the beholder. Check out puppy linux.
Depending on your distribution you may have to mount the sdcard yourself.
Check if it shows up in
lsblkafter plugging it in and then mount the corresponding partition viamount /dev/<partition_name> ~/sdcard. You have to create the destination directory.Check if your
/usr/bin/startxhas the same bug as mine:The second block reassigns userclientrc instead of userserverrc, which is why
XINITRCdoes not work.If you shared your problems concerning your samba setup with us, you'd get help.
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.Put that file into
/usr/local/bin, make it executable and run it repeatedly from a shell.You either use
"quotes around your path"orjust\ backslashes\ before\ whitespaces, but not both.To debug your path, just
lsit. Iflsfails,findwon't work either. If that won't help, we'll continue debugging the rest of the script.Unless your distribution has already taken care of it, have a look at
http://localhost:631/adminand see if you can find and configure your printer. That's the default url for the http interface of CUPS, the software which many linux distros use to configure printers.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.
Assuming this is python code, you're supposed to pass the commandline to
subprocess.run()as an array, not as a single string. TryYour 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.
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.
May I kindly ask you provide me a few examples or links? Sounds interesting.
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.
I don't mind at all: I use Obsidian for notetaking and my browser's bookmarks are stored in a json file, which is easily managed by git.
I don't know. Freezes still happen. I'm going to return the motherboard.
Luckily, it was not the GPU. I bought a cheap GPU and swapped it with the 3090 which did not prevent the freezes during boot.
You must set the resolution as well (and other settings you're using).
xrandr --output HDMI1 --mode 3840x2160 --scale 0.8.Assuming you don't use wayland,
xrandr --output HDMI1 --scale 0.8is what you need.Check the output of
xrandrto 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.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.
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.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
xrandrdirectly. I use that for a high-res telly I sometimes use as a monitor.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.
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.
Didn't help unfortunately. System still freezes. Thanks for the suggestion.