Ask Your Question
0

Disable "Recent File List" shown at startup? 4.4.0

asked 2024-08-29 12:43:54 +0000

luckman212 gravatar image

Hello!

I can't find any way to turn off the display of recent pcap files that takes up 1/2 the screen when launching Wireshark 4.4.0

image description

Is there a setting (hidden or otherwise...) to disable this feature?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-08-29 12:50:00 +0000

Chuckc gravatar image

updated 2024-08-29 12:51:01 +0000

Edit -> Preferences... -> Advanced
Search for "recent".
Set gui.welcome_page.show_recent to false.

edit flag offensive delete link more

Comments

Thank you, that works!

Just clarifying: I would have expected setting gui.recent_files_count.max to 0 would also do it, but it does not.

luckman212 gravatar imageluckman212 ( 2024-08-29 12:52:38 +0000 )edit

Yep - I saw that and will look at the code later today. :-)

Chuckc gravatar imageChuckc ( 2024-08-29 12:55:00 +0000 )edit

That does seem wrong, but note that the gui.recent_files_count.max setting also controls how many files are listed in the File->Open Recent option from the main window. If you want recently opened files listed there, but not on the welcome screen, then gui.welcome_page.show_recent is what you want to change.

johnthacker gravatar imagejohnthacker ( 2024-08-29 13:35:26 +0000 )edit

https://gitlab.com/wireshark/wireshar... - you can see that it's not allowed to set those two values to zero. I'm not entirely sure of the logic (I don't think anything breaks if they are zero, but haven't tested.) It's been that way for at least 20 years - https://gitlab.com/wireshark/wireshar...

johnthacker gravatar imagejohnthacker ( 2024-08-29 13:47:56 +0000 )edit

https://lists.wireshark.org/archives/...
The code was added to handle a different issue not to explicitly set the number of files.
If 0 is not a valid value then the user should be alerted at OK/Apply not silently change to a different value.

Chuckc gravatar imageChuckc ( 2024-08-29 16:54:03 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-08-29 12:43:54 +0000

Seen: 60 times

Last updated: Aug 29