Gibt es einen wichtigen Grund wieso man morgens kein Koffein zu sich nehmen sollte?
- 0 Posts
- 21 Comments
Farnsworthto
Linux@lemmy.ml•Fedora 44 Will Be the First Distro to Adopt KDE's Plasma Login Manager
3·20 days agoproblem with password expiry https://github.com/sddm/sddm/issues/472
tl;dr yes there are parking garages nearby, at least in my city
Most of these are not about the Linux kernel, but about distro / personal choice. Android tracks you and doesn’t make you use the command-line a lot. Fedora / Ubuntu (and others?) like to reboot for every little update.
I don’t know man. It seems you have an nvidia card. Have you asked on fedora discussion yet? Here’s someone who might have had a similar issue: https://discussion.fedoraproject.org/t/grub-freeze-with-direct-uefi-boot-on-hp-but-works-with-boot-menu/73072
I’m not using grub anymore, but from my time when I did, I remember there’s a “settings” file
/etc/default/grub.Carefully change some timeout-related settings there (for example, add GRUB_TIMEOUT=5). Your change in the settings file becomes effective (on next boot) after you re-generate the grub “config” using the following command: grub2-mkconfig -o /boot/grub2/grub.cfg. Then check if it the problem still persists.Can you please post that file here? It should not contain any sensitive information.
Start your analysis by doing only the “detection” part:
find ./ -type f \( -iname \*.jpg -o -iname \*.png \)Now look carefully at the output (or dump it to a file first, by appending something like
/tmp/files.txt). Does it look good to you? Maybe it’s empty? See any spaces in filenames or directories?Here’s a sed stub that finds lines with whitespace:
echo -e "line with space\nline_without_space" | sed -E -n '/\s/p'Get rid of the
echo "'$dir'/'$base'", thats’s too much to read. Instead, add sanity checks in your loop, like this:[[ -f $file ]] || echo "file doesn't even exist: $file"or this:
[[ -f "$dir/$base" ]] || echo "dirbase doesn't even exist: $dir/$base"There may be other issues, but to handle whitespace in file names correctly, you need more quoting at least here:
dir="$(dirname "$file")" base="$(basename "$file")"
Bookmarked 😜 Mind adding a dark mode?
Farnsworthto
GNU+Linux Humor@lemmy.ml•The number of vi/vim commands is relative to your age
3·3 months agoVery useful for renaming a variable:
*to search “word” under cursor. Try this with hlsearch on::set hlsearch. Thencwto change a match. Alternatenand.to quickly rename more occurrences of the word. Do a:nohto get rid of the highlighting. Maybe try:set noinc, some people prefer the traditional “non-incremental” search.Do all this in normal mode. Vim experts leave insert mode as soon as possible. Almost forgot: Pressing
C-ctakes you back to normal mode without leaving home row.Most important advice: Never touch arrow keys. Keep your fingers on the home row. Learn
hjklmovement (focus onjandk, they are more important). Then get faster by usingb,w,f,o,O,A,I,C-dand all the rest. Learn aboutJ, it’s cool. You won’t get far withoutuandC-rthough.Critically important advice for fellow Europeans: If you care about vim, consider learning the US keyboard layout. Default bindings are not convenient in other layouts like qwertz (where is forward slash on qwertz? Hello?), and learning US layout might be easier than learning to customize vim. On a typical modern Linux system, there are US layout variants that still allow typing Umlauts, like EurKey or “DE-US”, where you type
äby pressing RightAlt+a, for example.
I use cat (as root) to write ISO to flash drive. Anything wrong with that?
in
[[there is generally no need for quoting, except the right hand side of an=comparison
in
[[, empty strings are falsy, so this also works:[[ ! $VARIABLE1 && ! $VARIABLE2 ]] && echo "OK"
The variables need a dollar sign:
$VARIABLE1help testshows what-nand-zdo.
Never use
a && b || c. It is not the same asif a; then b; else c; fi: whenasucceeds butbfails, it will run bothbandc.I would not bother with
[unless you absolutely need compatibility with non-bash shells.
no I don’t have that choice, see my other comment
This, except I won’t buy an apple device (unless forced to: in Germany an i-bad is required in many high schools, yes you need to pay for it in full with your own money, yes it needs to be an i-bad they even require a specific model)
Some employers offer intellij ultimate subscriptions. It’s even mandatory in some teams. The devs don’t have to pay out of their own pocket. But I think many of them are hooked and will lobby to keep the subscription going.
Try opening a terminal an typing
echo 'Hello World!'My two cents: You can forget about Linux for a while. Using a terminal is more important. Here’s a classic guide: https://mywiki.wooledge.org/BashGuide
Cool operating system bro. Does it run KDE?




My pain points with Fedora: signed sdboot and anaconda. Anaconda in particular looks like an unmaintainable mess that needs to be replaced.