Htop 3.0
81–90 of 112 posts
Re: Htop 3.0
#82Earlier quoted context omitted.
On Android, I don't see any ads with Firefox, but I do with Chrome. Edit: No, actually that is because I have uBlock Origin enabled on Firefox.
I looked with FF both with and without ublock, and I don't see any ads. I don't understand people who gripe about ads when the solutions are ubiquitous and friction-free these days.
Re: Htop 3.0
#83Earlier quoted context omitted.
Upvoted, this took me years to do myself. However, the config file annoys me now because every time I do something like toggling tree view with T or changing sort between CPU and memory with P and U it pops up in my dotfile repo’s list of modified files. I wish it only stored the stuff that’s buried down in the setup menu like what meters are at the top.
Agreed, I feel like there should be a way to mark changes as temporary instead of commiting to file every time. I found a workaround that seems to work though, once you're happy with your defaults you can do: chmod a-w ~/.config/htop/htoprc This way you make the file read-only and prevent htop from changing it. Also I had to add "vim_mode=1" directly in the rc file because I couldn't find the option in the menus. Unf…
mpv is one tool I think handles a kind of similar thing nicely: it has a main config file for long term settings, but also allows you to use Q instead of q to quit and save state (eg. playback position, speed, volume, etc.) in .config/mpv/watchlater/hashofurl (a separate file for each URL you play).
htop could save the single-keypress-changeable settings in, say, .config/htop/viewstate and only keep the other stuff that’s buried in the setup menu in the htoprc
Re: Htop 3.0
#84Earlier quoted context omitted.
Not on the whitelist of extensions for the current Firefox version. You'll need to build your own.
Yep. The most infuriating part of their sudden disabling of existing extensions and preventing users from installing non-whitelisted ones on mobile FF is that if extensions like uBlock Origin and NoScript will work you know that a simple redirector extension would too.
I knew https://addons.mozilla.org/en-US/firefox/addon/privacy-redir... could do the last two plus something for Instagram, searched https://duckduckgo.com/?q=nitter+invidious+instagram and lo and behold, https://www.oldd.it/r/privacy/comments/hpy82f/redirect_twitt....
I’d be surprised if HTTPS Everywhere wasn’t whitelisted. And if it isn’t, TIL you can use it to fix Reddit.
Re: Htop 3.0
#85Re: Htop 3.0
#86Reading this changelog I discovered that htop has a config file and a config menu. I started using it years ago as a drop-in replacement for top and I never went beyond the default but there are some very nifty things hidden in the option, such as being able to display process trees and custom thread names among many other things. If like me you never bothered to look into it just hit F2 in a running htop and start b…
Re: Htop 3.0
#87Earlier quoted context omitted.
Bat is a cat replacement with syntax highlighting, formatting options; it works great with fd. What's rg?
ripgrep (the binary name is rg) is a faster grep written in Rust.
Re: Htop 3.0
#88The original maintainer (creator) did an excellent job for 10+ years. Here is his response: https://github.com/hishamhm/htop/issues/992#issuecomment-683...
Didn't realize he'd taken a break. Guess that allowed him to develope tl[1]. [1] - https://github.com/teal-language/tl
Re: Htop 3.0
#89Earlier quoted context omitted.
Upvoted, this took me years to do myself. However, the config file annoys me now because every time I do something like toggling tree view with T or changing sort between CPU and memory with P and U it pops up in my dotfile repo’s list of modified files. I wish it only stored the stuff that’s buried down in the setup menu like what meters are at the top.
Agreed, I feel like there should be a way to mark changes as temporary instead of commiting to file every time. I found a workaround that seems to work though, once you're happy with your defaults you can do: chmod a-w ~/.config/htop/htoprc This way you make the file read-only and prevent htop from changing it. Also I had to add "vim_mode=1" directly in the rc file because I couldn't find the option in the menus. Unf…
So I have a /usr/local/bin/htop that does
#!/bin/bash
rm -rf ~/.config/htop
/usr/bin/htopRe: Htop 3.0
#90For those who like htop-style system monitoring tools, you should also keep these commands handy: - atop (great for finding out what's causing system-wide slowness when you're not sure whether it's CPU/disk/network/temperature/etc.) - iotop/iftop/sar (top equivalents for disk IO, network traffic, and sysstat counters) - glances/nmon/dstat/iptraf-ng (pretty monitoring CLI-GUI utils with more colors) - systemd-analyze…