http://www.linuxquestions.org/questions/linux-newbie-8/is-there-a-always-on-top-option-for-gnome-terminal-809611/
Says about wmctrl and its command to do "always on top"
http://multignometerm.sourceforge.net/web/doc/options.html
Refer this for --geometry option.
My scipt using these:
startMod1() {
echo "Running ${mod1}..."
cd ${project}/${mod1};
gnome-terminal -e "mvn clean jetty:run-exploded -e" -t mod1 --geometry=150x10+20+50 &
wmctrl -r mod1 -b add,above
}
startMod2() {
echo "Running ${mod2}..."
cd ${project}/${mod2};
gnome-terminal -e "mvn clean jetty:run-war -e" -t mod2 --geometry=150x10+20+300 &
wmctrl -r mod2 -b add,above
}
startMod3() {
echo "Running ${mod3}..."
cd ${project}/${mod3};
gnome-terminal -e "mvn clean jetty:run -e" -t mod3 --geometry=150x10+20+520 &
wmctrl -r mod3 -b add,above
}
startMod4() {
echo "Running ${simulator}..."
cd ${project}/${mod4};
gnome-terminal -e "mvn clean jetty:run -e" -t mod4 --geometry=150x10+20+780 &
wmctrl -r mod4 -b add,above
}
Says about wmctrl and its command to do "always on top"
http://multignometerm.sourceforge.net/web/doc/options.html
Refer this for --geometry option.
My scipt using these:
startMod1() {
echo "Running ${mod1}..."
cd ${project}/${mod1};
gnome-terminal -e "mvn clean jetty:run-exploded -e" -t mod1 --geometry=150x10+20+50 &
wmctrl -r mod1 -b add,above
}
startMod2() {
echo "Running ${mod2}..."
cd ${project}/${mod2};
gnome-terminal -e "mvn clean jetty:run-war -e" -t mod2 --geometry=150x10+20+300 &
wmctrl -r mod2 -b add,above
}
startMod3() {
echo "Running ${mod3}..."
cd ${project}/${mod3};
gnome-terminal -e "mvn clean jetty:run -e" -t mod3 --geometry=150x10+20+520 &
wmctrl -r mod3 -b add,above
}
startMod4() {
echo "Running ${simulator}..."
cd ${project}/${mod4};
gnome-terminal -e "mvn clean jetty:run -e" -t mod4 --geometry=150x10+20+780 &
wmctrl -r mod4 -b add,above
}
No comments:
Post a Comment