Linux - Reddit – Telegram
Linux - Reddit
761 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
"Drawing inspiration from open-source software — computer code available for anyone to use, distribute, and modify, as long as users allow others the same freedoms — open-source seed varieties are freely available and widely exchanged. " GNU software and seed alike, similar dynamics.
https://www.dw.com/en/agriculture-seeds-seed-laws-agribusinesses-climate-change-food-security-seed-sovereignty-bayer/a-57118595

https://redd.it/mnzvbc
@r_linux
Customise Zathura: at your fingertips, in Go!

Zathura pdf is awesome and I have written a small command line program (using Go and Cobra) that allows to easily change colour schemes by passing a simple json configuration, in one line: zathuraconf, check it out!

All feedback is appreciated, I am just starting out with Go and I thought this would be a nice use case to familiarise with the language.

Link to the repository

https://redd.it/mo1lmq
@r_linux
How to remove Calendar/Tasks buttons from Thunderbird

If, like me, you don't need the Calendar/Tasks functionality of Thunderbird and want to get rid of the buttons in the noscript bar and the status bar, copy this userChrome.css to a "chrome" subdir in your profile directory (~/.thunderbird on Linux) and set the toolkit.legacyUserProfileCustomizations.stylesheets option to true in the Configuration Editor.

https://redd.it/mo4tad
@r_linux
PSA: You can enable the revoked Google features on Chromium by using your personally enrolled API keys

For those who just loves Chromium for whatever reason (me being to use chromium-freeworld for the codecs and hardware-accelerated video playback) and (want/used) to use their revoked Google features, you can legitimately re-enable those features by rolling your own API key on Google Cloud Platform.

Google Sync on Chromium \(Freeworld\) 89

Instructions are shown here (chromium.org), but I'll show them here because some of the steps are pretty inaccurate and outdated

Instructions:

## Acquiring the API access

[Subscribe](https://groups.google.com/a/chromium.org/forum/?fromgroups#!forum/chromium-dev) to the [chromium-dev@chromium.org](mailto:chromium-dev@chromium.org) mailing list to gain access to the relevant APIs needed
Go to https://cloud.google.com/console and create a new project under a Google account with the email registered to the mailing list subnoscription
Open "APIs & Services" > "Library" in the sidebar and enable the following APIs

1. Admin SDK API
2. Chrome Sync API
3. Geolocation API
4. Cloud Search API
5. Time Zone API
6. Safe Browsing API

Go to the "Credentials" page under APIs & Services
Click "Create credentials" and then select "OAuth client ID" from the list
You may be required to do "Configure consent screen", do it and fill the details freely, after that, you will have to go create an OAuth client ID again
Select "Desktop app" as the Application type
Pick a name of your liking -- it can be anything
Create the client ID
You'll see a "client ID" and "client secret". Keep them in a text file (or write it down), then dismiss the dialog box
Click "Create credentials" and then select "API key" from the list
A dialog box will show the API key, save it too
Basically, you're done. You can now use it

## (Re)enabling the features

Basically you have 2 ways to reenable them, first, you can provide the keys at compile time so that it'll be one with the binary, or you can just provide them at runtime, which is the easier to be done by most people.

## Build chromium with the keys

To do so, you must specify these variables in the
args.gn file:

google_api_key = "yourAPIKey"
google_default_client_id = "
your.client.id"
google_default_client_secret = "yourClientSecret"

And then build chromium

## Run chromium with the keys

To do so, you can just run: `env GOOGLE_API_KEY='yourAPIKey' GOOGLE_DEFAULT_CLIENT_ID='
your.client.id' GOOGLE_DEFAULT_CLIENT_SECRET='yourClientSecret' chromium`

And to configure it to automatically use the keys there are 3 ways:

Modify ~/.bashrc or /etc/environ (to apply globally) and add the environment variables
Modify the .desktop file to run the `env` command
Create a wrapper shell noscript

And that's it! That way you can get any build of chromium (except ungoogled) to have the "missing" features back

Hope this helps

https://redd.it/mo60q5
@r_linux
ARM and the future of Linux on desktop

When ARM computers for Windows show up and go into mass production, assuming that one day they might, in what position will Linux be? I've been reading lately on /r/linux and /r/linuxhardware, and I'd say that a lot off people are not sure what to think, nor are they particularly optimistic (even though I'm aware of the recent successes regarding support for MacBook M1).


As for ARM computers for Windows, I wouldn't say that Microsoft Surface had much success so far, but I assume there will be much more tries in the future.


As for Linux regarding this subject, I see that some people actually lay their hopes in RISC-v.

https://redd.it/mo7gfm
@r_linux
Linux will soon reach 1 million commits on github
https://redd.it/mo7y7f
@r_linux
Not a big fan of laptop stickers but I just had to get this one
https://redd.it/mo8wrt
@r_linux
Just lost 72 hours worth of publishable research data to forced windows update

Title. I'm a PhD student running some very computationally intense simulations involving extremely large datasets that oftentimes take days to run. For obvious reasons, I always have my windows updates "paused" as long as the bastards will let me. I will install updates when I am ready and free to do so, thank you very much.

Last night, I thought I'd relax after a long week of intense research.

I wake up today, hit the library, and low and behold, my permitted "pause" window had expired, and windows automatic update has senselessly destroyed 3-4 days worth of publishable research data in order to update my audio driver.

I am so incredibly frustrated that I do not have words for it.

I have dabbled with Linux in the past and I am fully ready to depart from windows permanently now. What is the state of the art nowadays? I enjoyed Arch in the past but I am now at a point in my life where I don't want to tinker like that anymore. Is there anyway I can get that rice aesthetic with less work nowadays? I always hated Ubuntu, Mint, etc. because it reminded me too much of the windows I was forced to use for work.

Windows is now permanently dead to me, and I will use wine for anything that is inconvenient.

Anyone else share this experience recently?

https://redd.it/moa5mj
@r_linux
Ad block list for Unifi

Hey all,

I self-host Unifi to manage some devices on my LAN. After an update, I was disappointed to see that I am hosting ads on my own stuff:

https://i.imgur.com/nBXA8WZ.png

So unfortunately, here we go: I created an ad block list to block these ads in Unifi. It works from any location, even if you are accessing Unifi from an IP address.

Here is the repo:

https://github.com/synthead/unifi-adfree

For convenience, here is the README.md from this repo. Follow the instructions below with the ad blocker of your choice and you should be good to go.

> Ubiquiti decided to introduce ads in Unifi, which is a privately-hosted web app to manage some Ubiquiti devices. This ad blocker list blocks ads in Unifi from any site location.
>
> To add this list to uBlock Origin, open uBlock's settings page and click on the "Filter lists" tab. At the bottom of the page, expand the "Custom" tree and check the "Import..." box. Then, add this URL to the textarea that appears:
>
> https://raw.githubusercontent.com/synthead/unifi-adfree/master/unifi-adfree.txt
>
> The "Apply changes" button on the top-left of the page will become yellow. Click this button, and you're done! This URL reflects the latest commit to this list, so your ad blocker will auto-update accordingly.
>
> This list can be used on all the other common ad blockers too, but they have their own settings page that I won't get into detail about. If you don't know about uBlock Origin, you might consider switching to it as it's GPL-licensed and is faster and lighter on resources than other ad blockers.

https://redd.it/mocy4n
@r_linux
TIL: Pulsaudio RAOP/Airplay 2 support lets you use Sonos as an output device

Just came here to say that Mr. Tao's pulseaudio patch for Airplay 2 support works great with Sonos speakers.

I've got Sonos Ones in the living room and Ikea Symphonisk in the bedroom. With the patched version, both rooms show up as output options in pavucontrol and KDE's audio settings.

https://aur.archlinux.org/packages/pulseaudio-airplay/

https://redd.it/moagqw
@r_linux
Linux doesn't support my laptop

Hello , i had a weird issue while trying install linux on my laptop ( dell Inspiron 3521) , the problem is : (initramfs) unable to find a live medium containing a live file system........ so my usb turned off after i press install from grub menu , i tried another usb stick same problem, tried with unetbooting ( disk image on hard drive ) also same problem , i installed linux on my hdd in another laptop) and go back to mine the usb ports won't work. So is my laptop doesn't support linux at all ??!

Tried elementary , mx linux , lubuntu , xubuntu
All same problem

https://redd.it/moeaze
@r_linux