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
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
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
GitHub
GitHub - gennaro-tedesco/zathuraconf: Change zathura colour schemes
Change zathura colour schemes. Contribute to gennaro-tedesco/zathuraconf development by creating an account on GitHub.
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
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
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
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
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 variablesModify 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
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
reddit
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...
The Simplicity of Making Librem 5 Apps
https://puri.sm/posts/the-simplicity-of-making-librem-5-apps/
https://redd.it/mo7z83
@r_linux
https://puri.sm/posts/the-simplicity-of-making-librem-5-apps/
https://redd.it/mo7z83
@r_linux
Purism
The Simplicity of Making Librem 5 Apps – Purism
Purism makes premium phones, laptops, mini PCs and servers running free software on PureOS. Purism products respect people's privacy and freedom while protecting their security.
uBlock Origin works best on Firefox
https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox
https://redd.it/mo9yvs
@r_linux
https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-best-on-Firefox
https://redd.it/mo9yvs
@r_linux
GitHub
uBlock Origin works best on Firefox
uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean. - uBlock Origin works best on Firefox · gorhill/uBlock Wiki
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
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
reddit
Just lost 72 hours worth of publishable research data to forced...
Title. I'm a PhD student running some very computationally intense simulations involving extremely large datasets that oftentimes take **days** to...
This week in KDE: Activities on Wayland
https://pointieststick.com/2021/04/09/this-week-in-kde-activities-on-wayland/
https://redd.it/mo9d2v
@r_linux
https://pointieststick.com/2021/04/09/this-week-in-kde-activities-on-wayland/
https://redd.it/mo9d2v
@r_linux
Adventures in Linux and KDE
This week in KDE: Activities on Wayland
This week the Wayland train continued barreling on, full speed ahead! We picked up a bunch of nice fixes and a big feature: New Features The “Activities” feature now mostly works on Way…
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
> 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
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
Search and play YouTube videos via command line
https://asciinema.org/a/406478
https://redd.it/mog2rs
@r_linux
https://asciinema.org/a/406478
https://redd.it/mog2rs
@r_linux
asciinema.org
yt
Search and play YouTube videos. https://github.com/H-M-H/yt
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
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
Glances System Monitor Tool an Eye on Your System
https://hackingpassion.com/glances-system-monitor-tool-an-eye-on-your-system/?fbclid=IwAR3vUU43rlVnq_tYjfoQyH6JMLDk7tYv1gVSzIcRCCMCa8UajE9YUdf06q4
https://redd.it/moap8j
@r_linux
https://hackingpassion.com/glances-system-monitor-tool-an-eye-on-your-system/?fbclid=IwAR3vUU43rlVnq_tYjfoQyH6JMLDk7tYv1gVSzIcRCCMCa8UajE9YUdf06q4
https://redd.it/moap8j
@r_linux
Hackingpassion
Glances System Monitor Tool an Eye on Your System
In this article and video, I will show you how to hack and exploit printers. How easy it is to hack the printers, how to get full control..!
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
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
reddit
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...
Alternative for Microsoft office
Using linux mint 20.1 (considering switching to arch linux) but been looking for a good alternative to Microsoft office but haven't found, now using libreoffice which is not that good, also used freeoffice 2018 and also not good.
Wps is amazing but doesn't support arabic, unfortunately
Found apache office but apparently it doesn't get updates at all almost and the browser told me the website is not safe.
Considering purchasing softmaker office 2021 (same developer of freeoffice 2018).
What do you use as an alternative for Microsoft office and what is your distro??
https://redd.it/mo720b
@r_linux
Using linux mint 20.1 (considering switching to arch linux) but been looking for a good alternative to Microsoft office but haven't found, now using libreoffice which is not that good, also used freeoffice 2018 and also not good.
Wps is amazing but doesn't support arabic, unfortunately
Found apache office but apparently it doesn't get updates at all almost and the browser told me the website is not safe.
Considering purchasing softmaker office 2021 (same developer of freeoffice 2018).
What do you use as an alternative for Microsoft office and what is your distro??
https://redd.it/mo720b
@r_linux
reddit
Alternative for Microsoft office
Using linux mint 20.1 (considering switching to arch linux) but been looking for a good alternative to Microsoft office but haven't found, now...
Should I do a clean install of Linux?
Few weeks ago I got a “new to me” laptop. My old machine was an acer running Mint 20 cinnamon. The new laptop is a Lenovo workstation. I decided to see about just swapping drives and it worked. However since then I’ve noticed the laptop runs buggy, boots up slow and freezes at times.
Would this be Bc of the hot swapping the drives, if I reinstalled Linux mint 20 would that solve the issues or is more likely something else?
https://redd.it/mol11n
@r_linux
Few weeks ago I got a “new to me” laptop. My old machine was an acer running Mint 20 cinnamon. The new laptop is a Lenovo workstation. I decided to see about just swapping drives and it worked. However since then I’ve noticed the laptop runs buggy, boots up slow and freezes at times.
Would this be Bc of the hot swapping the drives, if I reinstalled Linux mint 20 would that solve the issues or is more likely something else?
https://redd.it/mol11n
@r_linux
reddit
Should I do a clean install of Linux?
Few weeks ago I got a “new to me” laptop. My old machine was an acer running Mint 20 cinnamon. The new laptop is a Lenovo workstation. I...
Changing owner of directory avoid common mistakes
http://www.explinux.com/2021/04/how-to-change-owner-of-home-directory.html
https://redd.it/molibe
@r_linux
http://www.explinux.com/2021/04/how-to-change-owner-of-home-directory.html
https://redd.it/molibe
@r_linux
Explinux
How To Change Owner Of Home Directory In Linux With Extra Tip
In this article, you will learn how to change ownership of the directory in the correct way.
What's the best way to share clipboard of Linux and Windows
I use a Linux PC and a Windows Laptop together and they are in the same LAN. Sometimes I want to copy text or image from one of them and paste on another. I found Synergy can share mouse, keyboard and clipboard, but it doesn't work when the image is large.
https://redd.it/mom7fj
@r_linux
I use a Linux PC and a Windows Laptop together and they are in the same LAN. Sometimes I want to copy text or image from one of them and paste on another. I found Synergy can share mouse, keyboard and clipboard, but it doesn't work when the image is large.
https://redd.it/mom7fj
@r_linux
reddit
What's the best way to share clipboard of Linux and Windows
I use a Linux PC and a Windows Laptop together and they are in the same LAN. Sometimes I want to copy text or image from one of them and paste on...