linux

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

lupec, in [SOLVED] How to customize dead keys under Wayland / Electron apps?

My situation is remarkably similar to yours down to the language, and I happen to have been considering a US keyboard as well so that’s disheartening to hear. I have nothing to add right now but will let you know if I come across anything helpful!

pathief, (edited )
@pathief@lemmy.world avatar

I love US keyboards for coding, it really improves the experience. Typing in portuguese, however, is not a good experience. The default american layout has the ~ key in a really bad spot. Typing à or ã is REALLY uncomfortable/weird. Fortunately, my keyboard has that key on the right side of the keyboard instead of the left, which greatly improves the experience.

The .XCompose file I linked in the main post is perfect and works great on X11. If you’re not yet on Wayland you can use it and have a great experience.

lupec,

Right, that all makes sense. I’ll definitely keep that .XCompose file in mind, wasn’t aware it even was a thing before your post. Also, do you mind sharing the specific keyboard you’re using for reference?

Side note, I’ve started using vim/helix a few months ago and the pt layout makes things a lot more awkward than I expected, that’s half the reason I’m considering a US keyboard lol

pathief,
@pathief@lemmy.world avatar

I’m using an Happy Hacking Keyboard Professional 2. Not most people’s cup of tea but I’ve grown used to it and it’s hard for me to swap to anything else now :P

lupec,

I can see why it’d be divisive with topre keys, no key markings and a pretty non standard layout but man does it look nice. Really appreciate what they’re going for there.

Anyway, thanks and hope you find a solution, I’ll drop by if I come across anything useful!

INeedMana, in My corsair k100 keyboard doesn't show up in openrgb
@INeedMana@lemmy.world avatar

Read this. You might need to change the code the program searches for

Dokuba,

im not sure how to change the code that this is talking about

INeedMana,
@INeedMana@lemmy.world avatar
  1. Download the code
  2. open Controllers/CorsairPeripheralController/CorsairPeripheralControllerDetect.cpp and change
    line 80: 0x1B7C -> 0x1B7D
  3. compile
  4. make install
Fecundpossum, in My corsair k100 keyboard doesn't show up in openrgb

You could give this a try instead. It’s a reverse engineered iCue driver which probably supports your keyboard and any other Corsair peripherals you may have.

Dokuba,

i tried ckb next and it didnt recognize my keyboard either

Fecundpossum,

Well, that’s unfortunate. I have all razer peripherals that work great with openrazer for a back end and polychromatic for a gui front end. I don’t have any corsair devices anymore so I can be much help. Good luck.

Grain9325, in ELI5 the whole Wayland vs X11 going on.

X is old and works for the most part but fixing stuff or adding features is hard.

Wayland is new and is supposed to be a successor to X, do what it couldn’t do and don’t repeat the mistakes from it. It should be a drop-in replacement like pipewire but isn’t. Features take long time to develop as devs are engrossed thinking of the best solution to make it happen. A lot of proposed solutions are dismissed as well.

LeFantome,

I think the drama around Wayland can be explained by the sentence “it should be a drop-in replacement like pipewire but isn’t”.

Without taking a side on that issue, I will point out that this was not a goal for the Wayland designers ( in their own words - I do not have time to go find a quote but have read this sentiment many times ). Wayland detractors agree with your sentence and, given that expectation, are legitimately upset and even confused that Wayland continues to gain mind and market share against X11.

If you feel that Wayland needs to be a drop-in replacement for X11, it is not ready and may never be. By that metric, some people see Wayland as a failed technology and perceive Wayland users as shills and zealots.

If you are interested in a display server that addresses some of the core design problems in X11 and do not mind moving to something new, Wayland is starting to look ready for prime-time.

If you are non-technical and / or unopinionated the debate is probably irrelevant. Wayland will most likely become the default on whatever Linux distribution you use sometime in 2024 or 2025. You will be a Wayland user. Maybe you already are.

If you are willing to step outside the mainstream, using X11 without Wayland is going to be possible for at least another decade. That said, I am saying “outside the mainstream” because not only will popular Linux distributions and desktop environments start to become Wayland only but the innovation is all going to move to Wayland. There will be many Wayland-only compositors, apps, and features. 5 years from now, not using Wayland is going to really limit the desktop experience. I expect some toolkits ( GTK, Qt, and maybe even WINE ) to drop X11 support at some point ( maybe not soon but sooner than 10 years maybe ). 5 - 10 years may seem like a long time but it will likely come faster than X11 stalwarts expect.

cybersandwich, in Trouble with Handbrake, PopOS and Accelerated AV1

Are you using the amdgpu ?

xyguy,

I am yes.

PINKeHamton, in best foss cad software?

I’m a music lover so im a bit bias but I think its the gnomes projects lollipop its a gtk (go figure) music playet

mariusafa,

Funny response ngl.

Atemu, in I'm an idiot (arm)
@Atemu@lemmy.ml avatar

There is unrar which is source-available but its license is unfree because it restricts usage. See: fedoraproject.org/wiki/Licensing:Unrar

harsh3466,

I do have unrar installed, but I’m not able to modify in place or add new files to the archive with it, which is the functionality I’m missing.

Atemu,
@Atemu@lemmy.ml avatar

Indeed it won’t modify rar archives. What do you need those for?

The typical flow for rar archives is to unpack them and then either leave the files on disk as plain files or put them into a better archive format such as 7z.

harsh3466,

My initial goal (before learning what a headache rar is) was to preserve the original file format. Now my plan is to convert them. I have to confer with my friend to see what format they’d prefer for the files. Probably end up using regular old zip.

Cowbee, in Looking to make the switch

It’s more important to make the swap in the first place than it is to pick the right distro, unless you dive straight into LFS or Gentoo or something. You’ll eventually find what you want and can swap easily enough, or you’ll find that you’re happy with what you have!

AI_toothbrush, in I'm an idiot (arm)

Im an idiot(leg) /s

harsh3466,

Hahahaha

Presi300, in Remmina not working with Windows 10 RDP anymore
@Presi300@lemmy.world avatar

You can try anydesk… Other than that idk how to help

ShortN0te, in Upgrade vs Reinstall

Both sides are absolutely valid. A complete new install is very easy when you only need to run a few scripts. A small setup with minimal dependencies should also not break that easily when you upgrade your distro release.

I personally always make sure that the way i do things in a distro is the way they intended. That’s how i keep my minimalistic Arch install and multiple larger Debian deployments going for years.

demesisx, (edited ) in X11 tiling WMs
@demesisx@infosec.pub avatar

You should check out XMonad. It’s the only formally verified tiling WM.

I got it working with NixOS and have my whole config online.

github.com/harryprayiv/nix-config/…/config.hs

I did some weird stuff with a custom Hue CLI Module for my lab. It’s a fun little, fairly kludgey example of something you could spin up super easily.

In Haskell (much of the time), they say if it compiles it ships! It’s a lazily-evaluated language which lends itself well to a config and it slots right into NixOS quite well since Nix is also a lazily evaluated purely functional language.

flashgnash, (edited )

Ooh that is amazing thank you for the config will help me get started with it

Though I didn’t end up getting on with qtile using python for config, I tend to prefer configs being dumb text files

What do you mean by formally verified?

demesisx, (edited )
@demesisx@infosec.pub avatar

infosec.pub/comment/5743487

I linked a definition to that a few comments down.

I also run a community on XMonad: infosec.pub/c/xmonad

ConstantPain, in Display blacks out while opening and closing applications on Wayland KDE.

My TV does this for some apps and games that do not support HDR.

jaxxed, in Yubikey on Linux?

yubikey works on every linux distro I have tried, and even on freebsd. Some people say it “works out of the box” but that part is not true on every distro. Every distro will recognize the device when it is plugged in, but not every distro will all 2FA actions out of the box, and almost no distro comes with the management tools.

On linux (and BSD) you can install a CCID tool to get the 2FA, which installs software that needs to be running (you can use the yubikey as a keyboard approach if you really need it) On Linux you can install a manager tool like ykman is easy, if you want to manage the tooling on your card On Linux you can setup PAM (authentication) so that yubikey can be used for logins, sudo auth etc On Linux you can use yubikey to do advanced things like manage the encryption keys for encrypted disks

As always, off to the Arch docs: wiki.archlinux.org/title/YubiKey

vhstape,
@vhstape@lemmy.sdf.org avatar

I appreciate the detailed response. I looked at the Arch wiki page and ensured that I have all packages listed. Still, the output of ykman info is “Error: No YubiKey detected!” :P

jaxxed,

What was your mesg/jpurnalctl output when you plugged in the key?

vhstape,
@vhstape@lemmy.sdf.org avatar

I do not get any messages. I’m starting to think there is an issue with my motherboard’s USB-C port. If I can get my hands on a USB-C to USB-A adapter, I can test this theory…

AutumnSpark1226, in Yubikey on Linux?
@AutumnSpark1226@lemmy.today avatar

I have tried a yubikey on ubuntu without any problems. Could you please describe what exactly isn’t working

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #