linux

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

pathief, (edited ) in [SOLVED] How to customize dead keys under Wayland / Electron apps?
@pathief@lemmy.world avatar

I’m very happy to report that I found a solution to the problem: keyd. It’s amazing.

Instructions on the github project are crystal clear, but I’ll leave some instructions below for Arch Users

yay -S keyd

sudo systemctl enable keyd && sudo systemctl start keyd

Now you can configure the /etc/keyd/default.conf file to your hearts desire. keyd is very feature rich, check the man page to see everything you can do. You can even add layers to your keyboard. Very sweet.

My personal configuration so far (I will definitely expand it later when I bump into more problems)


<span style="color:#323232;">[ids]
</span><span style="color:#323232;">*
</span><span style="color:#323232;">
</span><span style="color:#323232;">[main]
</span><span style="color:#323232;">' = oneshotm(apostrophe, ')
</span><span style="color:#323232;">
</span><span style="color:#323232;">[apostrophe]
</span><span style="color:#323232;">a = a
</span><span style="color:#323232;">b = macro(space backspace apostrophe space b)
</span><span style="color:#323232;">c = macro(backspace G-,)
</span><span style="color:#323232;">d = macro(space backspace apostrophe space d)
</span><span style="color:#323232;">e = e
</span><span style="color:#323232;">f = macro(space backspace apostrophe space f)
</span><span style="color:#323232;">g = macro(backspace apostrophe space g)
</span><span style="color:#323232;">h = macro(space backspace apostrophe space h)
</span><span style="color:#323232;">i = i
</span><span style="color:#323232;">j = macro(space backspace apostrophe space j)
</span><span style="color:#323232;">k = macro(backspace apostrophe space k)
</span><span style="color:#323232;">l = macro(backspace apostrophe space l)
</span><span style="color:#323232;">m = macro(backspace apostrophe space m)
</span><span style="color:#323232;">n = macro(backspace apostrophe space n)
</span><span style="color:#323232;">o = o
</span><span style="color:#323232;">p = macro(space backspace apostrophe space p)
</span><span style="color:#323232;">q = macro(space backspace apostrophe space q)
</span><span style="color:#323232;">r = macro(backspace apostrophe space r)
</span><span style="color:#323232;">s = macro(backspace apostrophe space s)
</span><span style="color:#323232;">t = macro(backspace apostrophe space t)
</span><span style="color:#323232;">u = u
</span><span style="color:#323232;">v = macro(space backspace apostrophe space v)
</span><span style="color:#323232;">w = macro(backspace apostrophe space w)
</span><span style="color:#323232;">x = macro(space backspace apostrophe space x)
</span><span style="color:#323232;">y = macro(backspace apostrophe space y)
</span><span style="color:#323232;">z = macro(backspace apostrophe space z)
</span><span style="color:#323232;">
</span>

After editing /etc/keyd/default.conf make sure you run sudo keyd reload

AbidanYre, in Mosh: Like ssh, but better (e.g. local echo and persistent sessions across sleeps / network changes)

mosh with tmux makes it really painful when you have to go back to plain ssh

PseudoSpock, in Edit: Flatpak (possibly regression) issue caused by either xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome
@PseudoSpock@lemmy.dbzer0.com avatar

Flatpak on Arch? Is what you want not in the AUR?

jackpot,
@jackpot@lemmy.ml avatar

no flarpak on linux vut apparently this imapcts flatpak on arch as well

PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

I’m sorry, I found your response confusing. Arch is a Linux distro, I know flatpak is available for it. If there’s a bug with flatpak, I would expect it to be pretty much the same across most GNU based Linux systems. My question, however, was why use flatpak on Arch Linux at all, as the AUR has pretty much everything including the kitchen sink… unless you are developing flatpaks, I guess, in which then it would make sense to me.

You don’t owe me an explanation, it just sounded odd to me to be needing flatpak when there was AUR, was all.

mozz, in Why is Fedora called Fedora?
@mozz@mbin.grits.dev avatar

Red Hat was the corporate distro, Fedora is the casual version of it

genie,

*testing :)

zewm, in Mosh: Like ssh, but better (e.g. local echo and persistent sessions across sleeps / network changes)

How does this differ from something like tmux?

Jordan_U, (edited )

Tmux allows you to reconnect to a session, and helps guarantee that you will always be able to get back to your long running processes. For important long running processes, I still use tmux with mosh, because if the mosh client is killed (or you’re trying to “re-attach” from a different device, mosh won’t let you “re-attach” to that “session”.

Mosh allows you to roam, and suspend your machine, and whenever you resume it again, whatever network you’re now on, the connection is basically instantly re-established. You can often roam from WiFi to cellular data without even noticing. (Great when working from a phone, or just a laptop)

In my opinion, they are mostly orthogonal (and complementary).

Here’s the list of features from the home page. I’ve added my own comments after ‘’. If there is no ‘’, then the feature doesn’t exist for tmux (because it’s outside the scope of tmux):

Change IP. Stay connected. Mosh automatically roams as you move between Internet connections. Use Wi-Fi on the train, Ethernet in a hotel, and LTE on a beach: you’ll stay logged in. Most network programs lose their connections after roaming, including SSH and Web apps like Gmail. Mosh is different.

Makes for sweet dreams. With Mosh, you can put your laptop to sleep and wake it up later, keeping your connection intact. If your Internet connection drops, Mosh will warn you — but the connection resumes when network service comes back.

Get rid of network lag. SSH waits for the server’s reply before showing you your own typing. That can make for a lousy user interface. Mosh is different: it gives an instant response to typing, deleting, and line editing. It does this adaptively and works even in full-screen programs like emacs and vim. On a bad connection, outstanding predictions are underlined so you won’t be misled.

No privileged code. No daemon. * Same for tmux, but that’s less interesting since tmux is not a network service You don’t need to be the superuser to install or run Mosh. The client and server are executables run by an ordinary user and last only for the life of the connection.

Same login method. * Not really relevant to tmux, which doesn’t handle auth Mosh doesn’t listen on network ports or authenticate users. The mosh client logs in to the server via SSH, and users present the same credentials (e.g., password, public key) as before. Then Mosh runs the mosh-server remotely and connects to it over UDP.

Runs inside your terminal, but better. * This is common to both Mosh is a command-line program, like ssh. You can use it inside xterm, gnome-terminal, urxvt, Terminal.app, iTerm, emacs, screen, or tmux. But mosh was designed from scratch and supports just one character set: UTF-8. It fixes Unicode bugs in other terminals and in SSH.

Control-C works great. * Tmux can help with this too Unlike SSH, mosh’s UDP-based protocol handles packet loss gracefully, and sets the frame rate based on network conditions. Mosh doesn’t fill up network buffers, so Control-C always works to halt a runaway process.

bionicjoey,

Mosh is to SSH as Tmux is to Bash

Hellmo_Luciferrari,

I’m no expert, but this isn’t a terminal multiplexer.

zewm, in Why is Fedora called Fedora?

Red hat’s logo is a red fedora. It’s not that deep.

AbidanYre, in Why is Fedora called Fedora?

The RedHat installer used to have conflicting versions of the origin of the name RedHat.

Bitrot, (edited ) in Why is Fedora called Fedora?
@Bitrot@lemmy.sdf.org avatar

Mark Ewing used to wear a red Cornell lacrosse cap and when he would help in computer labs people would look for a the man in the red hat. The company was called Red Hat after Mark but their logo has been a person in a fedora for a long time.

Fedora is a community continuation of Red Hat Linux, which was discontinued in favor of Red Hat Enterprise Linux. Back when I was starting out Fedora wasn’t a thing, you downloaded Red Hat Linux for free directly from the company or could buy it in a box.

Dotdev, (edited ) in Which terminal emulator do you use?
@Dotdev@programming.dev avatar

Same here whatever the DE has I would use.

Though most common answers from others would be alacritty or kitty which I see the use but feels advanced in configuration.

satanicllamaplaza,

I use alacritty and I’m very very new to Linux. I actually found that working on the config files for alacritty helped me a ton with learning how to approach config files in general. So advanced maybe but simple enough to teach new users a ton of useful things.

kixik, in Which terminal emulator do you use?

Alacritty (with screen if I need a multiplexor)

makingStuffForFun, in Which terminal emulator do you use?
@makingStuffForFun@lemmy.ml avatar

I’m partial to a bit of Tilix personality.

BrianTheeBiscuiteer,

Sounds like there’s a ton of options but this is the first one I’ve found that supports copy-on-highlight and that’s a must for me.

mycoffeeisready, in Which terminal emulator do you use?

Alacritty (with tmux if I need a multiplexor)

BitSound,

You might also be interested in checking out Zellij, it’s like tmux with nice defaults

bionicjoey, in Mosh: Like ssh, but better (e.g. local echo and persistent sessions across sleeps / network changes)

Mosh is great but it annoyingly doesn’t preserve scrollback. So it needs to be combined with something like Tmux if you want to be able to see more than one page of terminal.

shartworx, in Which terminal emulator do you use?

kitty. it’s the first thing I install on a new machine.

miningforrocks,

And why do you usw kitty? For me its the hyprland default terminal emulator and I never had problems with it so I stuck with it

shartworx,

I tested kitty and alacrity when I first found out about advanced term emulators. I liked kitty more, but I don’t remember why. I use the kittens all the time. It’s super convenient to play a video or display an image in the terminal. Kitty works on most distros. I wish it worked on windows, too, so I could use it at work.

tourist,
@tourist@lemmy.world avatar

If you’re allowed to install WSL on your work machine, they recently (I think recently) added GUI support for linux applications.

If you install kitty on a WSL distro, you can use it like any other windows program.

You can access your windows file system from /mnt/

I don’t really know how they do the virtualization, so you may lose a lot of the performance benefits that kitty has.

Very clunky workaround, but it’s an option.

shartworx,
QaspR,

Ditto on that.

Hellmo_Luciferrari, in Which terminal emulator do you use?

Yakuake

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