FS#7437 - Wireshark - Missing .desktop file
Attached to Project:
Arch Linux
Opened by Calorì Alessandro (axelgenus) - Wednesday, 13 June 2007, 09:57 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 09 May 2008, 17:23 GMT
Opened by Calorì Alessandro (axelgenus) - Wednesday, 13 June 2007, 09:57 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 09 May 2008, 17:23 GMT
|
Details
Description:
After installing Wireshark the only way to start it is from the terminal. No .desktop file is created in /usr/share/applications. Additional info: * package version : wireshark 0.99.5-3 * the filelist shows no .desktop file Steps to reproduce: 1) Install wireshark |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 09 May 2008, 17:23 GMT
Reason for closing: Upstream
Additional comments about closing: Not an Archlinux bug/feature request
Friday, 09 May 2008, 17:23 GMT
Reason for closing: Upstream
Additional comments about closing: Not an Archlinux bug/feature request
wireshark-root.desktop (3.1 KiB)
wsicon32.xpm (5.9 KiB)
I suggest to make a wrapper script that tests for existence of gksu/kdesu and run the program through one of them (or just run without gksu/kdesu if none available).
And include one .desktop that calls that wrapper script.
Same solution could be implemented for other similar packages (*parted comes to mind).
xterm -e 'su -c wireshark'
?
for example, I don't have it installed ;)
I like this solution:
Comment by Thomas Bächler (brain0) - Friday, 15 June 2007, 18:04 GMT+2
As Jan said, we could use TryExec and it would only show one entry if only gksu or kdesu is installed.
Comment by Jan de Groot (JGC) - Friday, 15 June 2007, 18:34 GMT+2
And it would show both when kdebase is installed on a gnome system with gksu. Playing around with the OnlyShowIn/NotShowIn option would fix that. Not shipping a root launcher would be easier though.
However, this should be fixed by mainstream ( == someone should send .desktop to wireshark devs ) because we try to do things this way.