Replies: 4 comments 6 replies
-
Core functionality - finding duplicates etc. is platform independent so there there is no problem in using it in Android or any other os(supported by Rust). The problem comes with GUI:
So there is basically 0% chance, that I will do this, but project is open source so anyone can try implement. |
Beta Was this translation helpful? Give feedback.
-
And for other mobile OS as well. |
Beta Was this translation helpful? Give feedback.
-
I tried to run krokiet on android via termux but have run into this issue slint-ui/slint#7145 |
Beta Was this translation helpful? Give feedback.
-
I got krokiet working in termux-x11 and termux + ssh. It turns out that winit does not report missing deps properly unless I had run a winit example. How I got czkawka/krokiet working. cargo build --release --target aarch64-unknown-linux-gnu
#copy binary to android
ssh -Y -C -p 8022 u0_a207@192.168.1.201 #needs -Y and -C helps a lot over wifi
apt install ttf-dejavu-glibc libxcursor-glibc fontconfig-utils-glibc libxkbcommon-glibc libxi-glibc libx11-glibc grun #it's important to install all of these as slint winit/slint will fail without reporting a proper missing dep
chmod +x ./krokiet
XDG_DATA_DIRS=$PREFIX/glibc/share SLINT_DEFAULT_FONT=$XDG_DATA_DIRS/fonts RUST_BACKTRACE=1 grun ./krokiet If you plan on using termux-x11 you cannot start krokiet with xstartup (nor would you want to) it is reccomended to use a window manager such as dwm or i3 to make sure you get the full usable space of you phone, then run I do recommend using SSH if possible since it makes it a lot better experience. Using tethered connection will make this easier, but one of the "remote desktop" solutions may be a lot faster and more stable. I haven't managed to get a large amount of images working on a 4G phone, it just OOMs too fast. You will want at least 6G phone and maybe setting sudo setprop ro.lmk.use_minfree_levels true # uses old oom method, relevant on A13+
sudo setprop ro.lmk.swap_free_low_percentage 8 #Sets 8% of swap left before hitting an OOM scenario (Android does NOT like swapping so maybe useless now)
sudo lmkd --reinit #restarts lmkd with new settings EDIT: It may be better to just use sshfs via termux |
Beta Was this translation helpful? Give feedback.
-
Would it be feasible to develop an apk of czkawka?
Beta Was this translation helpful? Give feedback.
All reactions