PDA

View Full Version : [ubuntu] fluxbox/keys - two command using one combination of keyboard keys



rado3105
March 25th, 2012, 03:48 PM
I want to run 2 commands using pressing alt+v, it should be done using this command in fluxbox keys:
Mod1 V :MacroCmd {gksudo pon vpn-doma} {gksudo sh /home/r-c/.vpn-doma-routy}
but this doesnt work. I want to first execute this command: gksudo pon vpn-doma and after executing this: gksudo sh /home/r-c/.vpn-doma-routy
When I execute it separately in terminal, it works. ALso I restarted fluxbox enviroment. Can you help?

rado3105
March 25th, 2012, 05:37 PM
I solved it thanks:

http://rado3105.blogspot.com/2012/03/how-to-install-and-seup-vpn-client-in.html