Using slackware 13.1 and customizing my Fluxbox menu...
Essentially i have two points, work and home, that i connect to the internet with so i have within my menu this code
Code:
[submenu] (connect to) {pick your poison...}
[exec] (home) {iwconfig eth1 ESSID "home"}
[exec] (work) {iwconfig eth1 ESSID "work"}
[exec] (list!)
but sometimes i go on the road!
Essentially i want to make a command that will open a terminal and display available networks in the area if im not at home or at work...
but i dont know how to go about doing so, done some googling and found a code line that looked like something i wanted
Code:
gnome-terminal -x bash -c "ls; cat"
sadly i dont have gnome-terminal
So how would i execute this in rxvt? or another slack terminal.
(second thought here: I want to make it a condensed list, about 2-3 networks tops being displayed, what are the variables i would play with, within the opening of the terminal?_)