operating_systems

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

DarkThoughts, (edited ) in TIL about KDE @ KDE Social

That link does not work on kbin as it links to "https://kbin.social/c/kde@lemmy.kde.social" instead of "https://kbin.social/m/kde@lemmy.kde.socia".

ericjmorey, (edited )
@ericjmorey@programming.dev avatar

Yeah Kbin still hasn’t fixed that. They should.

But that’s why I give both the relative and direct link.

Lemmy hasn’t come up with a good implementation for that issue. They should.

There’s a third party thing that works well for Lemmy instances but I haven’t gotten in the habit of using it. There’s no good mobile plug in for it either so I doubt it will catch on.

It really should be implemented in the core of both Lemmy and Kbin to not need to think about direct vs relative links in the vast majority of cases. And it shouldn’t feel like a hassle when you want to. This is both possible and attainable, but neither projects’ devs are interested in implementing it for various reasons.

I’m not going to contribute to either project because I don’t particularly like what Kbin is trying to be (this is just a personal preference and interest thing) and I don’t particularly like how the Lemmy devs are approaching the architecture and development of Lemmy on a technical basis.

There’s going to be a replacement for the core of lemmy that will just function better and make front end UIs way easier to build and maintain. I’m excited to see it take shape.

Lx32, in What's the best Linux alternative to Windows for gaming
@Lx32@feddit.it avatar

ATM I use PopOS on my rtx3050m laptop. Once you understand how to setup all the command for using the discrete graphics it runs flawless.

skookumasfrig,

I use PopOS too. With Lutris, most games run out of the box.

Lx32,
@Lx32@feddit.it avatar

The problem are only native linux games runned trought Steam. In hybrid mode they will not use the discrete graphic card. For the rest I have no problem

skookumasfrig,

I run my entire steam library that way. You need to enable steam play for all games.

Lx32,
@Lx32@feddit.it avatar

I know. I try to explain better. My laptop has the intel integrated graphics and the nvidia dedicated. From PopOs I usw the hybrid mode, zo both the card are running. From lutris and heroic I have no problem. I switch the toggle andthe game will run with the nvidia card. From steam all the games that will use proton use the nvidia card as default. While all native linux games not, they will use the intel ones if not specified.

followthewhiterabbit, in What's the best Linux alternative to Windows for gaming

Isn’t this Pop-OS’s thing? Being literally for the gamers on Linux?

wet_lettuce,

I dont know that its how they brand themselves, but Pop!_OS is a fantastic linux gaming distro.

Its based on Ubuntu, but they do several very important things: they update/patch the kernel with the latest drivers and goodness and provide the latest nvidia proprietary drivers. So you get the stability and durability of ubuntu + newer kernel support which means things like much more current mesa drivers (for radeon cards).

I’ve been using it full-time for 3 (or 4?) years now. I technically have my PC dual booting with Windows for gaming reasons, but since the steamdeck took off all of the big games I want to play are available on linux. I’ve logged into windows exactly 2 times and that was to run updates.

Pop has been rock solid and turned out to be a great gaming OS.

ctrl, in Linux gamers, what distro are you currently on?

gentoo!

i love the versatility it offers, but it’s very much so DIY. it has great documentation. anyone who considers themselves a “linux enthusiast” should try an install in a VM at some point or another, if nothing else it’s a great learning experience.

for gaming in particular: flatpak steam / lutris / bottles. it’s great because it’s completely distro agnostic. i can take the $USER/.var directory and put it on any distro with flatpak installed and it’ll just work.

nlm,
@nlm@beehaw.org avatar

I am starting to realize how handy flatpaks can be!

I’ve been distro hopping like a madman these last couple of days and it’s gotten so much easier to get going with my games now!

MarionWheeler, in Announcing Windows 11 Insider Preview Build 23493

I don’t really care about Windows copilot, so long as there’s an easy group policy to disable it.

Fiivemacs,

I don’t really care about <insert any windows ‘feature’>, so long as there’s an easy group policy to disable it.

Blanket statement.

ercas, in How do you recall your most used commands?

.bashrc.d and github.com/dvorka/hstr

MangoKangaroo, in How do you recall your most used commands?

I usually lean on fish autocomplete to remember things for me. Should I write stuff down? Yes. But I’m lazy, so this method is okay. Until I’m on a different machine and end up completely lost.

lnxtx,
@lnxtx@feddit.nl avatar

fish FTW! Write a fragment of the command used before and press the up key <3

MangoKangaroo,

I didn’t even know about arrowing up for partially-entered commands; I’ve just been relying on the first autocomplete that pops up. Thanks for that!

Icarus, (edited ) in How do you recall your most used commands?

I don’t do much with bash since I primarily do windows admin, but I run into the same issue with powershell.

I have a document in VSCode that I store frequently used commands and any kind of notation/documentation I need to take advantage of it in the future. It’s a lot of one or two liners for stuff I know I’m going to forget, like the once a month hyperv cluster update command 😂.

Similarly I’ve added functions to the powershell local and global profiles on my computer/group policy. (contextually similar to bashrc, bash_profile, that load when launching interactive or non interactive shells, as well as user context) That way i can easily execute repeptive commands without having to think!

Basically, I think we all have the same problem and we’ve forgotten more than we know lol

Ephera, in How do you recall your most used commands?

I’m using Fish, rather than Bash, and it has type-ahead suggestions, which help a lot.

So, I’ll type rsync and then it’ll show inline that I typed rsync -ah --info=progress2 a long time ago. And then I’ll be like, oh wow, this past-me-guy was very smart, I’ll be having the same.

Obviously, this is an imperfect system. If you run another rsync command without these flags, it won’t directly show these flags next time, because it’s not the most recent entry in history.
But it’s rare that I know I’ll want to run a command again in a few months, so it’s still really helpful.
And of course, there is nothing stopping me from creating aliases and scripts as well.

TehPers,

I use nushell, same thing with the suggestions. With nushell, you can also press up/down to traverse through the command history for commands starting with what you typed. For example, you could type ls and press up a bunch to go through ls | where size > 2kb, ls | where type == ‘directory’, etc (if you’ve executed those before).

comicallycluttered,

Same with fish. It actually shows anything if you just put in one part of the command, so you don’t need to specify the exact starting command (in case you might not remember).

Example (which I use regularly):

install, then up (and up and up, and so on), and I see everything I’ve ever used that has install somewhere in it.

So I’ll get results ranging from sudo apt install foo to sudo nala install foo to flatpak install foo.

It’s incredibly helpful.

furrowsofar, in How do you recall your most used commands?

I make a bash script for the whole process and document everything in Zim Wiki. I would only make an alias if I want to supply options to an existing command. Just how I do it.

Penguincoder,

Yeah I have actual notes and processes in my personal wiki too. I don’t like having to look up that one command that I only ever rarely use, like the I need to know if this webpage is serving a 200 or not… what did I do last time??

furrowsofar,

Zim is a desktop Wiki so no serving issues. The other thing I do is just list my script directory or grep it. If I know I have a script I can often find it that way.

bedrooms, in How do you recall your most used commands?

Me:

  • write it in a StackOverflow answer
  • or in a markdown notebook
  • keep it in zsh history search

but despite all my attempts of keeping records, whenever I need them,

  • ask ChatGPT
GammaGames, in How do you recall your most used commands?

What does your fuck alias do?

And for my answer: If it’s for a specific tool, I make a helper script. I have one for git and docker

Penguincoder,

Reruns the last command with sudo (root) cause I fuck up not remembering to sudo quite often.


<span style="color:#323232;">$ ncdu -rLx /
</span><span style="color:#323232;">Warning: error scanning 
</span><span style="color:#323232;">some directory sizes may not be correct
</span><span style="color:#323232;">
</span>

<span style="color:#323232;">$ fuck                                                                                                                                                                                                     
</span><span style="color:#323232;">sudo ncdu -rLx /                                                                                         
</span><span style="color:#323232;">[sudo] password for 
</span><span style="color:#323232;">
</span>
datavoid, in How do you recall your most used commands?

Up up up up up up up up up up up up up up up up up up up up up

mreiner,

CTRL+R to search previous commands can help cut down on the number of times you have to scroll up!

Bitrot, in How do you recall your most used commands?
@Bitrot@lemmy.sdf.org avatar

I put them in notes in Joplin.

Penguincoder,

I want to like Joplin and considered using it, but I don’t like the electron base it is. And then converting my existing KB to a new format yet again… ugh.

jarfil,

I’ve found Joplin to be “acceptable” to share notes from mobile. When sharing through a shared drive, it saves each note as a separate markdown file, so it technically is greppable plain text, my only gripe is it puts all the files in a single dir. I think it can also import them, or you could add notes directly to the dir.

Over time, I’ve migrated most of my KB to some sort of markdown: Zim Wiki, DokuWiki, Joplin.

I still have some locked up in MediaWiki dumps, probably should spin one up and migrate it all.

jarfil, in How do you recall your most used commands?

+1 for Zim Wiki. Write down all the process, document with concise high level explanations and keywords, then use the search function.

I also add a settings file to all my bashrc:

gist.github.com/jarfil/da3a5a45bf10e1803d18

It’s a mix of some aliases from across several distros, some from as far back as 4DOS and a part for Cygwin, a somewhat complex prompt colorizer that highlights remote/local and root/user shells, and some other stuff that’s piled up over the years.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • operating_systems@beehaw.org
  • random
  • meta
  • Macbeth
  • All magazines