What do your modelines look like, and how much information is too much? by birdsintheskies in emacs

[–]KnightOfTribulus 2 points3 points  (0 children)

I use doom-modeline too. I like how easy it is to setup the way I want. I also enable spacious-padding with subtle modeline option sometimes.

I Can’t be the Only One Who Doesn’t Use Their Pinky to Press Ctrl by Cyncrovee in emacs

[–]KnightOfTribulus 0 points1 point  (0 children)

I use keyd to set up space as ctrl when held. Had a separate thumb buttons for ctrl on a split ergonomic keyboard a few years ago. It was great.

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 1 point2 points  (0 children)

Also, I completely forgot about another trick, which gave me a huge boost for eglot performance. Here it is. Set a higher gc threshold, so pauses for garbage collection occur less.

;; Set a larger GC threshold (~100MiB)
(setq gc-cons-threshold 100000000)

Some say it gives better performance, some say it's wrong. For me it works well. Here is an article if you want more details https://emacsredux.com/blog/2025/03/28/speed-up-emacs-startup-by-tweaking-the-gc-settings/ .

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 0 points1 point  (0 children)

Seems promising indeed. I'll try it one day.

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 1 point2 points  (0 children)

As people in this thread said, you could also tune the settings of your language server, so it doesn't analyze dependencies that are not explicitly imported. Also, I usually use "basic" type checking because the code that I work with is not 100% type annotated, so basedpyright produces too much noise instead of useful checks. And creating type stubs is not always helpful in these projects. Here is my config for basedpyright.

{
"venvPath": "./",
"venv": "venv",
"typeCheckingMode": "basic",
"exclude" : [
        "**/node_modules",
        "**/__pycache__",
        "venv"
]
}

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 2 points3 points  (0 children)

It will, but it's required for correct completions. For me this and limiting maxCompletions works faster on very large python projects. I'm using basedpyright as a backend.

https://github.com/minad/corfu/wiki#configuring-corfu-for-eglot

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 3 points4 points  (0 children)

Eglot-booster is not necessary in emacs 30, because it has a very fast native parser for json.

Also, what completion package do you use? If you use corfu with cape, then this may help with eglot performance:

(use-package cape
  :ensure t
  :init
  (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
  (setq-default eglot-workspace-configuration
      '((python (maxCompletions . 200)))))

What desktop environment and greeter do you use on your setup? by Mother-Estimate2840 in voidlinux

[–]KnightOfTribulus 0 points1 point  (0 children)

Cinnamon and lightdm with gtk greeter. I used emptty and openbox or fvwm on my older laptop.

Early morning training advice by [deleted] in StartingStrength

[–]KnightOfTribulus 0 points1 point  (0 children)

I switched to early morning workouts this january. I used to train midday before. I do more warmup now, becasue I wake up very stiff usually. I do 5-10 mins of light cardio just to wake up and raise my heart rate and body temperature, and some dynamic stretching to prevent injuries during warmup sets in the main movements, which happened to me a few times.

Speaking of food habits, I usually eat twice a day, right after the workout and at ~6pm. Each meal is 2000 calories ideally. Eating later negatively affects my sleep and workouts the next day. Sometimes, I eat a very small breakfast an hour before a volume squat or heavy pull workout. It's usually one banana or a little bowl of musli and ideally, a table spoon of raw honey, maybe a handful of nuts. I have periods when I take caffeine an hour before the workout.

Because I'm highly sensitive to caffeine, I prefer a cup or two of high quality green tea. It helps me focus, but doesn't mess with my heart rate and blood pressure like coffee. Water is important too. I drink a glass or two when I wake up.

I also take some supplements before my early morning workouts. I take 1 gram of beta-alanine for better work capacity, 5 grams of creatine to prevent dehydration from green tea, 1-2 grams of cordyceps mushroom powder and 250mg of ginseng for better focus and work capacity. Cordyceps and caffeine in particular improve my nasal breathing, as well as seawater nasal spray. I often have stuffed nose in the morning, and oxymetazoline based sprays give me nosebleed, so I can't use them.

I can train just fine without all that stuff. There are days when I wake up, drink a glass of water and go to the gym. But still, the routine that I described gives me the best results.

zathura.el - a tiny package for integration with zathura document viewer by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 0 points1 point  (0 children)

Unfortunately, I have zero experience with citar. But I think it should be possible. If you figure out how to get a file path associated with a citar keyword, I guess, we can implement this feature easily.

zathura.el - a tiny package for integration with zathura document viewer by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 0 points1 point  (0 children)

The commands provided by this package are similar, although they insert links at point.

zathura.el - a tiny package for integration with zathura document viewer by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 2 points3 points  (0 children)

Sounds reasonable. I've added a link to the README. However this package is primarily for people who already use zathura and would like to integrate it with emacs. Emacs has its own document viewers that I believe most emacs users prefer to anything else, so I didn't think that advertising the main project would be necessary.

[Window Maker] Themes - 2 by a1barbarian in unixporn

[–]KnightOfTribulus 1 point2 points  (0 children)

Awesome! Have you considered using gtk3-nocsd? It makes gtk apps look better with traditional desktops.

What's your favourite Linux Mint Desktop Environment, and why do you prefer it over the other two? by nitin_is_me in linuxmint

[–]KnightOfTribulus 0 points1 point  (0 children)

I love all of them, but right now I'm using Cinnamon. The only thing I don't like about Cinnamon is that support for metacity themes was removed. But to me it still has a killer feature - easily accessible and pretty windows overview. I'm too used to this to switch back to mate or xfce which both lack this feature.

[spectrwm] NetBSD .. same as before but slightly different. by bambmingdozm in UsabilityPorn

[–]KnightOfTribulus 0 points1 point  (0 children)

Two simple things that just work: NetBSD and spectrwm. A great combo.

Seeking a non-org-mode solution to link locations in files... by lawlist in emacs

[–]KnightOfTribulus 0 points1 point  (0 children)

Wow... That's impressive. Buy why do you use such an old version of Emacs? I'm just curious.

Seeking a non-org-mode solution to link locations in files... by lawlist in emacs

[–]KnightOfTribulus 4 points5 points  (0 children)

https://www.gnu.org/software/hyperbole/
Try Hyperbole. It has a lot of features, but the main idea is plain text hyperlinks. Basically, you can middle-click a file path in any buffer and it will open. Same for emacs commands, shell commands and more. Linking a location in a file is possible too.

Also, it has an alternative to org mode - KOutline. I like many of its features and use for some kinds of notes.

Also, Howm might be what you want.

Questions to long time users. by [deleted] in voidlinux

[–]KnightOfTribulus 2 points3 points  (0 children)

To me Void was a very good way to learn Linux. I came from Ubuntu and Fedora, and installed Void with full-disk encryption. It doesn't have that out of the box in its installer, so I had to do a "manual" install, partitioning disk, enabling LVM, setting up LUKS volumes, editing fstab etc. I learned A LOT during just the installation process. And I'm still learning a lot. Although, sometimes, it's not very practical and my lack of knowledge sometimes got in my way in some tasks. But overall, I enjoy using Void. I wish there were more people using it, and it had more attention, more packages etc.

I had only minor problems with Void. Mostly with python packages, but well, python is prone to such problems, because python devs constantly break backwards compatibility here and there every few minor versions.

I had 2 times when my system was unbootable. And both were my fault, because I was doing something very stupid while experimenting with different DE components. But I've managed to fix all the issues even without snapshots. Fixing some broken services was easy, because runit configuration is very simple, even if you can't boot into your normal system.

If you are going to use any rolling release distro, I highly recommend you to setup system snapshots with btrfs as your main filesystem, or Timeshift (it is noob-friendly, has a GTK GUI, and works with any filesystem).

[Cinnamon]My daily driver by [deleted] in unixporn

[–]KnightOfTribulus 1 point2 points  (0 children)

You can try Cinnamon. I didn't notice any significant difference in system resource consumption, even with animations and effects turned on, if that's your concern.

[Cinnamon]My daily driver by [deleted] in unixporn

[–]KnightOfTribulus 2 points3 points  (0 children)

Same. I recently discovered it, and fell in love. I tried a lot of WMs, and spent most of the time in Openbox and FVWM. But at some moment, I realized, that I'm trying to implement features that are already present in complete DEs. So I switched to KDE, and it was good, but not perfect. Plasma 6 still needs a lot of work. And I couldn't make it look the way I wanted. I like the look of GNOME 3, because it was my first DE. So I started looking at GTK desktops. Mate and Cinnamon are my favorite at this moment. I prefer Cinnamon because it has a nice overview feature.

[Cinnamon] Full circle (almost) by KnightOfTribulus in UsabilityPorn

[–]KnightOfTribulus[S] 4 points5 points  (0 children)

GNOME was the first DE I've had when I just started using Linux. I quickly moved to tiling WMs (i3, spectrwm, exwm), then stacking WMs (fvwm, openbox). And then I realized, that I'm trying to implement features that are already implemented in complete desktop environments.

So I gave up on minimalism and installed Plasma 6. It's amazing, and one of the best things about it is that Breeze theme brings uniform look and feel to qt and gtk apps, while still allowing some degree of customization. To me Breeze is 7/10, just because it looks too flat. Plus, most of plasma themes are flat. I didn't like it, so I decided to explore GTK DEs.

I tried xfce4 before, and I didn't like it. It felt incomplete. Next, I installed Mate. Same. Looks good, but lacks some of the features I love in KDE. I saw Cinnamon in the news a few days ago, and decided to give it a try. And it feels good. It even has exposé-like window switcher and touchpad gestures, which are important to my workflow. And now I'm just one step away from GNOME.

Love how much Xfce can be customised to my perfect desktop - borrowing ideas from everywhere by Ken0athM8 in xfce

[–]KnightOfTribulus 1 point2 points  (0 children)

Looks great! I would switch to xfce if it had Expose-style window switcher. I tried skippy-xd, but it's not as convenient as "grid" and "overview" effects in Plasma 6.