Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync on demand #168

Open
berliozz opened this issue Oct 25, 2023 · 2 comments
Open

Sync on demand #168

berliozz opened this issue Oct 25, 2023 · 2 comments

Comments

@berliozz
Copy link

Does it possible to create Nickel Menu comand that allow call KoboCloud sync and disallow autostart sync for original script?
Why I request it? With new verision of KoboCloud me reader back to main screen when I wake up it. Few seconds I see open book, after it KoboCloud start sync and reader exit to Main screen.

@Glennza1962
Copy link

Same for me. I wondered why my Kobo was doing that!

@berliozz
Copy link
Author

berliozz commented Oct 26, 2023

Same for me. I wondered why my Kobo was doing that!

I was create the workaround.

  1. You need to create new patch, where remove kobocloud from autorun on book wake up. (You can download it here: https://disk.yandex.ru/d/hWkpHdGHHuRE_w).
  2. Install nickel menu: https://pgaskin.net/NickelMenu/
  3. Create next config:
    menu_item:main:Dropbox Sync:nickel_settings :enable:force_wifi chain_success:cmd_spawn:quiet:/usr/local/kobocloud/udev_program.sh chain_success:nickel_misc:rescan_books_full chain_success:nickel_settings:disable:force_wifi

The result is new menu on bottom right of main screen which contain Dropbox Sync item.
That looks little bit ugly and now I try to find how to remove this menu and move it to library.
Force_wifi need for wireless connection. It not enable WiFi, just force up connection. By default power management rules set device to stay disconnected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants