Linux - Reddit – Telegram
Linux - Reddit
751 subscribers
4.17K 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
Just spent about 4 hours trying to figure out what was causing the system to reset to UNIX epoch

...turns out it was a CI build (system is a Gitlab runner) running in a docker container and the execution was C code that resets the localtime for our embedded devices.

Just a word of warning for anyone working with CI/CD, docker containers will reset your host system datetime quite easily it seems.

https://redd.it/lymr8p
@r_linux
Dumb question about having multiple ip addresses on one server

I have a server with multiple ip addresses assigned to it. I would like to have different applications listening to the same port on all of the addresses assigned to the server. I was wondering what general field this falls under so that I can research this topic more. Typically in this application I would specify the address/port to listen on as 0.0.0.0:<port> or 127.0.0.1:<port>. I am not sure how I would go about changing that between the different instances of the applications to make them function independently. Any info would be appreciated and again, sorry for the dumb question!

https://redd.it/lyrhtd
@r_linux
Linux doesn't install at all

I tried to install xubuntu, lubuntu, Linux mint and nothing works. It's always the same problem (unable to install grub in /dev/sda) I don't know what to do. Please help me
My notebook is Samsung rv 411This is the message

https://redd.it/lyt8ad
@r_linux
Started Linux via the recovering tool of windows now windows is broken

So I've put MX Linux on an USB drive.

I started my PC again and for some reason the recovery screen of windows came up. As smart as I am, I selected to use the USB drive through that menu.

It crashed.


Then I booted linux from the bios by selecting the USB drive.

Linux starts but I noticed during the install that I forgot to create a partition for it.

So I went back and tried to start up windows.. it can't boot.

But I can still get into the recovery menu of windows by selecting some windows boot drive in the bios.

In that menu I can't to anything. Whatever I click on, it either crashes or tells me that it didn't work and that nothing was changed.

Is there a way to save windows or do I need to install it again via some USB drive?

It's 6am and I'm trying to get this working for some hours.

https://redd.it/lyuj3a
@r_linux
failed to run a qtwayland compositor

I'm trying to run a qtwayland compositor but it fails and I get return to the login screen.

I checked the log file in \~/.local/share/sddm/wayland-session.log :

>QML debugging is enabled. Only use this in a safe environment. Failed to create wl_display (No such file or directory) qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found. qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

When I try to run it as a normal program it works fine, What is the problem?

https://redd.it/lyu7sd
@r_linux
Installing a game.

I'm trying to install a game for Linux that I've been trying to play for a while (https://teamterrible.itch.io/the-baby-in-yellow) and it says to paste in this command after some other steps. I did those but it always said "bash: GMTK2020: No such file or directory" It would be nice if anyone could help!

&#x200B;

Or just give me steps for the installation process.

https://redd.it/lyxxfj
@r_linux
Dual display linux problem (Debian)

This question is actually about kali Linux or any debian based linux
So I have a laptop Inspiron 7567, I am trying to make it dual display by connecting a monitor, but xrandr is not showing hdmi ports, i am not able to incorporate this new display with my computer because hdmi is not showing it, i have searched google and tried a lot of things, nothing works, please reddit community share some information

https://redd.it/lz01vj
@r_linux
Keysound: a keyboard sound software

Hello everyone, I am a beginner at cpp. As I learned cpp for a while, I wanted to practice the skills of cpp, so I wrote this software. The code is not well, but the soft works well.

Here is the code: https://github.com/fgheng/keysound

Here is some video:

You can define each key with a special sound:

https://reddit.com/link/lz0zln/video/w74fnauxmel61/player

You can use the `piano.json` to play the piano by keyboard, here is some music that I play, I am not good at piano, hahaha:

https://reddit.com/link/lz0zln/video/jzizachzmel61/player

https://reddit.com/link/lz0zln/video/auyz03n0nel61/player

https://reddit.com/link/lz0zln/video/ipqvbl31nel61/player

You can play the piano by rewriting the char:

https://reddit.com/link/lz0zln/video/4c613a44nel61/player

https://redd.it/lz0zln
@r_linux
labwc 0.1.0 released

Labwc is a wlroots-based stacking compositor for Wayland.

It has the following aims:

Be light-weight, small and fast
Have the look and feel of openbox albeit with a smaller feature set
Where practicable, use clients to show wall-paper, take screenshots, and so on
Stay in keeping with wlroots and sway in terms of approach and coding style

Github page

#

https://redd.it/lz14dk
@r_linux
The compose sequence for "Rx"

If you know its LaTeX, please include that, too.

Wikipedia's page for Rx has a single character showing on its first line, "℞", but there's no historical information on that glyph.

https://redd.it/lz4zre
@r_linux
Debian or Pop?

Moving on from arch. Been playing around with the live ISO of debian and pop. Just wondering if people have an opinion either way.

I hate derivative distros (like pop) that have so much set up out of the box because you never get a firm grasp of what's going on.....ie power management, is microcode installed?, what repositories are in use, etc. With something like debian you pretty much have to set that all up on your own so you know your system better. Yes you can go through all that on Pop but it's just checking to see if it's done or not.

On the other hand having something mostly set up out of the box is a time saver. Also, I feel like the creators of Pop really know what they're doing. Systemd boot is nice. The GPU switcher on pop is amazing so are their GNOME keyboard shortcuts.

I don't know what to do :\\

https://redd.it/lz7cdo
@r_linux
Help hplip get moved to git

hplip powers many printers and scanners on Linux, but there's no sane way to contribute to it.

For example, Debian has 60 patches applied to hplip:
https://sources.debian.org/patches/hplip/3.21.2+dfsg1-2/

That is insane!

So I propose something simple, giving some traction to this topic so HP moves the source code to Gitlab or Github, so it's easy to contribute to it and see those fixes on the original source code and each Linux distro.

Here:

https://bugs.launchpad.net/hplip/+bug/1918006/+affectsmetoo

https://redd.it/lzb8k0
@r_linux
Ableton on Linux

Ok, so Im an aspiring music producer doing EDM music. I always run Linux because its far far superior to Windows. But Ableton doesn't work like it should and it could actually deter a beginner from pursuing music which is ridiculously simple. You can't pull samples into the browser. This means you have nothing to use to set the BPM of the track. If you can't quantize your samples to all run in the same BPM its like a trainwreck. If you're serious about music get a real instrument. Buy a Mac. They are superior hardware and the OS is built on a BSD core so its just like Linux. But use software on the platform it was designed on. Ableton works exactly like it should but you can't give any feeling to your music unless you have a beat to use. You have to be able to play each chord on each 1/4 beat.

The only thing Ableton on Linux is good for is some limited jamming using the sample view because you can set the BPM to the same and play along with a song. I seriously only got to using it because Im pretty poor and only own one good PC. Its a Dell XPS running Ubuntu. But Im about to get a new Macbook next week so I'm dying to get it because Im so ready to make music and like I said EDM is one of the easiest but most beautiful art forms. Its all about the quality of your samples. And of course your imagination.

But imagine trying to mix two records together that aren't beat matched. Its not pretty. I don't care how bad ass your bass lines and chords are if they are beat matched and quantized (tied) to a beat sample they won't sound right. If you don't believe me just do this in Ableton. Put all of a G minor scale in the piano roll and fold them into one. You can play the most beautiful progression which to me is Gm A#m G#m C. Now just take the triads and move them up and down the scale. The entire thing changes when you play chords using notes from the scale. You can add 7th 9th 11th, suspend the 2nd and 4th. Point is that you can make an infinite number of patterns using notes from the scale of G minor. But it will sound boring as hell if you can only play 4 or 8 bars at a time and the chords don't sound on each beat.

https://redd.it/lzex21
@r_linux
Cant putty in

Pic 1: https://i.imgur.com/oJf8ZHs.jpg
Pic 2: https://i.imgur.com/XQN62bI.jpg

Made a Fedora droplet. Trying to PUTTY in. IP is entered correctly, droplet is on, and I enter "root" in the console and an error message displays.

What did I do wrong?

https://redd.it/lzg588
@r_linux