Linux - Reddit – Telegram
Linux - Reddit
752 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
My OneNote alternative for Linux

Hi everyone, long time lurker here.

A few years ago, I wanted to switch to Linux as my primary OS, but after finding alternatives to almost every other proprietary app I used without native support, I couldn't find anything that accurately replicated OneNote's structure. I'm not a fan of the fact that the web version of OneNote prevents you from saving notebooks locally (and I also just prefer native software), and although wiki editors like Zim and similar programs are very well made and great for subdividing your workspace like a notebook, they lack OneNote's distinctive "click anywhere to type" feature.

After learning the basics of QT and a lot more development time than I initially planned for, I've been using my program, Spiral, as my primary note-taking app for college since last fall, and I thought I'd share it here in case anyone else happens to be looking for this type of program.

I should note a few things, though.

First and foremost, I don't personally use handwriting tools, so, unfortunately, if you require that in a OneNote alternative, you'll probably want to look elsewhere. That's not to say handwriting support will never be added, just that it's not on my radar right now.

Second, although I haven't lost any data while using Spiral, I would strongly advise that you make frequent backups just in case since the amount of testing I've done is probably not exhaustive of everything that could go wrong in a program like this. (Personally, I use abraunegg's OneDrive client for Linux, so OneDrive's revision history is always there for me in case I need it.)

Since this is mainly just something I've worked on in my free time (and since I'm still relatively new to this type of software development), I really only focused on implementing the features I needed from OneNote, so if there are any super important features I missed, I welcome any and all feedback.

Anyway, if my disclaimers haven't scared you away and you're craving this type of program for Linux as much as I was a year and a half ago, you can download Spiral at http://spiral.augustin.tech.

https://redd.it/lc3si5
@r_linux
File Block ins stat command

Hello 👋,

Can someone explain what really happens when we choose to compress a file. When I created a file with fallocate 10M the blocks in stat command shows "20480"

I used lzma -a 'file' and compressed the file now the file showed only "8" blocks in the stat command

Now I decompressed the file but the blocks in stat command remains as "8" and it didn't show as previously shown "20480" blocks

Can someone explain this ?

https://redd.it/lc4089
@r_linux
Can I create a "clone" or full back up of the distro that I'm using?

So I have to send my laptop off for a repair. When I do, I know they're gonna reformat it and put slow ass battery draining windows 10 back on. I don't like Windows much. Prefer Linux & Mac OS X way more. So can I create a bootable clone or back up of my entire computer right now? Apps, settings, etc., everything! I would like to pop the USB drive in. Boot up. Start install. And be right back to using this computer like nothing ever happened?

Is this possible? I mean, I feel like it would be a bit like creating a live distro of your own system. BUT! I'm not sure where to begin with that.

As I'm sure that this will be important. My flavorful distro of choosing is Ubuntu Budgie.

Any recommendation is welcome. I'm not necessarily needing anyone to like walk me thru it. Just maybe a little guidance in how I can go about accomplishing this.

Thanks in advance everyone! Even if you can't help. Got a good community here that is pretty helpful. And it's greatly appreciative. Thanks again!

https://redd.it/lc6xe4
@r_linux
Where’s my history.txt file? Ubuntu

Hi all,

So I’ve been working on all day typing commands for s school project and I have to submit the txt file that shows all the command that I typed.
I used the command:

history >> history.txt

The problem is I don’t know where to find that text file. I looked everywhere. Can you help me please?

P.S. I’m using Windows 10

https://redd.it/lc8rgx
@r_linux
How do I create a private network for linux servers on different clouds?

Say I have servers on AWS, digital ocean, and Azure. Is it possible to create a virtual private network between the three servers in a way that is vendor-agnostic and does not have a single-point-of-failure?

I want to do this so I can run some shared services (for example, a log server) using IP-addresses authentication. Otherwise, it seems like I would need to manage certificates and keys for every pair of servers that want to talk to each other.

If it were all on AWS (or DO or Azure) I could use their proprietary 'VPC' service. However, this doesn't work across cloud providers without site-to-site vpn of some sort.

I thought about having an openvpn server and making all servers be openvpn clients. However, this seems to mean that if the openvpn server goes down, the servers cannot talk to each other.

https://redd.it/lcagjg
@r_linux
Looking for help with garuda linux for controllers

I need help trying to get my SN30 Pro controller to work on my Lenovo Thinkpad edge E531 running garuda linux. When I plug it in it will vibrate for a few seconds and the light for player one turns on but no input works. it's like the OS doesn't recognize it as anything is there any way I can fix this? This is Garuda Linux Gamer edition

https://redd.it/lcaznx
@r_linux
My experience with dual booting Linux

Hi. I gotta admit, I don't really like Windows that much anymore. It's a privacy nightmare, it cannot be customized without patches, and it's just generally very closed down.These are the reasons of why I decided to try dual-booting Linux. My distro of choice was Manjaro KDE (running on an i5-4690, GTX 1070, paired with 16GB of DDR3 RAM). I wasn't expecting everything to work out of the box but I certainly didn't expect this many problems. As some people say, for this FOSS operating system you pay with your time, not with your money.

My next week after installing Linux was nothing short of insanity. I decided to compile a list of problems I faced which were never an issue on Windows (most of them I wasn't able to resolve to this day). I don't expect any help, since I know you guys are not here to do tech support. I just want you to see what I was 'greeted by'. Either way, here I go:

General

My system time was completly broken after installing. (Fixed)
The package manager didn't work, I couldn't find any packages or install updates. (Fixed after roughly 5 hours of searching by running these commands twice from the first reply here)
ICC profiles just don't work. (Yes, I have installed the package to import them (colord-kde), and they do import just fine. The issue is that they don't work, even though they are imported.)
The colors are really weird, I cannot describe them accurately, but I'd say everything is alot darker and more vibrant.
I have used NVIDIA X Server Settings to somewhat correct the colors (nothing came close to how it is on Windows), but these changes do not save. In fact they randomly revert back while I am using the OS. If they don't, they will revert back at the next reboot. (Yes, I did run it as sudo, and I disabled that thing everyone suggested - I don't remember it anymore)
Night Light completly breaks any NVIDIA X Server and/or Gamma settings.
Sometimes when shutting down my PC while using Manjaro it turns off almost instantly, other times it might take anywhere from 2 to 10 minutes.
Scrolling is way too inefficient (like 3 times slower than Windows) and quite laggy.
Changing themes in KDE can randomly break the entire UI. Sometimes the taskbar disappears, sometimes the icons never change to what the theme wants them to be.
Sometimes KDE can randomly make everything transparent black until the next reboot.
Fonts look worse than in Windows when in web browsers, but most other places too (a place where this becomes really visible is VSCode).
CSS appears slighly off on all browsers. (I used both Edge and Firefox)
In some cases Linux completly freezes, in the traditional way of freezing. You cannot move your mouse, your inputs won't do anything. This usually doesn't last for more than a minute.
I cannot run any NodeJS apps from my NTFS drive if any directory has non-english characters in it. (this might not be the reason though, the reason I think this is the case is because the error stack trace log shows that directory with strange strings where the non-english characters should be)

Steam

Doesn't work on NTFS by default, no matter what I do. (Yes, I am aware of the fact that NTFS is owned by MS and that it's closed source.) Sometimes it wants to redownload the entire game, other times it just shader caches gigabytes of data.
After mounting it to my home directory with NTFS-3G using fstab and the correct perms, 2 games out of 15 launched. The other ones installed dependencies for 10 minutes, then just never started. (Yes, I have tried Proton GE, it doesn't work either.)
Sometimes games take a really long time to launch even if they work, apparently Steam really loves its preparing to launch dialog.
Proton creates dependency folders separately for every. single. game. It installs them again and again and again even though they are exactly the same. This wastes gigabytes of data, and takes an awfully long time.

Of course, these
problems don't make up the entire list, but the rest might be considered small and easily fixable.

​

I think after seeing this list you might have guessed that I didn't have a pleasant experience at all. I spent hours and hours fixing things, and as I said, for most of them I still don't have a solution. The community was a mixed bag, but that's understandable. Sometimes I got help, sometimes I had messages sitting in Discord support channels for multiple hours without a reply.

​

I wish I could keep using Linux, but in its current state it just doesn't work properly for me. There were some things I really liked but overall currently it feels like I am using some sort of unpolished buggy OS. Funnily enough, if it wasn't for these problems I wouldn't have anything against using Linux as a daily driver. The only other thing that makes me not want to use it is the lack of .NET GUI frameworks compatible with Linux (.NET is what I use for creating desktop apps).

I don't know if this was useful or interesting to anyone, but thanks for reading anyway.

https://redd.it/lbuuq2
@r_linux
My Linux Programs

These are my main programs. Open to Suggestions.

Also the reason why I don't play many games on linux is that, if I have some games on linux I will play them instead of restarting to my windows os (duel boot) and end up not playing the games I like that are only windows. I've tried but its too buggy and doesn't have enough support yet (mainly anti cheat software).

List of programs to Add

~~gnu image manipulation~~
~~more kde utilites~~
~~libreoffice or simliar programs~~
~~draw.io~~

​

UPDATED CHART:

Made in draw.io desktop version

https://redd.it/lbwhtm
@r_linux
snap's node distribution is unusable/broken

Not the typical snap hate—or maybe it is, however, I actually like snap, it gives you latest versions + auto-updating—but I just installed node via snap and coc.vim struggles with that install, eg coc.vim is not able to check node`s version.

I found some issues and threads[1\], If anyone from the snap team is reading this, is this intended and if yes, pls ELI5 why. I don't need any svpport, just want to understand snap's intentions.

[1\]
my issue: https://github.com/neoclide/coc.nvim/issues/2870
related issue: https://github.com/nodesource/distributions/issues/843
related deep snap convo, I'd need an ELI5: https://forum.snapcraft.io/t/snapd-2-32-breaks-live-server-installer/4597/9

https://redd.it/lcem80
@r_linux
Will League of Legends on Windows be able to access my Linux filesystem?

I have windows and Ubuntu dual booted on my computer in separate hard drives, and I want to download LoL on windows however I am not thrilled about their invasive client-side anticheat. My question is will it be able to read my Linux files? Linux can read the windows file system and I often use this to move files between hard drives but windows cannot do the reverse; I have private files on Ubuntu that I would like to keep private. Can Rito's anticheat access those files?

https://redd.it/lcj7jw
@r_linux
Should I learn the Go programming language?

Hello, sorry if this is not really the place to put this question I am fairly new to this Reddit community.

I am not a professional software developer but I like to make my own tools and have been doing so since I was in my teens. I am a huge fan of Python programming and have been using it for my projects for Engineering School all the time and for personal projects. But I have recently discovered the limitations of Python's speed and the GIL which makes Python unable to take advantage of multiple core processor. Otherwise, I absolutely love the Python syntax and have become very comfortable with the language.

I have an algorithm that calculates some stock market indicators and then helps me make decisions on positions for buying and selling. I wrote this all in Python and depending on the number of stocks that I am looking at in a particular day, can take an hour to run on my i7-7700HQ. I have been running it everyday since August 2020 and have decided I want to speed this up and deploy it on a server that I have put together.

Is it worth learning the GO programming language if I am already comfortable with Python? What advantages/disadvantages can I expect? Is Google watching me if I use Go (kind of a joke, but also not)? Suggested alternatives?

TL;DR: I want to speed my Python program up. Should I learn Go? Or something else?

https://redd.it/lcjfy2
@r_linux
Personal success.

I have bean working for this company for 6 years now as Chief systems/network/dba administrator and when I started I was a newcomer technician and at my previous job I was an assistant in the IT department.

After 5 months at the new place the chief sysadmin quid and as there was no one to do his job everyone started to fill in some how. A month later I got a promotion offer (for the same salary). Of course I accepted it. At this time I new that much that Linux is better than Windows 2003 or even Win 2k (our mail server at the time) so I started lerning Linux despite of the fact that all the infrastructure was built on Windows and it seamed like our IT manager was strongly against Linux.

Now 6 years later we have a 2 to 3 linux to Windows server ratio, mail, storage, VPN, webservers, docker, ect... (Windows runs AD and some old medical servers that don't run on Linux)

I'm a little proud that I could show the path of FOSS to the company and even save some money.

P.S. Did not get the FOSS saved money as a bonus. Actually....I think I didn't get some of the promised bonuses....

https://redd.it/lclgwv
@r_linux
Linux in biological sciences and instrumentation

I find it very disconcerting to find Windows XP (and 95 in one case) on computers which are coupled with an instrument like a spectrophotometer.

One of the reasons my laboratory insists on using Windows is because of the software support for equipment. Even new equipment come with software which is exclusively compatible with Windows. Like how drivers are made available to Linux, is there something for scientific equipment? This is one of the reasons why this OS is not being accepted in biological sciences. Every university wants to save money. Unfortunately, the lack of software support locks us in.

https://redd.it/lco51n
@r_linux
Geninuely curious, why are there no preinstalled fun music installed by major distributions ?

Hi everyone,

I’m sure some of us remember playing those three songs on Windows 7 that came preinstalled and some of us might remember some older songs that I didn’t even know existed or some I vaguely remember but finally found it after so long. However that got me thinking, why haven’t we seen any major distros out there that preinstalled some dope unknown music from copyright free distributions ? Is it the risk that the artists themselves would make it profitable or something else ?

Honestly I could just download some vaporwave j-pop and call it the Anthem of Fedora but that doesn’t come near close to the classic Kalimba song

https://redd.it/lctpch
@r_linux