Linux - Reddit – Telegram
Linux - Reddit
776 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
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-noscripts.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-scope.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-registry.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-orgs.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-index.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-disputes.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-developers.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-config.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc/npm-coding-style.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/misc: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/index.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/package.json.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/package-lock.json.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/npmrc.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/npm-shrinkwrap.json.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/npm-package-locks.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/npm-json.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/npm-global.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files/npm-folders.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/files: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-whoami.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-view.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-version.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-update.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-unpublish.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-uninstall.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-token.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-test.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-team.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-stop.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-start.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-stars.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-star.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-shrinkwrap.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-search.html: remove failed: No such fi
le or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-run-noscript.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-root.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-restart.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-repo.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-rebuild.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-publish.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-prune.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-profile.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-prefix.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-ping.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-pack.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-owner.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-outdated.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-org.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-ls.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-logout.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-link.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-install.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-install-test.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-install-ci-test.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-init.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-hook.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-help.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-help-search.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-explore.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-edit.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-doctor.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-docs.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-dist-tag.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-deprecate.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-dedupe.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-config.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-completion.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-ci.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-cache.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-bundle.html: remove fai
led: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-build.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-bugs.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-bin.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-audit.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-adduser.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli/npm-access.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/cli: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc/README.html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html/doc: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/html: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/spec/package-lock.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/spec/file-specifiers.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/spec: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/semver.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/removing-npm.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-noscripts.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-scope.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-registry.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-orgs.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-index.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-disputes.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-developers.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-config.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc/npm-coding-style.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/misc: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files/package.json.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files/package-lock.json.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files/npmrc.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files/npm-shrinkwrap.json.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files/npm-package-locks.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files/npm-folders.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/files: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-whoami.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-view.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-version.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-update.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-unpublish.md: remove failed: No such fi
le or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-uninstall.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-token.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-test.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-team.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-stop.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-start.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-stars.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-star.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-shrinkwrap.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-search.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-run-noscript.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-root.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-restart.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-repo.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-rebuild.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-publish.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-prune.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-profile.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-prefix.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-ping.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-pack.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-owner.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-outdated.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-org.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-ls.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-logout.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-link.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-install.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-install-test.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-install-ci-test.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-init.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-hook.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-help.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-help-search.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-explore.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-edit.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-doctor.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-docs.md: remove failed: No such file or directory
warning: file
/usr/lib/node\_modules/npm/doc/cli/npm-dist-tag.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-deprecate.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-dedupe.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-config.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-completion.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-ci.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-cache.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-bundle.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-build.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-bugs.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-bin.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-audit.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-adduser.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli/npm-access.md: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc/cli: remove failed: No such file or directory
warning: file /usr/lib/node\_modules/npm/doc: remove failed: No such file or directory

https://redd.it/erpiyn
@r_linux
Will a 3200g work with kali?

I want to get a budget Linux pc with kali ,so I plan to get a 3200g since it has an apu. However, I heard the 3200g was bad with Linux previously. Will it be fine now or do I need to get an external gpu?

https://redd.it/err5ha
@r_linux
Faster GNU Emacs start: The Emacs Daemon

Did you know Emacs can be ran in *daemon* mode?

$ emacs --daemon # Starts emacs, forks into background
$ emacsclient -c # Connect to the daemon, '-c' to create new frame

Or that this daemon can be auto-started if not running by specifying an empty string as an alternate editor?

$ emacsclient -a "" -c

(And in case you didn't know it, you can run Emacs in the terminal too, with the `-nw` option.)

$ alias edit='emacsclient -a "" -nw -c'
$ edit [file...]

What this here does is it disconnects the big part of Emacs, the large lisp environment and configuration and buffer-handling and such, from the part of actually drawing the window and grabbing the editor when you need it. When you want to start editing a file, it's *snap* and ready; no crawling the disk and parsing elisp configuration files. Under the terminal particularly, it's an instant startup compared to how Emacs normally runs, and it really changes the perception of how heavy the editor seems.

The memory usage of opening up half a dozen clients and editing half a dozen files is the same as running a single emacs and editing as many files -- each client is only 1.5 megabytes of RAM usage, and the daemon itself caps out at 170 megabytes for my own workload, editing up to about a dozen C sources for a few projects every week.

At any time, you can close the daemon by opening a client and running `M-x kill-emacs`.

The one thing to watch out for is that, since your distro probably configures Emacs to use the GTK for running under X, that the daemon will crash when you close X. It won't mess up any of your files, and it's not going to be a problem for all but one or two of you, but it does happen.

Here's an `emacsclient.desktop` file that you can create in `.local/share/applications` in order to use it with your desktop environment, an edited version of the `emacs.desktop` on my system:

[Desktop Entry]
Name=Emacsclient
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellnoscript;text/x-c;text/x-c++;
Exec=emacsclient -a "" -c %F
Icon=emacs
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=Emacs
Keywords=Text;Editor;

For me, this works fantastically well because unlike a number of others, I don't run Emacs as an IDE, but rather as just a text editor. I'll open a new editor window to read or write in every five to fifteen minutes, I let dwm do the part of tiling them out and swapping between them, and I'll leave half a dozen clients running in the background so I can pick up on them exactly where I left off. I get my themes, a shortcut set I like, my macros, and online I can get the syntax highlighting for just about every language from NASM x86 to Forth to Donald Knuth's MMIX.

I hope this helps!

https://redd.it/errbib
@r_linux
Shaping of ingress and egress to have equal bandwidth for each computer

Let's say we have an internet connection with 1 Gbit/s speed. When 3 computers are downloading, speed is not equal for each of them. Is it possible to apply some shaping so each of them has equal bandwidth allowed? I want it to be dynamic - when no other is downloading, it should allow let's say 900 Mbit/s for one, but when two of them, only half (450 Mbit/s) etc.

I've read that shaping of downloading (ingress) is not possible, but how can I achieve equal speed for each computer? Is it possible with tc ( [https://linux.die.net/man/8/tc](https://linux.die.net/man/8/tc) )? I want to do this for each direction (ingress and egress). Thanks!

​

[Download files on 3 VMs at the same time](https://preview.redd.it/92nyirlrs3c41.png?width=355&format=png&auto=webp&s=dda4a23e9f95048e0fad0dbeba78e18c05697ac6)

https://redd.it/ersi0u
@r_linux
ubuntu freeze cure

I have an MSI laptop that had (DROP TO LOWER C STATES TO SAVE POWER WHEN NOT IN 100% USE) on . Thsi caused ubuntu to freeze more often . After switching this option off from bios everything works fine.
You know just saying incase someone else is facing this issue.

https://redd.it/erthbw
@r_linux