Hi Jeff,
I looked into the ubuntu mobile package files, and figured out what was
done.
There is a proper way, and a quick way.
The proper way would involve adding things into gconf.
The quick way is just as follows:
1) Add a "Custom Application Launcher" to the panel you would like.
2) Choose whatever name, icon you want to give it.
3) Use the following as a command: xte 'keydown Alt_L' 'keydown F4' 'keyup
F4' 'keyup Alt_L'
Now, whatever window is in focus, if you click on the added launcher, it
will close it.
The command just simulates the keyboard shortcut Alt+F4, which is used to
close programs.
This requires the package "xautomation" to be installed.
Regards,
Ramaddan
Jeff <yam...@gmail.com> wrote on 10 Jun 2009, 02:05 PM:
Subject: Close Button
in intrepid Mobile there was a button on the top panel that closed the
active window. what is required to enable or create that from scratch?
Jeff
-- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify
settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile 

-----------------------------------------------------------------------------------------------------------------------
Send big files for free. Simple steps. No registration.
Visit now http://www.nawelny.com
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to