You are not logged in.

#1 Today 00:02:36

ToedlichesAuge
Member
From: Deutschland, Sachsen-Anhalt
Registered: 2024-11-27
Posts: 6

[Solved] Arch i3 copy and paste /or change keybindings

Hello, after testing i3 Arch in a VM, I have now switched to real hardware (laptop).

In the VM I was able to copy with ctrl+Shift+c and paste with ctrl+Shift+Paste. I assume it would work the same with the real hardware.

But now I have the problem that the computer doesn't have an Insert key.

Is there any way I can use a different key as the Insert key? If so, how?

Or is there another way I can copy and paste?
Kind regards

Last edited by ToedlichesAuge (Today 16:49:30)

Offline

#2 Today 00:41:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,232

Re: [Solved] Arch i3 copy and paste /or change keybindings

Are you using a stock i3 configuration file?

Keybinding is the first thing you change when installing i3.

https://i3wm.org/docs/userguide.html#keybindings

You may want to look through that entire document.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 Today 00:57:29

ToedlichesAuge
Member
From: Deutschland, Sachsen-Anhalt
Registered: 2024-11-27
Posts: 6

Re: [Solved] Arch i3 copy and paste /or change keybindings

I use the standard config for i3.

I also used keybindings to open for example applications, like firefox.

But I dont know how to completly rebind a key, so that for example "end" is "insert".
Or how I can do, that when I for example press Mod+Shift+v, that then Mod+Shift+Insert is executed.

I could not find anything like that (which aktually works).

Do you or anyone ele has an idea.

Last edited by ToedlichesAuge (Today 00:58:23)

Offline

#4 Today 06:33:08

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [Solved] Arch i3 copy and paste /or change keybindings

Copy/paste in X11 is implemented in the clients, most GUI ones will support ctrl+c,x,v (the windows shortcuts)
Many/most clients will support windows-typical ctrl+ins (copy), shift+del (cut) and shift+ins (paste) - and because ctrl+c is historically sigint in shells, this would be the standard approach in terminal emulators.
Some terminal emulators will allow you to use the MS shortcuts w/ an additional shift (ie. ctrl+shift+c, as your OP mentions) but also ctrl+shift+v (though that's technically not necessary)

If you want to redefine copy,cut,paste shortcuts, that will have to happen on a per-client/toolkit base.
=> please elaborate on the concerned clients (I guess it's some terminal emulator here)

Offline

#5 Today 06:49:16

ToedlichesAuge
Member
From: Deutschland, Sachsen-Anhalt
Registered: 2024-11-27
Posts: 6

Re: [Solved] Arch i3 copy and paste /or change keybindings

Ok, thanks. I will look for a terminal emulator and try this. I'll get back to you when I have results.

Last edited by ToedlichesAuge (Today 06:49:27)

Offline

#6 Today 16:47:03

ToedlichesAuge
Member
From: Deutschland, Sachsen-Anhalt
Registered: 2024-11-27
Posts: 6

Re: [Solved] Arch i3 copy and paste /or change keybindings

Great news. I found an answer to my problem.
I installed "xterm" (but I think it already was installed, not sure)
And this was one solution (it is not quite what i wanted, but it works good (and I think I like it)):
https://askubuntu.com/a/1304063/2048377

Thanks to all. smile

Offline

Board footer

Powered by FluxBB