Linux - Reddit – Telegram
Linux - Reddit
777 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
0) connected: false
Info: Detected display: HDMI-1 (id: 1) connected: true
Info: Detected display: eDP-1 (id: 2) connected: true
Info: Detected display: DP-1 (id: 3) connected: false
Info: Detected display: DVI-D-1 (id: 4) connected: false

If the previous commands were successful, two of these displays will have connected: true

One of these will be your actual physical monitor, and the other one is going to be the fake virtual display that we created. Note down the id of the physical display. In this example, it is HDMI-1 and the id is 1. Note down this id.

Now, go to https://localhost:47990/config# on your favorite browser, and select the "Audio/Video" tab. Scroll down, and under "display number", type the id number you noted down.

Go to the terminal window that was running sunshine, press Control+C to stop the execution of the command, and therefore, stop sunshine. Now, type sunshine into the terminal again, press enter and restart sunshine. Now, if you go to Moonlight on the iPad and click on the icon for your computer on Moonlight, you will now see the virtual monitor, and you can also move your windows to this monitor.

That's it. Enjoy your iPad's new life as a second wireless monitor for your computer.

# How to set it up so that you don't have to use the terminal every time you want to do this

Open a terminal and start sunshine, go to https://localhost:47990/apps

Scroll down, and click "Add new"

Type "u/Hueyris is awesome" under "Application Name".

Scroll Down and press "Add commands"

Under "do command", paste in xrandr --addmode HDMI-1 1400x1050

Obviously, you should replace HDMI-1 with whichever virtual interface that worked for you.

Go to the right hand side and click the "+" icon for an additional line of commands

Under "do command", paste in the following

xrandr --output HDMI-1 --mode 1400x1050 --right-of eDP-1

Obviously, replace HDMI-1 and eDP-1 with whichever two interfaces that worked for you previously.

Scroll all the way down and click "save".

And that's it. Now, any time you open up moonlight, pick "u/Hueyris is awesome", and you'll automatically be launched into a secondary display on your iPad, provided you ran 'sunshine' in a terminal and left the window open on your computer.

Now, there is a slight problem though, because this virtual display that you created will be active even when you are not using your iPad as a second screen, and that can lead to degraded performance. To prevent this, you can delete the virtual display while it is not in use.

You can use the terminal for this, but I prefer to do it graphically using arandr.

It is probably already installed on your computer, but if it isn't, type yay -S arandr

Open arandr, and you will see all the displays on your Linux in a window. Right click on HDMI-1 (of whichever virtual display you created), untick "active", and then apply changes by clicking the tick box on the top left. This should restore the performance.

There are more optimizations that you can do, such as setting up sunshine to run at boot automatically and tweaking for more performance, etc. But this tutorial is long enough as it is.

# #Alternative Options

Firstly, there is deskreen. This requires additional hardware to be purchased. No go for me. I am not spending any money on this iPad. The developer is also a Ukrainian nationalist, and puts annoying pop ups on the website and in the app asking you to donate to the Ukrainian government.

Then, there is VirtScreen, and this works, but what you get on your second monitor will be a powerpoint presentation because this uses VNC This is however, arguably easy to set up.

To get any amount of reasonable performance out of your iPad as a second monitor, you are going to have to use something other than
RDP or VNC, and this is where I found Sunshine and Moonlight to be the most optimal for this purpose.

(There is however, parsec and a bunch of others that can match the performance of sunshine+moonlight, but these are proprietary and I won't link to them)

Let me know if you have any questions, or further optimizations or if there are better, shorter ways of achieving the same thing.

https://redd.it/1kaxdyr
@r_linux
The leap that Linux has made in recent years is impressive.

I have a Dell Inspiron 16 plus. A lousy laptop, first it has a trackpad that doesn't work due to a factory problem that causes the finger not to be recognized, or the cursor to jump all over the screen, which had to be repaired by soldering some wires to the back of the trackpad and the laptop chassis. Not to mention the screen, whose hinge is attached to the screen panel with just 2 dots of epoxy, which obviously broke as soon as the warranty ran out.

Then with windows this laptop, when it was running Windows 10, although inconsistent, worked relatively well. However, when I installed 11, the problems got worse. The fans were always spinning, and making a lot of noise, even when I wasn't doing anything and the CPU was at 45 degrees, and there was no way to change the curve of the fans. Then the laptop consumed a lot of energy, rarely less than 10W at idle and a simple video on YouTube would consume 25W, but sometimes, rarely, it would consume about 18W. What's more, when I played games on it, most of the time the CPU would go into power throttle and consume no more than 15W, which meant that the games didn't reach 60fps, or 30 in the heaviest games, aka Unreal Engine 5 (other times it consumed 30W, which already made the games playable. Now, with the release of fedora 42, I've installed it on my laptop. (I've had a x280 with Fedora for years, and I've even tried to install Linux on this laptop, but without success due to problems with the display).

I'm honestly impressed with the state Linux has reached. I had Linux on my PC before this one, at a time when Wayland was becoming mainstream, but it was still something they were experimenting with, and it didn't work well with Nvidia. Proton was new and had a future, but it was uncertain, and on laptops the batteries drained at breakneck speed, unless you installed TLP and powertop and I don't know how many other things, and even then it was better on Windows. Today Wayland no longer gives problems, even the suspension with Nvidia is now perfect. But my PC now consumes 3-6W in idle. The only time the fan makes noise is when I'm playing a game, when I'm watching a YouTube video it consumes 10-15W, and after a day in sleep it only consumes 10% of my battery (which is already 40% depleted) on Windows I couldn't have the PC in sleep for a day. The power throttle disappeared and for the first time I was able to run Cyberpunk at 60fps on this PC, and the icing on the cake is that the fingerprint sensor works, I've never been able to get a fingerprint sensor to work on Linux. In short, this Windows PC was a constant frustration, but these two weeks with Linux on it have been a fantastic experience, not only in terms of software but also, magically, in terms of hardware.





https://redd.it/1kb06vp
@r_linux
So, do I need to reinstall an OS that was originally installed by Ventoy? Or just don't use Ventoy anymore?

I'm not super familiar with code or how to read it. I have no idea how serious this xz-utils thing is. I installed my desktop OS from a Ventoy USB, and I'm just wondering if I should do a fresh install of the OS, or just format my USB and move on with life? I'm pretty happy with my current distro so I don't plan on hopping anytime soon.

https://redd.it/1kb6ej7
@r_linux
This guy has been installing Arch for almost 300 days
https://redd.it/1kb9b5f
@r_linux
I was cleaning out my closet tonight...
https://redd.it/1kbajjn
@r_linux
Viability of Linux with AutoDesk AutoCAD?

Hi all,

Looking to install a Linux distro and try using it as a daily driver, but the biggest holdup for me right now is my work uses AutoDesk's AutoCAD, can't go without it.

What does the viability of using Linux look like with that constraint? I found posts from a year or more ago talking about how it doesn't work and was wondering if any improvements had been made since then?

https://redd.it/1kb92fj
@r_linux
Speed up the start of your browser ?

On PewDiePie's video about Linux, from 16:00 to 16:20, he mentions that his browser takes a few seconds to open up and he says "I figured out a way to do it and it's so dumb, i won't explain how I did it". Out of curiosity, does anyone knows how he managed to fix those few seconds of delay?

https://redd.it/1kbbxj8
@r_linux
Struggling with Fedora Installation on Laptop.
https://redd.it/1kbcyhp
@r_linux
So I noticed many dont know about the systemd-analyze command

I am pretty sure that many have watched PewDiePie's video, and seen the systemd-analyze command for the first time. So did I. So I started looking into it last night and I discovered a comment from a Fedora user on the Ubuntu Forum which was incredibly useful regarding this command. Following his recommendations I was able to reduce my boot-up time from 47 seconds to 35 seconds on Linux Mint. Firmware, bootloader and kernel boot times are still the same, but the user space boot time was reduces from 15 seconds to 5 seconds. Be aware though that you need to be absolutely sure about what you disable, because some stuff is unsurprisingly system- or security-critical.

https://askubuntu.com/questions/888010/slow-booting-systemd-udev-settle-service

First comment after the post, from 2021.

https://redd.it/1kber3v
@r_linux
Tmux saved me

Just wanted to spread the word of appreciation for tmux. I'm doing a big backup of our company's MinIO data. And we've currently undergoing a DDoS attack, so the connection isn't exactly great, ssh connection drops etc.
But I've started the backup session inside of a tmux, so when I eventually drop out I can just get back in with the help of `tmux attach`.
So, thank you all people pertaining to this piece of technology! I know there are other terminal multiplexers, namely screen, so this thanks goes to all of them! I'd recommend anybody who works over terminal to take a look into it, it's pretty easy to learn.

https://redd.it/1kbg3mc
@r_linux
Libreboot 25.04 "Corny Calamity" released! (free and open source BIOS/UEFI firmware replacement based on coreboot)
https://libreboot.org/news/libreboot2504.html

https://redd.it/1kbnfd7
@r_linux
I don't know why, but Ubuntu is looking crisp!

I updated/upgraded the packages today and notice a Wayland update. I don't know why, but man, the system is looking CRISP. Floorp/Firefox fonts just got so much better.

Anybody notice something like this? I am missing something or is just a thing of my "mind"? Also, is running more smooth than ever. (I deleted old kernels as well, maybe this improved the performance)

https://redd.it/1kbrw7m
@r_linux
Would you say that the Steam Deck is the biggest/most effective advertisement to encourage using Linux?
https://redd.it/1kbvdh6
@r_linux
Linux US market share at nearly 5%~
https://redd.it/1kc074t
@r_linux
Should I join the ride and switch to Linux?

Sorry, I'm one of those guys that came here from the PewDiePie video, what he put up is too good to be true, it looks magnificent, smooth, and full customization which I can't help but envy for, the managing of tabs and workspaces, it looks sick, it's great!

But I don't know if I should switch, and if the things I do will be affected, first off is I'm using an office laptop that can run quite well, it can play Dark Souls III no problem and high graphics Dota 2. I often do stream, but I usually just stream visual novels or Souls like and Dota 2, and maybe even drawing streams, can I still do that in Linux?

I'm thinking Linux mint, which is referred as beginner friendly, which is also what Mutahar recommended from SomeOrdinaryGamers. I also do office work, but just a basic Microsoft Word and Microsoft PowerPoint alternative would be sufficient for my office work, and of course the websites, I'm assuming I could also still open Microsoft teams through website right?

I've been using Windows 10 the whole time, and refuse Windows 11 because I tried it and hated it, and apparently my Windows 10 dies or stops getting maintenance on Oct this year, or something... I failed computer science class but for gaming and a sick software I'll gladly relearn it.

But if it's a no, I'll gladly be rejected if it would heavily affect what I do negatively, but if it's as good as what it's hyped up to be, with obviously some drawbacks, then I hope I'm welcomed.

And I also play Arknights on Bluestacks, and I refuse to play it on mobile.

can I play Elden Ring?

Edit: for drawing stuff I only use FireAlpaca and I don't have any license for a lot of things and just pirated some.... is utorrent available on linux?

To be fair my main goal is a slick smooth workspace that I don't have to wait minutes to open, but, if possible, I would still like to play my games, and possibly elden ring which it's very slow on my windows and crashes literally unplayable, but if that's impossible then it's fine.

I'm willing to spend days tinkering just to see my workspace looking smooth and slick asf, while still being playable. I also forgot to mention I play so much Terraria Modded as well so I'd be nice if there's also a performance enhancement, but I'm asking too much.

I haven't really seen Linux since back in like 2010 on computer classes that I didn't listen, didn't expect pewds to cover it and enlighten me with all these cool things.

I already saved all my important files on a separate hard drive and have an extra USB

https://redd.it/1kc283e
@r_linux