Linux - Reddit – Telegram
Linux - Reddit
759 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Run windows apps on linux

We have SO MANY time trying to run Win32 apps on GNU/Linux, and there are so many projects like Crossover, Wine, or React (i know, it is not linux but anyway), etc.. but; Is not easiest try to run MacOS apps? GNU/Linux is an UNIX-Like operating system, and MacOS is an Unix system with "pedigree", should work eassier run MacOS apps on GNU/Linux, or at least on BSD than run Win32 apps...

https://redd.it/knqz19
@r_linux
Joint display issue with Epic and Lutris!

I have recently come across this issue where Borderlands 2 (and other games) launched from the Epic Games Launcher (launched through Lutris) repeatedly launches on my laptop display. FYI, I have a 17" Eurocom connected to an external 35" display. Whenever I launch a game from Epic, it switches off the external display (irrespective of whether it is set as the primary/secondary display), and launches the game on the laptop display, and on top of that with a weird resolution! Even turning off the laptop display, and setting the whole thing on a single display (external) does not help, as the external display is switched off, and the game(s) launch on the laptop display.


On the other hand, Steam, and even Battle.Net works just fine, with no glitches whatsoever. What's got me confounded is that Epic used to work just fine in the past. Any hints or suggestions is highly appreciated!

​

Cheers, Tux-folks!

https://redd.it/ko73t8
@r_linux
Multiple Keyboard Shortcuts in Manjaro

I have been using Pop_OS! the past few months and I have used this really nice feature where multiple keyboard shortcuts can point to the same thing. Is there any solution to implement the same in Linux Manjaro?

https://redd.it/knl7od
@r_linux
Why I Would Never Choose Linux Over Windows for Desktop Use

TLDR: For the average person, use Windows for desktop (with WSL if you love Linux) to save yourself some headaches.

Yes I know this is r/linux and I'm talking shit about Linux but I figured I would get more perspective here than anywhere else. Feel free to prove me wrong, I'm somewhat new to the Linux world as well.

Linux server is fantastic. I have a home server running on Ubuntu LTS 20.04 on an old laptop 24/7 for the past two months and it's perfect. Shitty dual core? No problem. It still runs smooth as butter. Can't say the same for Windows 10. I also vastly prefer bash and zsh to whatever Windows comes up with. Moreover APT is a godsend.

My GCP instances also run on Debian 10 without any issues.

Linux desktop is another story. Here's a list of what I deem to be necessary for a desktop operating system.

###### Absolutely necessary

- Minimal bugs, even with relatively obscure third-party software - Windows wins as most pieces of software are developed for it)
- No driver issues - Windows wins as most pieces of hardware are made for it
- Smooth desktop environment that feels "premium". (i.e. no visual glitches and clipping out of the box) - Windows wins
- Intuitive UI and settings placement - Both are equally shit

###### Nice to haves

- Free (as in freedom) and open source - Linux wins
- Very low CPU and RAM idle usage. (I have a good PC with 32 gb of RAM so this doesn't matter that much) - Linux wins
- No restart necessary for updates - Linux wins
- Customizability - Linux wins
- Free (as in money) - Tie, you can get legit Windows license for $10
- Gaming - Windows wins

Needless to say, while Linux fulfills more "nice to haves", Windows wins or ties in every single point of "absolutely necessary". Here are a few anecdotes to back my point.

- jblas works perfectly in intellij on Windows. On Linux there was firstly a libgfortran dependency issue which was resolved quickly, so nevermind. But then there was a temp file permissions issue present on Fedora but not Debian that had no easy fix. Point is I shouldn't have to find fixes to problems that shouldn't exist in the first place. I just want to get my assignment done.
- Firefox has a text scaling issue that happens exclusively on Linux. I have a 1440p monitor so I increase the scaling factor in about:config but the font size is still tiny (UI elements are fine).
- The button to change between clicking once to open a file and clicking twice is confusingly placed under mouse settings. I would have thought that something exclusive to file management should be under Dolphin or Nautilus. This one is entirely personal opinion because I don't know what is intuitive for anybody else.
- Trackpad does not work due to lack of drivers on my Legion 5 laptop. There is no fix as of now.
- Remember when I said good things about my server? Well, it functions well as a server but the audio driver is completely screwed and does not work despite hours of debugging. This is when I already had over a hundred hours of experience in Linux so it isn't some newbie mistake. Then again this is minor as I'm using that machine as a server.
- KDE just feels unpolished compared to Windows when you compare the fine details. For instance, when you turn off animations and drag the window to the edge of the screen, there is a very choppy animation of the region getting outlined. Turning off animations in Windows has no such issues.
- Multi-monitor sometimes gets weird. In Windows when you drag a window to the edge of one screen, your cursor gets stopped if there isn't enough speed on it. In KDE you have to precisely maneuver it to a thin region of a few pixels on the edge of one screen and hold it there without going to the next.

I've sunk many hours into setting up various Linux distros for fun and it's one of the most educational and rewarding experiences I've ever had, but I can't use Linux as a daily driver.

I use WSL on a daily basis because I'm more used to linux commands. I find this to be a nice compromise.

I love open
source software and I try my best to use them, and even contribute to some projects myself, but I use an operating system to first and foremost get shit done, not to protest against big bad corporations.

https://redd.it/knwjlk
@r_linux
A wild idea: Single kernel image on Raspberry Pi cluster

My idea is simple : run 8x Raspberry Pi, but the 1st Raspberry Pi will "see" the other Raspberrys as CPU NUMA nodes, like a multi processor Xeon. Is this possible? Physical connection is Gigabit Ethernet.

What kind of Linux patches are needed? Is this even possible?

https://redd.it/ko9q4r
@r_linux
Help choosing the right distro

Hello everyone!

Sorry in advance if I am not using the right terms or other stuff(I am very new using linux).

My father owns a turbocrap 2 in 1 laptop/tablet (a Lenovo MIIX 320-10ICR) with Windows 10, 27 Gb of ROM, 2 Gb of RAM and an intel Atom, which I warned many times not to buy.

Useless to say he bought it anyway and after a pair of years of questionable work it became kinda useless by any means.

It's some time now I am searching without results for a Linux distro both working with this specific model without compromising its tablet/laptop feature and being very stable (he's using it for his job mainly for power point presentations, pdf reading and to register his customers through an online website).

I would appreciate if anyone here could come up with a solution or even just a suggestion about what should I do.
Thanks a lot in advance; if you need images or other specs ask me and I will gladly answer.

https://redd.it/koa7ya
@r_linux
Default Root

Hi all, I hope you are well, I’m new to this community so if this post is not allowed please delete,

I wanted to get back into Linux, and my go to distro was Backtrack/Kali, I recently re-downloaded it and saw that it is Non-Root, which kind of annoyed me because being root by default allows you too take short cuts even though you are putting the system at risk, i was wondering if there are any Linux distros out there with root at default instead of creating a standard user, I’ve seen little work arounds to gain root but it’s not the same as before. I really liked the default root that Kali. I’ve also seen people with the same problem coming from the Oldskool gen of Kali.

Many thanks for your help in advance.

https://redd.it/kofal3
@r_linux
Media is too big
VIEW IN TELEGRAM
One bash command to search file in system with fzf/dmenu/rofi and get share link on fly using CURL.

https://redd.it/koi3v8
@r_linux
This media is not supported in your browser
VIEW IN TELEGRAM
One bash command to search file in system with fzf/dmenu/rofi and get share link on fly using CURL.

https://redd.it/koidtt
@r_linux
My first time answering a question!

As a beginner in GNU/Linux command line and Python, it felt nice to post my first ever answer on a community like stack overflow compared to being the one asking a question.
I even got my first upvote!
Am I a CoNtRiBuToR now?

https://stackoverflow.com/a/65532196/14923390

https://redd.it/koi2v2
@r_linux
Linux on a Nexus 5X (bullhead) phone

Hello,

​

Does anyone know know of any Linux distro that works on a Nexus 5X?

​

I've searched quite a lot but I wasn't able to find one, except for Plasma Mobile which I did manage to successfully install (after making quite a few fixes in the installation noscript) but I found out that support for the bullhead was discontinued and the repos for it were not available anymore.

​

I don't have any kind of use for this phone anymore but I would very much like to bring some life into it and make it interesting and fun again (so that rules out Android).

https://redd.it/kojlzx
@r_linux
Gdu - fast disk usage analyzer

Hello,
I would like to introduce you a new project, which I have started last year.

It's called Gdu - Disk Usage Analyzer written in Go - https://github.com/dundee/gdu

Why to start a new project when there is ncdu, du...etc? Well I really like the user interface of ncdu, but I thought that maybe it could be a bit faster and more portable. So I tried to implement some basic funcionality of ncdu in Go, which I thought could be very good match for this type of project. And it looks like it works well - see the benchmarks!

Anyway, since I am quite new to running open-source project and developing in Go, I will be very glad for any feedback. Thanks!

https://redd.it/kokhoc
@r_linux
Running Linux faster , misc. issues, and game dev stuff

I dual boot Fedora on my computer (Dell G7 15). I quite like Fedora but there are some issues I'm running into that I'd like help with.

1) I can't install the newest version of Fedora, I keep getting a message saying Linux can't be updated. Might this be because of low disk space where Linux is installed?

2) Fedora is installed on my HDD and so it's quite slow to start up. Usually after that it's fine, but if I'm running a few things at a time it can get a bit laggy.

My SSD is 256GB and Windows and a couple of programs are on there.

I want Fedora to run faster. Should I save up for a new hard drive and a higher spec computer, delete some of my files and move Fedora to Windows, or just keep it on the HDD? There's a way to have programs install on the HDD and have Fedora's main files on the SDD, correct?

3) I'm willing to put effort into getting programs to work, but sometimes I spend an hour or two looking up how to get stuff like Lutris and Unity to actually work, trying different things, and nothing works. Should I be looking on different places when I research? Could someone help me with a couple of things that might be more "basic"?

tl:dr; I'd like help with more basic/intermediate Linux stuff, in addition to tips on gettig Fedora to run faster, and I'm looking for help or where to go to for help.

https://redd.it/komsxh
@r_linux
Read HDD temperature without interrupting spindown timeout

I want to record my harddisk temperature as long as it is in operation, but I don't want the spindown timeout to be interrupted (the harddisk should automatically go into 'standby' after 30 minutes) I have already tried it with smartctl but it interrupts the timeout and hddtemp supposedly does not recognize any temperature sensors does anyone know any other programs with which I can read the temperature?

https://redd.it/kolnhr
@r_linux
Linux Time

Downloading my first Linux operating system (Ubuntu) on a Japanese computer. I know my keyboard is already not going to match up... A learning adventure begins. Any favorite tools I should add to this new computer? I would like to learn coding with this machine if I can figure out how to use it.

https://redd.it/kopikf
@r_linux
Linux Newbie

Hi All, I’m an old bloke who has been messing around with computers for years. I have an old laptop that has a stuffed battery but is still in reasonable condition which I have installed Ubuntu on. Is this the right forum to seek answers and assistance with learning the OS and to get help with anything that doesn’t work the way I expect it to? So far from what I’ve seen it awesome, I don’t know why the world doesn’t run Ubuntu.

https://redd.it/kokmjo
@r_linux
Docker container apache doesnt want to execute CGI perl noscript

I have a docker container set up with a working apache server and a noscript in /usr/local/apache2/cgi-bin. When i go to `ip_adress:8080/cgi-bin/shipping.pl` i get the source code of the perl noscript. I have made it in httpd.conf so that noscripts should be executed. Any help is greatly appreciated

httpd.conf

<Directory "/usr/local/apache2/cgi-bin">
AllowOverride None
Options +ExecCGI
AddHandler cgi-noscript .cgi .pl
Require all granted
</Directory>

perl noscript

#!/usr/bin/perl

# load module
use DBI;

# connect
my $dbh = DBI->connect("DBI:Pg:dbname=shipping;host=192.168.56.3", "postgres", "Snuffie101", {'RaiseError' => 1});

# execute SELECT query
my $sth = $dbh->prepare("SELECT * FROM surnames");
$sth->execute();

# iterate through resultset
# print values
while(my $ref = $sth->fetchrow_hashref()) {
print "Content-Type: text/html\n\n";
print "<h1>Welkom $ref->{'surname'}<h1>";
}

# clean up
$dbh->disconnect();

Dockerfile

FROM httpd:2.4
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get install --yes apache2
RUN apt-get install --yes perl
RUN perl -MCPAN -e "install DBI"
RUN perl -MCPAN -e "install DBD::Pg"
RUN a2enmod cgid
COPY shipping.pl /usr/local/apache2/cgi-bin/
RUN chmod 755 /usr/local/apache2/cgi-bin/shipping.pl
COPY httpd.conf /usr/local/apache2/conf/httpd.conf

https://redd.it/koh9tc
@r_linux
Different CPU Times: Linux operating systems ‘top’

CPU consumption in Linux operating systems is studied using eight different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. Let’s review each of the CPU time in this article. https://dzone.com/articles/different-cpu-times-unixlinux-top

https://redd.it/korqye
@r_linux
Steam Hardware Survey for December 2020

First off i would like to say happy new year that I hope you guys are as crazy as I am about the long awaited sequel to 2020, 2020-II:Electric Boogaloo.

If you happen to be greek i hope you won this year's Vasilopita :)

Now let's get on with the survey:

Link: [https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam](https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam)

Interesting things happened in the OS and Language space, It seems like the chinese Steam client launched because people who use the language of Simplified Chinese are up, and now it seems people in china have taken the top spot.


|Simplified Chinese|47.18%|\+30.22%|
|:-|:-|:-|
|English|25.63%|\-16.23%|

With that we got a crazy user increase on Windows... **7 ?!**

|Windows 10 64 bit|69.40%|\-19.88%|
|:-|:-|:-|
|Windows 7 64 bit|26.74%|\+22.35%|

Of course that means that linux percentage got down considerably.

|Linux|0.57%|\-0.33%|
|:-|:-|:-|
|Ubuntu 20.04.1 LTS 64 bit|0.14%|\-0.07%|
|"Arch Linux" 64 bit|0.06%|\-0.04%|
|"Manjaro Linux" 64 bit|0.06%|\-0.04%|

Does that mean that over all less people are playing on linux? Probably not, however it is interesting to see the affect china has had on the store. Maybe there isn't a Chinese client available for Deepin Linux or linux users of china in general.

Steam does not seem to provide the raw numbers and instead provides just percentages.

**More in depth linux stuff**

Link: [https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam?platform=linux](https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam?platform=linux)

* There are more Arch users using Steam than Manjaro users using Steam
* Most popular distro for steam users is \*drum roll\* "other" with 53.23% using it.
* AMD is slowly overtaking Intel though honestly that is global.
* 1920x1080p is still on top and will stay on top ~~even though 1920x1200p and 16:10 is frankly better.~~
* Radeon RX480 is on top but going down. I cant see what is on the second entry because it seems to be broken.
* Networking speed and Microphones seem to be broken(Globally). And Valve should fix that.
* Users of Simplified Chinese are at 0.82%. So either chinese users do not use linux, OR there is no readily available chinese client.

https://redd.it/kotsn5
@r_linux