View Single Post
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#36
Originally Posted by Xagoln View Post
@sixwheeledbeast, how about making your app able to accept a command on the command line. Then we can all automate switching swap partitions using cron or alarmed or any other way we choose.

What do you think?
Have you looked in /opt/flopswap/script/

Remember at the moment this is a GUI to run scripts, all the scripts in this file should run from CLI, with application open or not.
However I wouldn't press a button and fire a CLI command at the same time.
The application is written in a way that QProcess shouldn't allow two buttons to run at the same time.


To Switch Swaps
Code:
sh /opt/flopswap/script/swapswitch.sh
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-12-18 at 12:33.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post: