Wireshark-bugs: [Wireshark-bugs] [Bug 1476] New: Allow users to specify where Wireshark stores p
Date: Sat, 24 Mar 2007 18:10:24 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1476

           Summary: Allow users to specify where Wireshark stores plugins,
                    preferences, history, etc. on Unix
           Product: Wireshark
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: ryker@xxxxxxxxx


Build Information:
TShark 0.99.4

Copyright 1998-2006 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.12.9, with libpcap 0.9.5, with libz 1.2.3, with libpcre
6.6, without UCD-SNMP or Net-SNMP, without ADNS, without Lua, without GnuTLS,
with Gcrypt 1.2.2, without Kerberos.

Running on Linux 2.6.17-gentoo-r4, with libpcap version 0.9.5.

Built using gcc 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9).

--
It would be nice to allow users to specify where Wireshark stores user-specific
plugins, preferences, history, and so on.  Right now, the user-specific storage
on Unix is a ".wireshark" directory under a user's home directory.  I propose
detection of an environment variable, tentatively called $WIRESHARK_HOME, that
allows users to direct Wireshark to look elsewhere with fallback to the
existing behaviour.  This allows users to keep files organised according to
preference and creates a simple way of switching between different Wireshark
configurations in a single user account.

I will attach a trivial patch that implements/documents this behaviour.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.