First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How can i change the theme of wireshark to dark or in any other colours.

How can i change the theme of wireshark to dark or in any other colours. Because sometimes i can't read many words in it.

Mr.Negi's avatar
1
Mr.Negi
asked 2020-12-10 18:08:23 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Which operating system (linux, Windows, Mac) are you running Wireshark on and which Wireshark version?
(adding output of wireshark -v or Help->About Wireshark will show both of these and more)

Chuckc's avatar Chuckc (2020-12-10 21:41:41 +0000) edit
add a comment see more comments

1 Answer

0

This is a workaround to enable dark theme in KDE Fedora Linux.

My system info:

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland

Of course you will need to run wireshark as root, so the theme settings for your current user will not apply for the root user. All you need to do is logout from your current user and login again as root, then change the theme settings for the root user to dark. Logout and login again to your normal user and you will find that the app now has the dark theme.

CasualShmoe's avatar
1
CasualShmoe
answered 2023-08-22 01:20:13 +0000
edit flag offensive 0 remove flag delete link

Comments

Of course you will need to run wireshark as root,

You should NEVER need to run Wireshark as root. To quote the Packaging Guidelines section of the Wireshark Developer's Guide:

WIRESHARK CONTAINS OVER THREE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT.

Take this seriously.

The capturing work in Wireshark done by a program, called dumpcap, that's part of the Wireshark package. That program might require elevated privileges, possibly but not necessarily including root privileges. The Wireshark GUI application does NOT need them, as long as dumpcap is given them - and dumpcap gives those privileges up as soon as it no longer needs them.

On Linux, capturing network traffic on a regular network interface requires extra privileges but not root privileges, and, at least on some distributions, dumpcap can be configured so that it is automatically granted those privileges.

At least on Fedora 38, if ... (more)

Guy Harris's avatar Guy Harris (2023-08-24 07:39:28 +0000) edit

Thanks a lot that was helpful

CasualShmoe's avatar CasualShmoe (2023-08-24 17:46:50 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer