Get Help
I just installed Linux to amd laptop. However, the desktop environment didn’t show up, it is in black screen. Before install desktop environment only tty can be used. After install environment, it show black screen. Before install I have tried live, but it brings me to try too. Anyone can help?
https://redd.it/lnctlb
@r_linux
I just installed Linux to amd laptop. However, the desktop environment didn’t show up, it is in black screen. Before install desktop environment only tty can be used. After install environment, it show black screen. Before install I have tried live, but it brings me to try too. Anyone can help?
https://redd.it/lnctlb
@r_linux
reddit
Get Help
I just installed Linux to amd laptop. However, the desktop environment didn’t show up, it is in black screen. Before install desktop environment...
Screen keeps flickering when on desktop (Kubuntu 20.10)
Every time when i'm on my desktop and move my cursor my screen starts flickering and I don't know what to do. This also happens when i start an application. I also asked this on a other subreddit a couple days ago but didn't get much help.
[Youtube video of what I see](https://youtu.be/m6wDJzhTTWs)
I'm using a ASUS C302C.
System info:
* Operating System: Kubuntu 20.10
* KDE Plasma Version: 5.19.5
* KDE Frameworks Version: 5.74.0
* Qt Version: 5.14.2
* Kernel Version: 5.8.0-43-generic
* OS Type: 64-bit
* Processors: 4 × Intel® Pentium® CPU 4405Y @ 1.50GHz
* Memory: 3.7 GiB of RAM
* Graphics Processor: Mesa Intel® HD Graphics 515
https://redd.it/lnez5g
@r_linux
Every time when i'm on my desktop and move my cursor my screen starts flickering and I don't know what to do. This also happens when i start an application. I also asked this on a other subreddit a couple days ago but didn't get much help.
[Youtube video of what I see](https://youtu.be/m6wDJzhTTWs)
I'm using a ASUS C302C.
System info:
* Operating System: Kubuntu 20.10
* KDE Plasma Version: 5.19.5
* KDE Frameworks Version: 5.74.0
* Qt Version: 5.14.2
* Kernel Version: 5.8.0-43-generic
* OS Type: 64-bit
* Processors: 4 × Intel® Pentium® CPU 4405Y @ 1.50GHz
* Memory: 3.7 GiB of RAM
* Graphics Processor: Mesa Intel® HD Graphics 515
https://redd.it/lnez5g
@r_linux
YouTube
screen flickering video
PipeWire 0.3.22 released - many new bugfixes and improvments for JACK and Bluetooth, support for HFP HF profile, Pro Audio card profile support
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.22
https://redd.it/lncgj0
@r_linux
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.22
https://redd.it/lncgj0
@r_linux
GitLab
0.3.22 Release · PipeWire / pipewire · GitLab
PipeWire 0.3.22 This is a bugfix release that is API and ABI compatible with previous 0.3.x releases. Highlights ...
Linux has landed on Mars. The Perseverance rover's helicopter (called Ingenuity) is built on Linux and JPL's open source F' framework
It's mentioned at the end of this IEEE Spectrum article about the Mars landing.
> Anything else you can share with us that engineers might find particularly interesting?
> This the first time we’ll be flying Linux on Mars. We’re actually running on a Linux operating system. The software framework that we’re using is one that we developed at JPL for cubesats and instruments, and we open-sourced it a few years ago. So, you can get the software framework that’s flying on the Mars helicopter, and use it on your own project. It’s kind of an open-source victory, because we’re flying an open-source operating system and an open-source flight software framework and flying commercial parts that you can buy off the shelf if you wanted to do this yourself someday. This is a new thing for JPL because they tend to like what’s very safe and proven, but a lot of people are very excited about it, and we’re really looking forward to doing it.
The F' framework is on GitHub: https://github.com/nasa/fprime
https://redd.it/lnjkl3
@r_linux
It's mentioned at the end of this IEEE Spectrum article about the Mars landing.
> Anything else you can share with us that engineers might find particularly interesting?
> This the first time we’ll be flying Linux on Mars. We’re actually running on a Linux operating system. The software framework that we’re using is one that we developed at JPL for cubesats and instruments, and we open-sourced it a few years ago. So, you can get the software framework that’s flying on the Mars helicopter, and use it on your own project. It’s kind of an open-source victory, because we’re flying an open-source operating system and an open-source flight software framework and flying commercial parts that you can buy off the shelf if you wanted to do this yourself someday. This is a new thing for JPL because they tend to like what’s very safe and proven, but a lot of people are very excited about it, and we’re really looking forward to doing it.
The F' framework is on GitHub: https://github.com/nasa/fprime
https://redd.it/lnjkl3
@r_linux
IEEE Spectrum
How NASA Designed a Helicopter That Could Fly Autonomously on Mars
The Perseverance rover's Mars Helicopter (Ingenuity) will take off, navigate, and land on Mars without human intervention
Chris's Wiki :: find mostly doesn't need xargs today on modern Unixes
https://utcc.utoronto.ca/~cks/space/blog/unix/FindWithoutXargsToday
https://redd.it/lnjf29
@r_linux
https://utcc.utoronto.ca/~cks/space/blog/unix/FindWithoutXargsToday
https://redd.it/lnjf29
@r_linux
Any good and updated books about Linux and programming?
I've been using Linux since the nineties and know the UNIX part quite well. But Linux has changed a lot over the years and my knowledge is dated. So I need an update, and am looking for a book similar to e.g, APUE, but covering all the Linux concepts.
Can anyone recommend a book which will teach me about namespaces, device trees, cgroups, modern polling, and other major new stuff?
https://redd.it/lnj5i1
@r_linux
I've been using Linux since the nineties and know the UNIX part quite well. But Linux has changed a lot over the years and my knowledge is dated. So I need an update, and am looking for a book similar to e.g, APUE, but covering all the Linux concepts.
Can anyone recommend a book which will teach me about namespaces, device trees, cgroups, modern polling, and other major new stuff?
https://redd.it/lnj5i1
@r_linux
reddit
Any good and updated books about Linux and programming?
I've been using Linux since the nineties and know the UNIX part quite well. But Linux has changed a lot over the years and my knowledge is dated....
Wayland on Wine: An exciting first update - Windows applications running directly on Wayland
https://www.collabora.com/news-and-blog/news-and-events/wayland-on-wine-an-exciting-first-update.html
https://redd.it/lnnm56
@r_linux
https://www.collabora.com/news-and-blog/news-and-events/wayland-on-wine-an-exciting-first-update.html
https://redd.it/lnnm56
@r_linux
Collabora | Open Source Consulting
Wine on Wayland: An exciting first update
Proposed on the upstream mailing list as a new RFC (Request for Comment), this update contains more details and instructions for building and running the Wayland driver.
Kernel Optimization
Back in the late 90's - early 00's when I was first learning Linux it wasn't uncommon for people to build a kernel optimized for their hardware. Sure, the performance gains were usually minor and so was the saved hard drive space but in those days it seemed like small gains were worth it. Maybe it was just worth it to me? There doesn't really seem to be a point to that these days with plentiful, fast, and relatively cheap storage along with much faster processors. Not to mention that most hardware drivers are loaded as modules now. But the other day I was reading an article that quoted Linus saying the Linux kernel is becoming bloated. Seems like if you were really worried about that, you could compile a custom kernel for your hardware like in the old days. I'm still not sure it's still worth it now though. Does anyone still compile custom kernels?
https://redd.it/lni889
@r_linux
Back in the late 90's - early 00's when I was first learning Linux it wasn't uncommon for people to build a kernel optimized for their hardware. Sure, the performance gains were usually minor and so was the saved hard drive space but in those days it seemed like small gains were worth it. Maybe it was just worth it to me? There doesn't really seem to be a point to that these days with plentiful, fast, and relatively cheap storage along with much faster processors. Not to mention that most hardware drivers are loaded as modules now. But the other day I was reading an article that quoted Linus saying the Linux kernel is becoming bloated. Seems like if you were really worried about that, you could compile a custom kernel for your hardware like in the old days. I'm still not sure it's still worth it now though. Does anyone still compile custom kernels?
https://redd.it/lni889
@r_linux
reddit
Kernel Optimization
Back in the late 90's - early 00's when I was first learning Linux it wasn't uncommon for people to build a kernel optimized for their hardware. ...
Hushboard: mute your mic while you are typing
https://kryogenix.org/code/hushboard/
https://redd.it/lnp9ms
@r_linux
https://kryogenix.org/code/hushboard/
https://redd.it/lnp9ms
@r_linux
ytfzf Comand line youtube viewer updated, Thank you for the support!
I had posted earlier today regarding my youtube commandline ( no api) noscript. my first post
I have gotten so much love for that one line shell noscript, so I decided to actually make it properly after all the suggestions I had gotten from my prev post.
https://github.com/pystardust/ytfzf
I have completely reworked on the scipt it has a lot more features now
History (can be toggled) - Shows all the videos you played before, and you can choose from them
Download - with option -d , the video will be downloaded to current directory
Music - play the video as audio only when you parse in -m
Format - Now you can choose default format or pass in -f to show all possible formats for a given video
Error Handeling - Check for dependcies and gives appropriate errors
No pup - doesn't depend on pup anymore
These options can be combined in any manner, like -dm, will download music
Usage: ytfzf <search query>
-h Show this help text
-H Choose from history
-m <search query> Audio only (for listening to music)
-d <search query> Download to current directory
-f <search query> Show available formats before proceeding
https://github.com/pystardust/ytfzf
https://redd.it/lnrwj1
@r_linux
I had posted earlier today regarding my youtube commandline ( no api) noscript. my first post
I have gotten so much love for that one line shell noscript, so I decided to actually make it properly after all the suggestions I had gotten from my prev post.
https://github.com/pystardust/ytfzf
I have completely reworked on the scipt it has a lot more features now
History (can be toggled) - Shows all the videos you played before, and you can choose from them
Download - with option -d , the video will be downloaded to current directory
Music - play the video as audio only when you parse in -m
Format - Now you can choose default format or pass in -f to show all possible formats for a given video
Error Handeling - Check for dependcies and gives appropriate errors
No pup - doesn't depend on pup anymore
These options can be combined in any manner, like -dm, will download music
Usage: ytfzf <search query>
-h Show this help text
-H Choose from history
-m <search query> Audio only (for listening to music)
-d <search query> Download to current directory
-f <search query> Show available formats before proceeding
https://github.com/pystardust/ytfzf
https://redd.it/lnrwj1
@r_linux
reddit
One line shell noscript to watch youtube videos from the command line
Posted in r/linux by u/pi-star • 942 points and 85 comments
Wanna install Gentoo?
Many people wanna try out a more advanced GNU/Linux distro like Gentoo, but get overwhelmed by the seemingly daunting installation and maintainment process. I made an easy to follow, not too long installation guide with a voiceover that details how and why to set up everything you need for a base system.
link to the video
https://redd.it/lnuadt
@r_linux
Many people wanna try out a more advanced GNU/Linux distro like Gentoo, but get overwhelmed by the seemingly daunting installation and maintainment process. I made an easy to follow, not too long installation guide with a voiceover that details how and why to set up everything you need for a base system.
link to the video
https://redd.it/lnuadt
@r_linux
YouTube
Gentoo Installation Guide 0x1 | Minimal EFI_x86_64 system
Gain full control over your computing experience with a one of the most sophisticated and customizable GNU/Linux distributions in existence!
********************************************************
amd64 handbook: https://wiki.gentoo.org/wiki/Handbook:AMD64…
********************************************************
amd64 handbook: https://wiki.gentoo.org/wiki/Handbook:AMD64…
Can hardware dictate suitability?
Many say that all Linux distros are basically the same thing. It's only the cosmetics that change.
So I wanted to ask, can Debian/deb-based distros work better in some hardware while arch and its derivatives work better for another?
Is it a legitimate observation that an arch based distro has worked well for my laptop compared to debain or have I just not learned how to optimise the system?
Edit: Works better = the opposite of the following: Mouse movement is often laggy, programs hang during execution, web browsing is slow and lags while I type, libre office is unbelievably slow to use.
https://redd.it/lnh2h9
@r_linux
Many say that all Linux distros are basically the same thing. It's only the cosmetics that change.
So I wanted to ask, can Debian/deb-based distros work better in some hardware while arch and its derivatives work better for another?
Is it a legitimate observation that an arch based distro has worked well for my laptop compared to debain or have I just not learned how to optimise the system?
Edit: Works better = the opposite of the following: Mouse movement is often laggy, programs hang during execution, web browsing is slow and lags while I type, libre office is unbelievably slow to use.
https://redd.it/lnh2h9
@r_linux
reddit
Can hardware dictate suitability?
Many say that all Linux distros are basically the same thing. It's only the cosmetics that change. So I wanted to ask, can Debian/deb-based...
Is it possible to use a command via an env var?
What I mean is,if you wanna use the command "foo" is it technically possible to use that as a env var somehow?
So I wanna do this,cause you can enable env vars globally.
I also use many commands that aren't env vars for every program,so it would be cool to use it as an env var to enable it globally.
I hate opening the terminal and type for example "foo gimp",I just wanna use those commands globally.
So I wanna know if that makes sense and is possible at all?
I didn't post it at r/linux4noobs cause this isn't a noob question I think.
https://redd.it/lnxc4c
@r_linux
What I mean is,if you wanna use the command "foo" is it technically possible to use that as a env var somehow?
So I wanna do this,cause you can enable env vars globally.
I also use many commands that aren't env vars for every program,so it would be cool to use it as an env var to enable it globally.
I hate opening the terminal and type for example "foo gimp",I just wanna use those commands globally.
So I wanna know if that makes sense and is possible at all?
I didn't post it at r/linux4noobs cause this isn't a noob question I think.
https://redd.it/lnxc4c
@r_linux
reddit
Is it possible to use a command via an env var?
What I mean is,if you wanna use the command "foo" is it technically possible to use that as a env var somehow? So I wanna do this,cause you can...
Rocky Linux is a new distribution based on a 1:1-compatible Red Hat Enterprise Linux binary,
https://thenewstack.io/centos-creator-gregory-kurtzer-discusses-his-new-distro-rocky-linux/
https://redd.it/lnz6xb
@r_linux
https://thenewstack.io/centos-creator-gregory-kurtzer-discusses-his-new-distro-rocky-linux/
https://redd.it/lnz6xb
@r_linux
The New Stack
CentOS Creator Gregory Kurtzer Discusses His New Distro, Rocky Linux
A Q&A with Gregory Kurtzer, about the new Rocky Linux distribution.
Improving Tab Completion in Nautilus
https://www.jwestman.net/2021/02/17/files-tab-complete.html
https://redd.it/lnzgyn
@r_linux
https://www.jwestman.net/2021/02/17/files-tab-complete.html
https://redd.it/lnzgyn
@r_linux
www.jwestman.net
Improving Tab Completion in Nautilus
As a heavy keyboard user, I use the location entry in Nautilus quite often to get around my filesystem. But something about it frustrated me, so I fixed it.
Kodi 19.0 "Matrix" released
https://kodi.tv/article/kodi-190-matrix-release
https://redd.it/lo3vtq
@r_linux
https://kodi.tv/article/kodi-190-matrix-release
https://redd.it/lo3vtq
@r_linux
Will NVIDIA's cryptocurrency limiter interfere with nouveau drivers?
https://www.pcgamer.com/nvidia-ethereum-mining-limiter-cannot-be-hacked
>End users cannot remove the hash limiter from the driver. There is a secure handshake between the driver, the RTX 3060 silicon, and the BIOS (firmware) that prevents removal of the hash rate limiter.
Will nouveau work with RTX 3060?
https://redd.it/lo5pwg
@r_linux
https://www.pcgamer.com/nvidia-ethereum-mining-limiter-cannot-be-hacked
>End users cannot remove the hash limiter from the driver. There is a secure handshake between the driver, the RTX 3060 silicon, and the BIOS (firmware) that prevents removal of the hash rate limiter.
Will nouveau work with RTX 3060?
https://redd.it/lo5pwg
@r_linux
PC Gamer
Nvidia says its cryptocurrency mining limiter 'cannot be hacked'
Nvidia says its Ethereum mining limiter requires a secure handshake between drivers, GPU, and BIOS.
A simple shell function for manipulating ini/conf style files
The following shell function will add or replace sections, keys, and values in an ini/conf style config file (please note that it modifies files in place, but could be adapted to use stdin/stdout or other variations):
confedit () {
SECTION=$1
KEY=$2
VALUE=$3
FILENAME=$4
# normalize line spacing
CONF=$(sed '/^$/d' "$FILENAME" | sed '2,$ s/^\[/\n\[/g')"\n\n"
if printf "$CONF" | grep -qF "[$SECTION]" ; then
if printf "$CONF" | sed -n "/^\[$SECTION\]$/,/^$/p" | grep -q "^$KEY" ; then
CONF=$(printf "$CONF" | sed -E "/^\[$SECTION\]$/,/^$/ s/^$KEY\s*=.+/$KEY = $VALUE/")"\n\n"
else
CONF=$(printf "$CONF" | sed "/^\[$SECTION\]$/,/^$/ s/^$/$KEY = $VALUE\n/")"\n\n"
fi
else
CONF="$CONF[$SECTION]\n$KEY = $VALUE\n\n"
fi
printf "$CONF" > $FILENAME
}
Usage: let's say there is a config file named config.ini that looks like:
[owner]
name = John Doe
organization = Acme Widgets Inc.
[database]
server = 192.168.200.50
Then the following would set the owner name to "Jane Doe":
confedit owner name "Jane Doe" config.ini
And the following would add a port to the database section:
confedit database port 1433 config.ini
And the following would add a new section "location" with a "city":
confedit location city "Addis Ababa" config.ini
Of course, this is a very simple example that might not cover a variety of use cases, but it certainly can be adapted to your liking.
I am very interested in ways to optimize the above, if you have suggestions.
https://redd.it/lo6amt
@r_linux
The following shell function will add or replace sections, keys, and values in an ini/conf style config file (please note that it modifies files in place, but could be adapted to use stdin/stdout or other variations):
confedit () {
SECTION=$1
KEY=$2
VALUE=$3
FILENAME=$4
# normalize line spacing
CONF=$(sed '/^$/d' "$FILENAME" | sed '2,$ s/^\[/\n\[/g')"\n\n"
if printf "$CONF" | grep -qF "[$SECTION]" ; then
if printf "$CONF" | sed -n "/^\[$SECTION\]$/,/^$/p" | grep -q "^$KEY" ; then
CONF=$(printf "$CONF" | sed -E "/^\[$SECTION\]$/,/^$/ s/^$KEY\s*=.+/$KEY = $VALUE/")"\n\n"
else
CONF=$(printf "$CONF" | sed "/^\[$SECTION\]$/,/^$/ s/^$/$KEY = $VALUE\n/")"\n\n"
fi
else
CONF="$CONF[$SECTION]\n$KEY = $VALUE\n\n"
fi
printf "$CONF" > $FILENAME
}
Usage: let's say there is a config file named config.ini that looks like:
[owner]
name = John Doe
organization = Acme Widgets Inc.
[database]
server = 192.168.200.50
Then the following would set the owner name to "Jane Doe":
confedit owner name "Jane Doe" config.ini
And the following would add a port to the database section:
confedit database port 1433 config.ini
And the following would add a new section "location" with a "city":
confedit location city "Addis Ababa" config.ini
Of course, this is a very simple example that might not cover a variety of use cases, but it certainly can be adapted to your liking.
I am very interested in ways to optimize the above, if you have suggestions.
https://redd.it/lo6amt
@r_linux
reddit
A simple shell function for manipulating ini/conf style files
The following shell function will add or replace sections, keys, and values in an ini/conf style config file (please note that it modifies files...