mkorenkov / ipad_charge

charge Apple devices under Ubuntu Linux
GNU General Public License v2.0
258 stars 72 forks source link

Create ipad_charge_gui_frontend.tcl #28

Closed superlinux closed 7 years ago

superlinux commented 11 years ago

GUI Frontend for ipad_charge:

In the project/source code folder, the file ipad_charge_gui_frontend.tcl is a Tcl/Tk script. Therefore, you have to install Tcl and Tk to be able to see a window with two buttons. One has [ON](turns the USB charger ON), and the other button has [OFF](turns the USB charger OFF). Please watch the following YouTube video to know how to install Tcl and Tk:

http://www.youtube.com/watch?v=nGLeZuyhz88

After installing Tcl and Tk, don't forget to set the executable bit/permission on ipad_charge_gui_frontend.tcl using the command running from the same source code folder:

chmod +x ipad_charge_gui_frontend.tcl

to run from the same folder: ./ipad_charge_gui_frontend.tcl

You can can on Classical GNOME Desktop Environment do the same by: 1- Right click the file ipad_charge_gui_frontend.tcl and go to and click [Properties] . 2- Click [Permissions] and then click [Allow executing file as a program]. 3- Press [OK] to save. 4- Double click the file ipad_charge_gui_frontend.tcl and then click [Run]. 5- The frontend now should be displayed.

affix commented 11 years ago

is this really necessary and does it warrant a commit to what is pretty much a charging method that has no impact on the system.

The application is only running if an iOS Device is connected to the computer over USB so turning it ON/OFF has no benefit to the user.

superlinux commented 11 years ago

i just did this because i did not want to type ipad_charge on the terminal with its options too much. and i think - not sure - USB disk mode does not work when in charge mode. its presence is not harmful anyway. بتاريخ 2013 7 24 22:30، كتبها "Keiran Smith" notifications@github.com:

is this really necessary and does it warrant a commit to what is pretty much a charging method that has no impact on the system.

The application is only running if an iOS Device is connected to the computer over USB so turning it ON/OFF has no benefit to the user.

— Reply to this email directly or view it on GitHubhttps://github.com/mkorenkov/ipad_charge/pull/28#issuecomment-21509825 .