Linux - Reddit – Telegram
Linux - Reddit
760 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
Screen Rotation Solution

I was struggling with not being able to have my screen rotate since I switched from Windows to Linux on my lenovo yoga. Ive written a program that allows auto screen rotation by pressing F5 to rotate one way and F5 to rotate back.

If anyone wants the code and installation instructions check out the link below

[https://drive.google.com/open?id=1mNLlu5ic-B4-On9kNo\_a6akZbWKZQNRk](https://drive.google.com/open?id=1mNLlu5ic-B4-On9kNo_a6akZbWKZQNRk)

https://redd.it/f3dkat
@r_linux
Ditched windows 1 month ago. Have not looked back once!
https://redd.it/f3ftfe
@r_linux
Slackware 1.1.2 (1994) on my 386sx40
https://redd.it/f3gjfz
@r_linux
LTS, Newest or Rolling Release

I'm curious with distro's do you like long term support as in pop!\_os the newest like ubuntu 19.10 or rolling release like with manjaro

https://redd.it/f3icet
@r_linux
[Part-Time] KDE e.V. is looking for an event organizer to help with Akademy 2020
https://ev.kde.org/resources/eventorganiser-callforproposals.pdf

https://redd.it/f3gmuo
@r_linux
Where to test your linux knowledge?

Hello here!

I am trying to widen my knowledge about Linux : managing the system (network, storage , process , etc..) , how to solve systems problems, Deepen my understanding of the system and use new command or paradigm for example

​

Do you have any good website or other sources , that , you think my be helpful?

Ideally , I am looking for a "katakoda" like website , where you have a given question , and have access to a test server , to try and solve the problem.

If it doesn't exist do you have have a website/github where problems or questions are asked ? (I can use my own computer , VM , Free tier EC2, or Raspberry).

​

I am starting a new job next month , I learned a lot about DevOps related subject from past experience , but now I want to have a better/deeper understanding of Linux.

Thanks in advance for you help , and have a great Day/Night !

https://redd.it/f3fls4
@r_linux
To all Linux users who would like to see more Linux users: let's give some love to Tunic

Tunic is a Windows app that allows to install Linux from a running Windows system.

And I think that's huge! As a typical family admin, I encountered so many smart people who nonetheless have never booted a computer to anything than a preinstalled operating system. Most times, they wouldn't even know how to boot from an external device.

That's why I think that this app might remove a huge barrier for people trying to leave the Windows ecosystem. Also, it obsoletes the need to have a USB drive, to download an ISO, to verify the checksum, to find out which flashing method is suitable, to install that flashing app and flash the ISO to the USB drive.

So guys, what do you think?

https://redd.it/f3kyzh
@r_linux
What your desktop environment does that is awesome or that no other desktop environment does?

Thatś the question. What your desktop environment does that is awesome or that no other desktop environment does?

In case you're wondering, yes, Iḿ starting to feel that distro-hoping, even though I'd say I'm quite happy with my Manjaro KDE.

https://redd.it/f3m6x0
@r_linux
OpenSSH 8.2 has just been released. This includes FIDO/U2F support among a number of other new features and bugfixes.
https://www.openssh.com/releasenotes.html#8.2

https://redd.it/f3nw86
@r_linux
Can't connect to the network via USB hub with ethernet until xhci_pci mod is reloaded. Keeps happening every ~1 hour

Hey folks,

I have powered USB hub with ethernet port. This thing is plugged into my screen and then the screen is plugged into my laptop via usb-c cable (tunderbolt + PD). However after like an hour the ethernet is somehow disconnected and cannot connect again until I reload xhci\_pci kernel module like:

```
sudo rmmod xhci\_pci ; sudo modprobe xhci\_pci; sudo service network-manager restart;
```

When I keep my laptop on over night it works in the morning which is weird because it should be disconnected. But after ~1h of use I get disconnected. Like someone is counting my packets :)

When disconnected network manager tries to connect but even after several attemts no success until I reload the kernel module.

Syslog:

```Feb 14 10:49:13 box NetworkManager[107379]: <info> [1581673753.1521] dhcp4 (wlp58s0): state changed bound -> bound
Feb 14 10:49:13 box dbus-daemon[592]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.670' (uid=0 pid=107379 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 14 10:49:13 box systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb 14 10:49:13 box dbus-daemon[592]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb 14 10:49:13 box systemd[1]: Started Network Manager Script Dispatcher Service.
Feb 14 10:49:16 box NetworkManager[107379]: <warn> [1581673756.7653] dhcp4 (enx000ec6a47796): request timed out
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7654] dhcp4 (enx000ec6a47796): state changed unknown -> timeout
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7835] dhcp4 (enx000ec6a47796): canceled DHCP transaction
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7836] dhcp4 (enx000ec6a47796): state changed timeout -> done
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7839] device (enx000ec6a47796): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Feb 14 10:49:16 box NetworkManager[107379]: <warn> [1581673756.7855] device (enx000ec6a47796): Activation: failed for connection 'Ifupdown (enx000ec6a47796)'
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7859] device (enx000ec6a47796): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Feb 14 10:49:16 box avahi-daemon[587]: Withdrawing address record for fe80::3faa:8aca:837:2395 on enx000ec6a47796.
Feb 14 10:49:16 box avahi-daemon[587]: Leaving mDNS multicast group on interface enx000ec6a47796.IPv6 with address fe80::3faa:8aca:837:2395.
Feb 14 10:49:16 box avahi-daemon[587]: Interface enx000ec6a47796.IPv6 no longer relevant for mDNS.
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7906] policy: auto-activating connection 'Ifupdown (enx000ec6a47796)' (bab55de5-79f6-ae3c-e677-f281d37e28d7)
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7916] device (enx000ec6a47796): Activation: starting connection 'Ifupdown (enx000ec6a47796)' (bab55de5-79f6-ae3c-e677-f281d37e28d7)
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7917] device (enx000ec6a47796): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7924] device (enx000ec6a47796): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7930] device (enx000ec6a47796): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Feb 14 10:49:16 box NetworkManager[107379]: <info> [1581673756.7934] dhcp4 (enx000ec6a47796): activation: beginning transaction (timeout in 45 seconds)
Feb 14 10:49:16 box avahi-daemon[587]: Joining mDNS multicast group on interface enx000ec6a47796.IPv6 with address fe80::3faa:8aca:837:2395.
Feb 14 10:49:16 box avahi-daemon[587]: Ne
w relevant interface enx000ec6a47796.IPv6 for mDNS.
Feb 14 10:49:16 box avahi-daemon[587]: Registering new address record for fe80::3faa:8aca:837:2395 on enx000ec6a47796.*.
Feb 14 10:49:16 box slim[2204]: "No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/NetworkManager/ActiveConnection/24"
Feb 14 10:49:23 box systemd[1]: NetworkManager-dispatcher.service: Succeeded.

```

Any idea where can I start sniffing?

https://redd.it/f3q10k
@r_linux
Halo anniversary flight works on linux

I was accepted into the latest halo flight. the campaign goes from Truth and Reconciliation to 343 Guilty Spark but cuts off right before the last cut scene. The game seemed to be capped to 60 fps and there were some minor glitches such as the zoom button not working for the sniper and at times audio bugs. These glitches more than likely have nothing to do with linux/proton but instead are just due to the fact the game is still being developed. Otherwise the game ran just fine and I never experienced a single crash until I completed the last level.

So, if anyone was worried about running this game on linux you don't need to, the game runs great.

https://redd.it/f3nvk3
@r_linux
How many times did a rolling release distro actually messed up with your system?

So, I've been a linux user for over 10 years and have been using debian testing/unstable ever since. I'm definitely not the linux pro, just find it a great OS overall, that pretty much serve all my computing needs.

With that said, I don't think I've crossed any problem directly related to a botched update that wasn't of my own making. Last week I've decided to go for new flavours and switched to openSUSE tumbleweed. A little bit of googling gave me the impression that it's a *super unstable system and definitely not recommended for a lay home user.*

I felt dared. Specially because I'm a apt-holic and not even that made my sid go nuts in all those years.

While I can understand that sysadmins value over-the-top stability, it left me wondering how many of you actually experienced any issues with major rolling release distros in home user use cases.

https://redd.it/f3rlw9
@r_linux