Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pressing Win+Z in Konsole dumps contents of /etc/hosts?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
KPF
n00b
n00b


Joined: 27 Oct 2019
Posts: 12

PostPosted: Sun Sep 29, 2024 12:55 pm    Post subject: pressing Win+Z in Konsole dumps contents of /etc/hosts? Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3398
Location: Canada

PostPosted: Sun Sep 29, 2024 5:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1663
Location: Germany

PostPosted: Mon Sep 30, 2024 5:50 am    Post subject: Reply with quote

Any change or missconfig in keyboard shortcuts? Or maybe a reset of them could help?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3398
Location: Canada

PostPosted: Mon Sep 30, 2024 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
42n4
n00b
n00b


Joined: 10 Feb 2015
Posts: 20

PostPosted: Wed Oct 02, 2024 7:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2130

PostPosted: Wed Oct 02, 2024 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum