Score:0

launch terminal applications, the aircrack tools, from the menu with desktop files

za flag

I am attempting to launch a terminal program from the menu. For example; "airmon-ng", I cannot launch from a desktop entry or find the correct syntax for the Exec. Below is an example of the desktop file.

[Desktop Entry]
    Version=1.0
    Type=Application
    Name=airmon-ng
    Exec=gnome-terminal -e '/usr/sbin/airmon-ng'
    Terminal=true
    Comment=Airmon-ng is used to manage wireless card modes and to kill unnecessary processes while using aircrack-ng. To sniff a wireless connection, you need to change your wireless card from managed mode to monitor mode and airmon-ng is used for that purpose.
    Keywords=shell;prompt;command;commandline;cmd;intrusion detection system;IDS;wireless;network;security;detector; monitor;sniffer;
Score:0
it flag

Instead of:

Exec=gnome-terminal -e '/usr/sbin/airmon-ng'

Use:

Exec=/usr/sbin/airmon-ng

and let your Terminal=true handle providing a terminal.

airmon-ng is the wrong program for this, read man airmon-ng aircrack-ng. airmon-ng simply reports the WiFi interfaces and exits, then the terminal closes. You seem to have been expecting a long running program.

Off Grid avatar
za flag
I get the same results with `Exec=/usr/sbin/airmon-ng` and `Terminal=true` the terminal window opens, I see some text for a second, then the window closes.It's an instant flash, `ps aux | grep airmon-ng` is not running.
waltinator avatar
it flag
`airmon-ng` is the wrong program for this, read `man airmon-ng aircrack-ng`.`airmon-ng` simply reports the WiFi interfaces and exits, then the terminal closes. You seem to have been expecting a long running program.
Off Grid avatar
za flag
No, I just expect it to open with the default output.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.