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
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
reddit
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....
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
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
reddit
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...
Plasma 5.17.5 available in experimental
https://lists.debian.org/debian-kde/2020/01/msg00030.html
https://redd.it/errxe0
@r_linux
https://lists.debian.org/debian-kde/2020/01/msg00030.html
https://redd.it/errxe0
@r_linux
Linux Command Line Tips & Tricks
https://getkt.com/blog/amazing-linux-command-line-tips-and-tricks/
https://redd.it/ers1md
@r_linux
https://getkt.com/blog/amazing-linux-command-line-tips-and-tricks/
https://redd.it/ers1md
@r_linux
getKT
Amazing Linux Command Line Tips and Tricks | getKT
In an operating system, Command line is a tool which provides the typing interface to perform commands on computer. This article will walk you trough some time saving tips to working with Linux command line. Switch working directory to home directory cd ~…
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
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
linux.die.net
tc(8): show/change traffic control settings - Linux man page
Tc is used to configure Traffic Control in the Linux kernel. Traffic Control consists of the following: SHAPING When traffic is shaped, its rate of ...
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
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
reddit
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...
Bountysource campaign to help fund the development of a Rust frontend for GCC
https://www.bountysource.com/issues/86138921-rfe-add-a-frontend-for-the-rust-programming-language
https://redd.it/ertpey
@r_linux
https://www.bountysource.com/issues/86138921-rfe-add-a-frontend-for-the-rust-programming-language
https://redd.it/ertpey
@r_linux
Bountysource
$440 Bounty on GCC
RFE: Add a frontend for the Rust programming language
The happinesses and stresses of full-time FOSS work
https://drewdevault.com/2020/01/21/Stress-and-happiness.html
https://redd.it/erv35z
@r_linux
https://drewdevault.com/2020/01/21/Stress-and-happiness.html
https://redd.it/erv35z
@r_linux
Introducing GVariant schemas
https://blogs.gnome.org/alexl/2020/01/14/introducing-gvariant-schemas/
https://redd.it/erw87c
@r_linux
https://blogs.gnome.org/alexl/2020/01/14/introducing-gvariant-schemas/
https://redd.it/erw87c
@r_linux
Exposing C and Rust APIs: some thoughts from librnoscript
https://people.gnome.org/~federico/blog/exposing-c-and-rust-apis.html
https://redd.it/erw7q2
@r_linux
https://people.gnome.org/~federico/blog/exposing-c-and-rust-apis.html
https://redd.it/erw7q2
@r_linux
LPrint: a label printer application from the creator of CUPS
https://github.com/michaelrsweet/lprint
https://redd.it/erw3g7
@r_linux
https://github.com/michaelrsweet/lprint
https://redd.it/erw3g7
@r_linux
GitHub
GitHub - michaelrsweet/lprint: A Label Printer Application
A Label Printer Application. Contribute to michaelrsweet/lprint development by creating an account on GitHub.
Linux at universities
Are there any universities that use Linux on student computers along with open-source platforms for learning?
How much money does this save the university?
Looking forward to your answers!
https://redd.it/es05x8
@r_linux
Are there any universities that use Linux on student computers along with open-source platforms for learning?
How much money does this save the university?
Looking forward to your answers!
https://redd.it/es05x8
@r_linux
reddit
Linux at universities
Are there any universities that use Linux on student computers along with open-source platforms for learning? How much money does this save the...
I made a CLI tool that searches shell history by commands and directories. It prioritizes commands from the current directory (blue highlight).
https://redd.it/es2ykj
@r_linux
https://redd.it/es2ykj
@r_linux
The Definitive (and Painless) Linux Video Production Guide Part 2 - The Passthrough POST
https://passthroughpo.st/painless-linux-video-production-pt-2-installation-setup/
https://redd.it/erz2zi
@r_linux
https://passthroughpo.st/painless-linux-video-production-pt-2-installation-setup/
https://redd.it/erz2zi
@r_linux
The Passthrough POST
Painless Linux Video Production Pt. 2: Installation & Setup - The Passthrough POST
If you’ve read through the first post, and you’re wondering how the information presented there fits together, that’s what this […]
Thank you, Linux community!
As a person interested in computing it's been wonderful to have an OS where you can inspect it's source to understand how it works fundamentally. But even with that, I probably wouldn't want to pursue OS concepts were it not for the community.
People here (and on irc, distro fourms, etc) have treated me like a peer who's working together with them to further our collective understanding of whatever issue is at hand; Someone capable of independent thought, instead of an irate consumer.
This attitude has made all the difference.
Instead of dreading the dysfunctional hell of talking to someone in a call center when troubleshooting an issue, I now look at troubleshooting as an opportunity to learn something new. It almost feels like a team sport.
After a few years of interactions like this, I feel that I've grown as a person, learned a ton of new skills, and maybe become a little more compassionate when interacting with people online.
So, I just wanted to say thank you. I hope to treat the next person who needs help with the same authenticity, intellectual curiosity, and compassion that I've been accorded these past few years!
https://redd.it/es4djr
@r_linux
As a person interested in computing it's been wonderful to have an OS where you can inspect it's source to understand how it works fundamentally. But even with that, I probably wouldn't want to pursue OS concepts were it not for the community.
People here (and on irc, distro fourms, etc) have treated me like a peer who's working together with them to further our collective understanding of whatever issue is at hand; Someone capable of independent thought, instead of an irate consumer.
This attitude has made all the difference.
Instead of dreading the dysfunctional hell of talking to someone in a call center when troubleshooting an issue, I now look at troubleshooting as an opportunity to learn something new. It almost feels like a team sport.
After a few years of interactions like this, I feel that I've grown as a person, learned a ton of new skills, and maybe become a little more compassionate when interacting with people online.
So, I just wanted to say thank you. I hope to treat the next person who needs help with the same authenticity, intellectual curiosity, and compassion that I've been accorded these past few years!
https://redd.it/es4djr
@r_linux
reddit
Thank you, Linux community!
As a person interested in computing it's been wonderful to have an OS where you can inspect it's source to understand how it works fundamentally....
Internet routers running Tomato with default credentials are under attack by Muhstik botnet
https://arstechnica.com/information-technology/2020/01/internet-routers-running-tomato-are-under-attack-by-notorious-crime-gang/
https://redd.it/es48z1
@r_linux
https://arstechnica.com/information-technology/2020/01/internet-routers-running-tomato-are-under-attack-by-notorious-crime-gang/
https://redd.it/es48z1
@r_linux
Ars Technica
Internet routers running Tomato are under attack by notorious crime gang
The Muhstik botnet has targeted other IoT devices. Now it's attacking Tomato routers.
Educational Resources.
So I want to learn Linux from top to bottom. Desktop and server all everything in between. I threw myself into Arch Linux without a shred of idea what I was doing but I can say I made it out alive. Still learning and loving every moment of it.
Now I see that CompTIA has a Linux+ certificate. I plan on studying and getting this certification by the end of the year. Instead of just throwing myself into another wild fire. Is there any actual decent courses on Udemy or YouTube etc.. That would help prepare me for this cert? Or am I better off learning from trial and error?
https://redd.it/es2hjg
@r_linux
So I want to learn Linux from top to bottom. Desktop and server all everything in between. I threw myself into Arch Linux without a shred of idea what I was doing but I can say I made it out alive. Still learning and loving every moment of it.
Now I see that CompTIA has a Linux+ certificate. I plan on studying and getting this certification by the end of the year. Instead of just throwing myself into another wild fire. Is there any actual decent courses on Udemy or YouTube etc.. That would help prepare me for this cert? Or am I better off learning from trial and error?
https://redd.it/es2hjg
@r_linux
reddit
Educational Resources.
So I want to learn Linux from top to bottom. Desktop and server all everything in between. I threw myself into Arch Linux without a shred of idea...