Linux - Reddit – Telegram
Linux - Reddit
776 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
This media is not supported in your browser
VIEW IN TELEGRAM
cmus is the best music player I've used by far be it cli or gui, using it on my Android.
https://redd.it/ehc4wc
@r_linux
Keyring alternative: Access KeePassXC entries of an unlocked database from the command line

Took me a while to wrap my head around this. Found nothing about it on the internet so I wanted to share it here.

You might know Keyrings in Linux. One of their use cases is to be unlocked while login or later manually to provide passwords to other applications. You don't have to type these passwords manually then. This works because your this keyring application (e.g. gnome-keyring) supports libsecret to store password for other applications.

The issue with that: You either have to unlock it manually or unlock it at login and it stays open for your whole session. Another password to remember...

KeePassXC is a popular password manager. I want to use it as the central place that I unlock to access my stuff and lock it when I don't need it (or at system lock/inactivity...).

KeePassXC provides a Secret Service integration so that it can be used by any other application via libsecret. Just enable it in the settings (you have to get rid of other keyring libsecret provider first), create a separate folder for libsecret stuff and expose this folder in the database settings. Now it can be used by other applications.

But that wasn't enough for me. I wanted to access passwords in my unlocked KeePassXC session via command line. keepassxc-cli and keepassxc themselves don't have such options.

To accomplish this:

1. Install seahorse to get the secret-tool.
2. Add an entry in you're libsecret folder (never clone an entry there, libsecret will crash somehow!).
3. Put the password to be accessed as the password. 4. In Advanced add an additional attribute. This name and value will be used to access the password later. In this example I use "account" as attribute name and "mail" as attribute value. Use whatever you want here. Save the entry.
5. Open a terminal. Use this command to access the password:

```
secret-tool lookup account mail
```

And there should be the saved password.

6. Done. Now you can use this in any noscript to access passwords in your unlocked KeePassXC session. When KeePassXC is not running or locked, secret-tool will just fail with exit code 1.

I think this is really nice and it helps me a lot e.g. for checking for new e-mails in the background but only if the KeepassXC database is unlocked. This way I don't expose my e-mail password all the time. And I only have one password manager, no additional keyrings and stuff.

https://redd.it/ehfhud
@r_linux
According to this site, the linux kernel contains over 6000 instances of the word "todo."
https://www.vidarholen.net/contents/wordcount/#hack*,workaround*,todo,fixme

https://redd.it/ehfrch
@r_linux
Linux Experiences/Rants or Education/Certifications thread - December 30, 2019

Welcome to r/linux rants and experiences! This megathread is also to hear opinions from anyone just starting out with Linux or those that have used Linux (GNU or otherwise) for a long time.

Let us know what's annoying you, whats making you happy, or something that you want to get out to r/linux but didn't make the cut into a full post of it's own.

For those looking for certifications please use this megathread to ask about how to get certified whether it's for the business world or for your own satisfaction. Be sure to check out r/linuxadmin for more discussion in the SysAdmin world!

_Please keep questions in r/linuxquestions, r/linux4noobs, or the Wednesday automod thread._

https://redd.it/ehgvtm
@r_linux
Ideas for billing software

My Father has been using the same windows 98 billing software since 2005 and his PC finally died. I want to switch him to linux, but I can't do that without a simple, easy to use, non-cloud based billing software for his pool service business. Any ideas for something a 65 year old guy can understand? I don't need mobile integration, scheduling etc. He just needs to send a bill to his 350 customers every month and print a summary for taxes at the end of the year. Everything I have found seems to be either cloud-based or way, way to complicated for what he needs. Thanks for the help.

https://redd.it/ehir3x
@r_linux
Reliable laptop for heavy web development on Linux

My company is looking for reliable laptop model to buy for the employees. In the past we've tried several, mostly Dell XPS 13 and 15. The computers have been decent, but there usually have been issues, such as failing hardware (batteries expanding, keyboards and power supplies failing, needing to install drivers for WiFi manually, etc).

In theory, these computers would have been perfect. In practice, not so much. That is why I'm asking for suggestions based on personal experience rather what the sales sheet says.

Since we are working with Magento and Docker (among other things), 16GB RAM and 512GB storage would be minimum. Also, no real budget limitations, but obviously $10k per laptop might be too much :D

Thanks for the help

https://redd.it/ehkvzo
@r_linux
Type in 'error' to see word count in Kernel or click the link below

[https://www.vidarholen.net/contents/wordcount/#hack\*,workaround\*,todo,fixme,error](https://www.vidarholen.net/contents/wordcount/#hack*,workaround*,todo,fixme,error)

https://redd.it/ehkk5a
@r_linux
How to exit from this "grub rescue error"?My system is dual booted with Windows 10 and Ubuntu 19.04 !
https://redd.it/ehm0i8
@r_linux
Linux/Chromebook Question

So I recently got a Chromebook for programming and found that the compilers don't allow for building JFrames in Java. I tried using the Linux (Beta) that is on the system and get Eclipse installed and it fails to load the install button on the install window. So I am thinking of something else, and I might be completely idiotic for even thinking that this may work. Is it possible to install Linux onto a thumb drive, and boot off that with the Chromebook? If it is, is it something I would have to do while using the Chromebook, or could I use a desktop to create it, and then use it with the Chromebook?

https://redd.it/ehonin
@r_linux
TIL you can set the brightness of external monitors with ddcutil

[See here.](https://wiki.archlinux.org/index.php/Backlight#External_monitors)

I've always been a bit annoyed about having to navigate through the clumsy monitor buttons. Being able to do that with a keybind is a great advantage.

https://redd.it/ehteue
@r_linux