boredsquirrel

@boredsquirrel@slrpnk.net

This profile is from a federated server and may be incomplete. View on remote instance

What're some of the dumbest things you've done to yourself in Linux?

I'm working on a some materials for a class wherein I'll be teaching some young, wide-eyed Windows nerds about Linux and we're including a section we're calling "foot guns". Basically it's ways you might shoot yourself in the foot while meddling with your newfound Linux powers....

boredsquirrel ,

I once just uninstalled sudo and replaced it with doas. Turns out, the shutdown process needs sudo and a lot more. So I am still using my system since then, without shutting down.

No joking, I use Fedora Atomic and can not break my system... unless you mess up your dotfiles, and a lot more.

I also put a drive into my /etc/fstab once without the nofail argument.

No idea why that is not set by default, but when removing that drive my system couldnt boot and I exited to a very scary dracut shell.

boredsquirrel ,

I tried to install an OS to a USB stick. This is Kubuntu specific.

You need to create a GPT partition on the stick, then you should be able to just use the installer and install on another USB stick.

I went through it, selected the usb stick... was not sure if everything was right and went a menu back, was correct, went forth again, past the install target selection and installed.

Well... turns out the Kubuntu installer (Calamares) selects the first disk always. And that selection seems to reset to default when going a menu back....

I deleted my complete normal disk, with like everything I had.

No Backup no mercy. Luckily did one only a few weeks before. The first since half a year! Damn... had my uni stuff on Nextcloud, a lot of personal stuff synced to my phone with syncthing.

boredsquirrel ,

On "immutable" Fedora, yes :D dont know if I needed to add some enforcement variable.

boredsquirrel ,

No content? Can you maybe explain what this is?

boredsquirrel ,

Why? Why not an extra bar like all other browsers? I suppose that is possible too? But idk.

I would really like to get some shortcuts for some sites.

Also, I think tab groups are way more important. SimpleTabGroups is constantly losing its state, containers, pinned bookmarks, its a total pain.

boredsquirrel ,

No this is actually working perfectly, on Wayland.

Drag, i get a miniature transparent window, move to other window, place next to a tab and that needle appears, done.

So dragging a tab to another window works. But true, dragging a tab and it immediately becomes a window doesnt. But that is quite aggressive UI wise, so I think its fair to not add it.

boredsquirrel ,

Yeah these are 2 separate things, both important.

Horizontal tabs, in the hidden "compact" mode dont take up lots of space, less space than vertical ones.

A sidebar would conflict with vertical tabs I think. Like in Brave, where you can add just a few sites.

Tab containers are way more important than groups and a killer feature of FF.

[Thread, post or comment was deleted by the author]

  • Loading...
  • boredsquirrel OP ,

    Btw that mockup paper is hillarious XD

    boredsquirrel OP , (edited )

    Right, forgot about Pulsar. Also have Lapce installed but that may not have the needed tools.

    VSCodium also installed in a Distrobox, but tbh I dont want to use it. It is slow, Electron, Microsoft etc. Just not an option.

    I am currently trying to add syntax highlighting for typst to kate, but I read that XML and damn thats complex.

    boredsquirrel OP ,

    This is the flicker I meant

    Thanks for the tip about the dialog! I will add that to the FR as a solution. It is not good to generally disable all warnings though.

    boredsquirrel OP , (edited )

    No of course I was just refreshing. The problem is, the UI should stay completely still, just the render should refresh.

    But I don't think any viewer is going to support keeping your place in the document when it changes.

    Okular does that just fine. Tested with multiple pages.

    boredsquirrel OP ,

    I have tried that too, but not for this task. Well packaged, so I will compare it.

    You know, I am looking for something that doesnt flicker, at all.

    boredsquirrel OP ,

    Could you explain? less would just monitor the binary PDF for changes and then pass that to any viewer?

    I think this is really helpful for barebones renderers, thanks! That will be a very good piece of the puzzle for a minimal PDF reader for this task

    boredsquirrel OP ,

    Like, performancewise, why would you render an image in between 2 renders?

    Or I suppose that may be a placeholder canvas with the icon.

    Still, this is a stopper for future smooth transitions.

    boredsquirrel OP ,

    The preview plugin uses Okular, or at least some part of it.

    On Kinoite Okular is no longer installed as system package, and it works well as Flatpak.

    But yes, I should layer Okular again and try, because in my experience the preview had another issue (background follows system theme i.e. dark, causes flickers)

    boredsquirrel OP ,

    Yeah, that is likely the best way when you are more knowledgeable, but currently I would explore how to do everything with direct feedback.

    boredsquirrel OP ,

    Same. I really need to learn typst, it is very cool.

    Markdown is kinda useless, because

    1. Always when I want to make notes, I want WYSIWYG to actually work with them. I dont write them for someone else or something. Pandocs defaults using texlive are bad, Okulars markdown style is also not very nice.
    2. I need something more powerful for actual papers, just like Typst. Possibly other candidates too, but it needs pagination and more.
    boredsquirrel OP ,

    Whats that?

    boredsquirrel OP ,

    With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.

    This sounds cool, but relies completely on OpenPGP. That is secure enough, right?

    But this also means

    • no metadata security
    • no usernames
    • no comment

    It is cool, but only having a single entry means you can not replace the website with a more anonymous placeholder.

    For sure this tool sounds pretty great! Especially encrypting everything seperately is very nice.

    But sometimes getting a name might already be too much.

    Also to avoid big brother connecting all data, I normally have an entry like

    Entry: MSOffice
    username: alias1+website@mail.org
    password: •••••••••••••••••••••
    URL: xxxxx
    Comment:
       Username: xxxxxxxxx
       name: albert einstein
       birthday: 2.6.1956
       Security question 1 2 3
       TOTP backup keys: xxxx
       Random comment
    

    This is all not possible, which means I would need the same username everywhere, or remember it (I dont, I have 300 Keepass entries).

    In KeepassXC I have a single file. Hackers would need to bruteforce only one. But at least they wouldnt know exactly what they want to decrypt.

    boredsquirrel OP ,

    Yup, it is really cool! I have to learn to use it and use it on occasions

    boredsquirrel OP ,

    You can just use pass edit path/to/entry

    Janus, a simple text editor

    For the past few months I have been working on a simple windows notepad like text editor. It's nothing special, but when I first switched to linux I looked around and it took me a while to find leafpad. Unlike leafpad however, Janus uses gtk3, a much more modern toolkit then gtk2, it can display and modify binary data, and it...

    boredsquirrel ,

    Very interesting! Never read anything about binary editing. Cool project!

    Obvious question: why not GTK4?

    boredsquirrel ,

    Very interesting, thanks for the anwer!

    boredsquirrel ,

    Both are not ready. LXQt will be soon though.

    boredsquirrel ,

    XFCE on Wayland is solid?

    boredsquirrel ,

    LXQt is already on Qt 6.6 (?) which means native wayland-first support.

    They are not fully done but that will only be a month or so.

    Until then, I dont know really? Will be great!

    Meanwhile MATE and XFCE are on GTK3? Which is not perfectly wayland ready afaik.

    boredsquirrel ,

    XMPP.

    boredsquirrel ,

    What about Typst?

    boredsquirrel ,

    It is too basic. I guess something more full-fledged like... typst?

    boredsquirrel ,

    Matrix is daaaaamn slow. And not private.

    boredsquirrel ,

    SimpleX. No federated messenger is good for privacy.

    But I see how SimpleX is impossible for public groups, as spam is basically unavoidable.

    boredsquirrel ,

    Learning that currently.

    boredsquirrel ,

    Never tried that. For sure it lacks spaces, threads, moderation, invite links, requests etc.

    Correct me if I am wrong

    boredsquirrel ,

    They host a proprietary service that does all the stuff, the compiler and spec are completely FOSS. So you need to create your own implementations, which is not hard.

    I dont think they will close source the compiler. And thats basically everything thats needed?

    I have 0 problems with people creating a fancy proprietary implementation to get people hooked. I will never use an online editor, but why care?

    boredsquirrel ,

    Yes, also PiP now

    boredsquirrel ,

    Simplex.chat

    boredsquirrel ,

    You know Overleaf is a thing right?

    Many projects need to be rewritten from scratch I think. But I also think an easier markup language for LaTeX could be possible, keeping all the nice templates etc.

    boredsquirrel ,

    No, but Overleaf is just a proprietary fancy editor like the Typst one. Meanwhile typst is just as usable for building editor too.

    I dont see any arguments against typst really. I am using Markdown all time and find it best, but lacking. Then LaTeX, honestly I dont want to learn as it must be a pain to write.

    Now in typst, you can write academic papers etc just as well. All you need is free software, with good backing, modern tooling (rust, cargo), thus it runs everywhere. Its pretty cool!

    boredsquirrel ,

    And it isnt :D the compiler produces PDFs which can be read with anything. The spec is open so you can write the code with any editor.

    Just needs integration, will see if I can add the syntax highlighting to Kate

    boredsquirrel ,

    For me:

    My strange sorting
    • Git: for git stuff
    • Distrobox (home dirs separated with --home to prevent dotfile conflicts)
      • build (and also apps)
      • tests
    • Downloads: for chaos
      • many subdirs
    • Backups
      • Laptop
      • Phone
        • SYNC (complete dir with syncthing, I put as much stuff there as possible)
        • Pictures, Music, Downloads (because Android sucks, also synced with syncthing)
    • TOPICS
      • Personal
      • Hobby 1, 2, 3
      • Movie Torrents
      • ...
      • Work
        • Seminars
        • Documents
      • Study
        • EBooks
      • Tech
        • Distros (ISOs)
        • Commands
        • Guides
        • Packages
          • Appimages
          • Windows
          • RPMs
            • packages
            • spec files
        • General
          • Documents
          • living stuff

    Works pretty well. I symlink lots of stuff, especially the synced phone directories. I keep some pictures local, some synced etc.

    boredsquirrel OP , (edited )

    Damn! True!

    Will update the post!

    So typst + LSP + Kate = perfect Editor !

    boredsquirrel OP , (edited )

    Now, if you would also have an idea how to spawn 2 processes from one shell script, that would be awesome!

    Use case: desktop entry to open .typ files.

    • process 1: open a terminal window with typst watch %f and detach process
    • process 2: open some-editor %f and detach process

    I would love to either just add those entries as "applications", or create Dolphin context menus.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines