View previous topic :: View next topic |
Author |
Message |
KPF n00b
Joined: 27 Oct 2019 Posts: 12
|
Posted: Sun Sep 29, 2024 12:55 pm Post subject: pressing Win+Z in Konsole dumps contents of /etc/hosts? |
|
|
1. start Konsole
2. press Win+Z
3. have /etc/hosts dumped to screen
4. have 'sz' entered in command line
For example
Quote: |
username@hostname:~$
::1 ff02::1 ip6-allnodes ip6-localnet localhost
e00::0 ff02::2 ip6-allrouters ip6-loopback hostname
username@hostname:~$ sz
|
But there are no Win+Z or Meta+Z in keyboard shortcuts of System settings, or Konsole shortcuts.
(a) main Gentoo box, Plasma 6 session, its own Konsole.
(b) SSH to the second Gentoo box or Ubuntu box from the same main Gentoo box started in Konsole
(c) check in text console (TTY1 etc) ? impossible, as pressing Win switches to another TTY.
Xterm also does not show this behaviour. So it is Konsole.
What is this feature? How to change it?
Are there tons of users who demanded such nontrivial functionality? (Maybe I could use it too, for dumping some another file...) |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3398 Location: Canada
|
Posted: Sun Sep 29, 2024 5:53 pm Post subject: |
|
|
Same here, indeed, though it is not literally /etc/hosts in my case.
It gives only
::1 grizzly localhost
(grizzly is my machine), not IPV4 assignments, and there is no literally this line /etc/hosts. What I have there is
::1 localhost
So it looks like it dumps some network information |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1663 Location: Germany
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3398 Location: Canada
|
Posted: Mon Sep 30, 2024 3:13 pm Post subject: |
|
|
Banana wrote: | Any change or missconfig in keyboard shortcuts? Or maybe a reset of them could help? |
In my case I never touched keyboard shortcuts configuration. At least not that I remember. |
|
Back to top |
|
|
42n4 n00b
Joined: 10 Feb 2015 Posts: 20
|
Posted: Wed Oct 02, 2024 7:58 am Post subject: |
|
|
Meta+n (Win+n) gives the same result, but with sn on the command line.
I also tried to find Alt-o in konsole (interacts with mc), but failed.
In ~/.config/khotkeysrc I have found many strange shortcuts and ~/.config/kwinrc contains strange stuff, too.
But Win+n, Win+z, Alt+o remained not found. _________________ OS: Gentoo 2.15 gcc13/14/15
Kernel: Linux 6.10.10-zen1
KDE Plasma 6.1.5
WM: NVIDIA 4060/AMD Wayland
http://bit.ly/gen2ls |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2130
|
Posted: Wed Oct 02, 2024 10:59 am Post subject: |
|
|
I too get a network printout for Win+Z, or rather:
Code: | paul@hp ~ $
::1 hp localhost
paul@hp ~ $ sz | Note the input "sz" comes as part of the output, so I guess that's the "+Z" and the network line is from the "Win" key.
The output is not my /etc/hosts - that has a line for IPV4 127.0.0.1 as well as the IPV6 ::1 entry above, and a load of comments.
FWIW I've never knowingly set any keyboard shortcuts.
Dunno if that helps. _________________ Greybeard |
|
Back to top |
|
|
|