07:00:12 -xmr-pr- JeremyRand opened pull request #3364: Makefile: Add ppc64le target 07:00:12 -xmr-pr- > https://github.com/monero-project/monero-gui/pull/3364 12:44:20 hello 12:45:01 how to insert this function for enabling mining without clicking 12:45:03 walletManager.startMining(appWindow.currentWallet.address(0, 0), soloMinerThreadsLine.text, persistentSettings.allow_background_mining, persistentSettings.miningIgnoreBattery) 12:46:19 Is there anthing like "onWalletLoaded" or similar function ? 12:49:33 https://github.com/monero-project/monero-gui/blob/master/main.qml#L538 12:54:43 so is enough to insert that on main.qml:538 12:55:18 maybe 12:56:29 ok i'll try it right now 12:58:14 did i insert it right or no http://paste.debian.net/1190245/ 12:58:51 most likely no 12:59:00 ? 12:59:02 just hard code the values you want 12:59:14 how 12:59:27 there is no soloMinerThreadsLine.text in main.qml 12:59:38 so just write the amount of threads you want instead 13:00:13 You probably want to replace appWindow.currentWallet with wallet too. And add "if (wallet.status == Wallet.Status_Ok)" right before it. 13:00:43 (judging from the code you pasted) 13:02:51 http://paste.debian.net/1190246/  now? 13:04:19 if (wallet.status == Wallet.Status_Ok) { walletManager.startMining(wallet.address(0, 0), 1, true, false); } 13:04:26 My best guess. 13:04:40 ah ok 13:05:06 If it complains about true and false, replace by 0 and 1, respectively. 13:05:18 er, 1 and 0. 13:05:42 ok but about miningIgnoreBattery 13:06:05 if is on latptop with battery? 13:13:01 If you're on battery and still want it, replace the last false with true. 13:14:14 ok thnx 13:37:15 failed because we need to insert that function after daemon is connected 13:38:37 how to find the line that make sure daemon is connected 13:39:36 the function started but failed because daemon was not connected yet 13:39:51 look through main.qml 13:44:13 function onDaemonStarted() 13:44:16 this one? 13:44:18 The daemon mines, not the wallet. So the daemon has to be connected if you want to mine that way. 13:44:51 yes so we need to start daemon and after run that function 13:47:55 daemonManager.start(flags, persistentSettings.nettype, persistentSettings.blockchainDataDir, bootstrapNodeAddress, noSync); 13:48:07 not sure how daemon start 13:49:13 How about adding, in onDaemonStarted: if (appWindow.currentWallet) walletManager.startMining(appWindow.currentWallet.address(0, 0), 1, true, false); 13:49:51 i'll try it right now 13:50:10 I assume appWindow.currentWallet will work as true/false... might need if (appWindow.currentWallet != null) or something like that. 15:30:12 -xmr-pr- mrx23dot opened issue #3365: Associate 'monero:' URI in OS 15:30:12 -xmr-pr- > https://github.com/monero-project/monero-gui/issues/3365 16:34:29 ErCiccione: please take a look at https://github.com/monero-project/monero-gui/pull/3363 16:37:58 .merge+ 3361 16:37:58 Added 20:46:57 .merge+ 3363 20:46:57 Added