reallychris

joined 1 year ago
[–] [email protected] 6 points 1 year ago

this is the way

[–] [email protected] 1 points 1 year ago

xubuntu. stable and apps are reasonably up to date. i'll probably switch to mint with the whole snaps thing though. fedora is the one distro i never tried in my distro hopping phase though so...

 

right, so as the title suggests...

i like linux based OSes because you can pretty much mould your operating system to the shape of your brain. i call it cognitive ergonomy. and i'd like it to catch on. even on a relatively play-it-safe distro like the one i'm currently using, the repos are full of handy little applications to make life immeasurably easier for you, if they aren't installed already. thanks to xdotool, xdo, wmctrl, and sxhkd, pretty much any action can easily be bound to a shortcut key. for eg, i have xdotool search --name vimnote windowactivate || kitty --title=vimnote nvim -c "norm 13j" ~/notes/index.md bound to mod+n. it's so simple, and i was so proud of myself when i got it to work (i'm not really a scripty person). i just wanted to make something easy. then i wanted to make it a bit easier. then i was feeling like "idk this is still way too many key presses" so i found a way of making it even easier.

i've got a bunch of little hacks like this. before i found qmmp, i set up global keys for mpv so i could listen to podcasts on another workspace. i have ranger set up to give specific info from mediainfo as a preview for audio and video files. (which windows does easily in gui file browser but THAT'S NOT THE POINT OK)

anyway, the ubuntu forums and arch wiki are full of tricks that a lot of people want to set up, i'm curious as to the ones you had to set up for yourself.

[–] [email protected] 2 points 1 year ago

yeah i just read this post header, carried on scrolling, clicked another, and got sent to a sports post. i wouldn't mind knowing how this bug can manifest itself in such an oddly specific way, but only if it can be done in say, a character limit of 300-500 characters.

[–] [email protected] 3 points 1 year ago (1 children)

well, i eschewed motion plugins for so long, but i recently installed easy motion, to quote "maybe use it minimally so i don't have to change my work flow too much". i pretty much gave up using w, e, b and f within a day of installing it, replacing each of them with a more efficient reach for the same number of key presses. similar situation with ultisnips, thinking it'd be overkill for my needs. these both work really well with opening zsh commands in $editor too.

[–] [email protected] 1 points 1 year ago

this run on xubuntu i think. when i first switched to mint (xfce) a few years back i'd reinstall every month or so because i broke something, yes with enough misguided tinkering linux mint can be broken. then i'd spend a week-month on other distros, mx linux, peppermint, all the ubuntus, then manjaro that got me on to minimal installs, then arch btw, then endeavour, with my own awesome or openbox config. i thought i'd settled down for 6 months or so, but the threat of a bad package was always there (even though it never happened). when i got my latest laptop i installed mint again, with my openbox config. after a while i started noticing things weren't running quite right, so i just thought "instead of changing everything, just change what i need to" and went with xub for slightly more up to date repos. turns out i can get pretty much all the functionality i had with openbox out of xfce. so i've managed to stay on one install for about 18 months!

 

like the title says, i've been trying to replicate the snippet functionality of vim ultisnips, so i can expand "fn" into find ./ '*$1* , and then at $1 i can type "or" to expand to find ./ \( -name '*$1*' -o -name '*$2*' $3 \) $4. if i need to add a third pattern to that i can add onm at $4 to expand into -o -name '*$1*' $2 where i can add yet another onm at $2, or "! or" to add a bunch of patterns i can exclude. i have a bunch of these set up in neovim, for a bunch of commands, and they save me so much time, but when it comes to writing them in the terminal it feels like i'm typing in porridge.

i know i can open the current line in $EDITOR, and this is super useful, but it still breaks my flow more than i'd like, and unless the command is particularly long and awkward it's easier just to bash it out like a caveman.

there's also a tool called "pet", but despite going over the github page a few times, i can't work out whether it will offer the ability to nest snippets like this. it seems like it's just a glorified version of the functions i can set in my zshrc, where i'd need to write all the various combinations of the find command (for eg), rather than the flexibility of ultisnips. if you use pet and can confirm that it does this, then consider the thread closed ha.

sorry for the long post. i'm not really a codey scripty person, i'm just somebody who installed linux mint a few years back and realised that the command line is sort of really cognitively ergonomic (most of the time).

[–] [email protected] 2 points 1 year ago

one that might play better in northern england for me - an ironic "let's 'av it". not the full on "LET'S 'AV ITTTTTTTTTTT woo" just a dead pan 'right, let's 'av it, eh?'

[–] [email protected] 2 points 1 year ago

i hopped from arch/wm to xub too. tbh everything i learned from setting up awesome, qtile, open box etc helped me get really into the functionality of xfwm and make it really work for me. it's a little sluggish, but only compared to a completely bare bones wm. the distro hopping phase was a valuable learning experience, but i think this is a perfectly fine place to settle down.

i've been curious about the minimal edition. now that i've found replacements and workarounds in the ubuntu repos, i've been wanted to do a fresh install with that. i've got ~3100 packages just from trying stuff out and forgetting to uninstall it haha.

[–] [email protected] 14 points 1 year ago

yeah that one annoyed me especially as the only reason netflix ever made money was because they won the war of convenience against torrent sites.

[–] [email protected] 26 points 1 year ago (5 children)

my expectations weren't very high, given how the twitter exodus played out, seeing some of the people who made very bold statements about never coming back... coming back... and subscribing to twitter blue.

you're never going to take down a giant like reddit, or twitter, or facebook, or whatever, in one swift blow. they're probably going to get through this. and your average social media user doesn't want to bring down the status quo, they just want to look at funny pictures of dogs. and that's fine. the real victory to be had is showing people that things can be done differently. enough people will stay on fedi servers to keep a community going, and by the time the next bunch of disgruntled posters come along there will be more content to keep them engaged

[–] [email protected] 1 points 1 year ago

always nice to see peppermint rices. very underrated distro imo.

[–] [email protected] 2 points 1 year ago (1 children)

ah, this is mostly from my gtk theme, but now that i just remembered i did do a little bit of tinkering. i can't remember if there was anything else i needed to do, but i know that i needed to save this to .config/gtk-3.0/gtk.css. this gives the rounded edges, and corrects the foreground/background colours. i can't remember what it looked like originally but very few gtk themes actually matched well with the bar.

.xfce4-panel widget grid button.flat.toggle:checked
{
color: black;
border-radius: 10px;
}
.xfce4-panel widget grid button.flat.toggle:hover
{
color: black;
background-color: lightgrey;
border-radius: 10px;
}
.xfce4-panel .tasklist .toggle:checked
{
color: black;
border-radius: 10px;
}
.xfce4-panel .tasklist .toggle:hover
{
color: black;
background-color: lightgrey;
border-radius: 10px;
}
[–] [email protected] 0 points 1 year ago (3 children)

just the standard xfce one

10
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I know i've let this get a bit messy but eh it's a new community for me so I'm letting my hair down and posting some unix porn.

Look in the top left, I've bound workspaces to asdzxc. Cool eh? I wish tiling window managers did that. Can't have split keyboards on a laptop.

view more: next ›