Ask Your Question
0

Can I disable dark mode in Windows version

asked 2023-11-22 20:24:34 +0000

Christian_R gravatar image

updated 2024-10-17 23:37:01 +0000

Guy Harris gravatar image

Hello, Wireshark 4.2 comes with the dark mode for windows. Can I disable the dark mode somewhere in Wireshark?

edit retag flag offensive close merge delete

Comments

Meaning that your Windows desktop is in dark mode, but you don't want Wireshark to be in dark mode?

Guy Harris gravatar imageGuy Harris ( 2024-01-02 20:04:52 +0000 )edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2023-11-23 13:20:09 +0000

Stig gravatar image

This is currently not possible, but you can follow issue 19328.

edit flag offensive delete link more

Comments

Thanks, for the answer. Hoping for soon fix.

Christian_R gravatar imageChristian_R ( 2023-11-24 21:03:13 +0000 )edit
0

answered 2024-10-17 11:41:01 +0000

bobobo gravatar image

updated 2024-10-17 12:00:38 +0000

grahamb gravatar image

it is possible the -platform windows:darkmode:=1 parameter works with 4.4.1

even loading the Wireshark via doubleclick on a pcap is possible as shown here

if you capable with some regedits (be aware that this is pro stuff and not really recommended, though it should work) set the value for the HKEY_Classes_ROOT\wireshark-capture-file\shell\open\command Standard to "C:\Program Files\Wireshark\Wireshark.exe" -r "%1" -platform windows:darkmode=1

here is a reg for an installation in C:\Program Files\Wireshark

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\wireshark-capture-file]
@="Wireshark capture file"

[HKEY_CLASSES_ROOT\wireshark-capture-file\DefaultIcon]
@="\"C:\\Program Files\\Wireshark\\Wireshark.exe\",1"

[HKEY_CLASSES_ROOT\wireshark-capture-file\Shell]

[HKEY_CLASSES_ROOT\wireshark-capture-file\Shell\open]

[HKEY_CLASSES_ROOT\wireshark-capture-file\Shell\open\command]
@="\"C:\\Program Files\\Wireshark\\Wireshark.exe\" -r \"%1\" -platform windows:darkmode=1"
edit flag offensive delete link more
0

answered 2024-01-04 07:26:50 +0000

Solution-1: Another alternative that is to change the system setting from dark mode to light mode which impacts the Wireshark setting permanently i.e., lets you open it in Light mode only no matter how many times you choose to open wireshark.

Solution-2: The previous user also mentioned the same thing, but I would advice if you are on your Start menu, select Wireshark and right Click on it, then click on Open File Location. Wireshark Folder Workspace opens up. Open the Wireshark Shortcut menu by clicking on properties and insert the value shared earlier {"C:\Program Files\Wireshark\Wireshark.exe" -platform windows:darkmode=1}. Click on Save and Continue. Once done, open the Wireshark Application again (remove previously saved Shortcut from desktop) and save the newly open Wireshark. Long process but it meets the requirement. Also no matter how many times you open the Wireshark be the newly appointed shortcut on desktop or from taskbar or from start menu, it opens in light mode.

Reference used: https://www.youtube.com/watch?v=kUjNw...

edit flag offensive delete link more

Comments

Appending the "-platform" switch to shortcut works when you click on the shortcut and then open a pcap. Unfortunately, this doesn't help with windows registry auto open (like when you open from within an email or double click from a windows folder). Even if you change the registry (which is doable) on next upgrade that goes away. And, if you're on a company laptop that prohibits changing registry you'll need to open an IT ticket every upgrade. Best would be for Wireshark to add a themes option setting in configuration.

atrain1111 gravatar imageatrain1111 ( 2024-04-30 22:10:07 +0000 )edit
0

answered 2024-01-02 20:01:19 +0000

cmaynard gravatar image

There does seem to be a way to work around this issue by modifying your Wireshark shortcut. Append -platform windows:darkmode=1 to the Target field, e.g.:

"C:\Program Files\Wireshark\Wireshark.exe" -platform windows:darkmode=1

Using darkmode=0 also works.

Ref: https://www.qt.io/blog/dark-mode-on-w...

edit flag offensive delete link more

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: 2023-11-22 20:24:34 +0000

Seen: 8,972 times

Last updated: Oct 17