| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Jul 2022 
				Location: Italy 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
			
			 
				
				How to share screenshots without USB connection
			 
			
			
			Hi everyone!  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Do you know a workaround in order to easily share the screenshots I can take with my Kobo? At the moment I need to connect the kobo to my pc using the USB cable but that's not very convenient. I thought of something like "KoboCloud" but that would work in a reverse way: it would share the file FROM the Kobo TO the Cloud. Does anything like that exist? Do you know other solutions to get the result I'm looking for? Thanks in advance  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 67 
				Karma: 143000 
				Join Date: Apr 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't know of any existing solution to this, but it shouldn't be too hard to create something like this. Let's suppose you're using Nextcloud/Owncloud, then you could create a share in which you allow uploads. Using curl (which is already included in KoboCloud) you can then upload any file to that share. To summarize: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	
 Hope this helps to get you going.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Ebook reader 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389 
				Karma: 5899335 
				Join Date: Oct 2008 
				Location: York, England 
				
				
				Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You're going to have to connect USB to charge the thing, so why not just transfer the screenshots then?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121 
				Karma: 67444 
				Join Date: Dec 2018 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You could try running an FTP server (with NickelMenu) on your Kobo device with which you could transfer those screenshots.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | ||
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Jul 2022 
				Location: Italy 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Two days ago I wrote a bash script that I launch through NickelMenu. It checks the internet connection, looks for screenshots in the root directory and it uploads (it's supposed to, at least) to dropbox with curl and deletes them after that. I still have a problem I can't fix: curl throws me an error about some missing certificates. I've already tried to run curl with the Code: 
	--cacert Quote: 
	
 Am I the only one with such a use case?  
		 | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Ebook reader 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 389 
				Karma: 5899335 
				Join Date: Oct 2008 
				Location: York, England 
				
				
				Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Each to his own. Nothing implied, I was just trying to help. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	By suggesting simply using a USB cable, I was applying Occam's principle of Do it the simple way. For me, but perhaps not for you, putting a lot of effort in to do it a way that I wouldn't find easier anyway, is pointless. But then my iMac has a USB C and micro USB cable permanently connected so I would say that. I don't do a lot of sharing, so think we oldies work differently from the way you youngsters do  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Jul 2022 
				Location: Italy 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It's not an age-related thing, it's more about the where & when we read  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Diligent dilettante 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,662 
				Karma: 52758936 
				Join Date: Sep 2019 
				Location: in my mind 
				
				
				Device: Kobo Sage; Kobo Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
   I too would love to be able to share screenshots when I take them.  I wonder if the bluetooth functionality in new Kobos might one day make this possible?
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 67 
				Karma: 143000 
				Join Date: Apr 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Jul 2022 
				Location: Italy 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sure! You can find it here: https://github.com/luke-gto/kobo-screenshot-uploader 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've decided to upload the screenshots to telegram because it's the messaging app I use the most. At the moment the script has very few features (only one actually) but at least it does what I need. Feel free to suggest any improvements  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 67 
				Karma: 143000 
				Join Date: Apr 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 If you have KoboCloud installed, you could just use their cert bundle, or download a bundle from the curl website: https://curl.se/docs/caextract.html - see also https://github.com/fsantini/KoboClou...ateCABundle.sh  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 67 
				Karma: 143000 
				Join Date: Apr 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			On a second note I've simplified your script and made it work with Nextcloud/Owncloud. It makes use of KoboCloud's curl and certificate bundle. I am not quite sure how to check for a connection, but wanted to use NickelMenu like this: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	menu_item :main :Sync Screenshots :nickel_wifi :autoconnect chain_success :cmd_spawn :quiet:/mnt/onboard/.adds/sync/sync.sh chain_success :dbg_toast :Syncing Screenshots Code: 
	#!/bin/sh
SCREENSHOTS="/mnt/onboard"
KC_HOME="/usr/local/kobocloud"
CURL="$KC_HOME/curl --cacert $KC_HOME/ca-bundle.crt --fail --silent"
HEADER="X-Requested-With: XMLHttpRequest"
URL="[Your Nextcloud/Owncloud instance]/public.php/webdav"
USER="[Your Share]:"
for i in $(find $SCREENSHOTS -maxdepth 1 -type f -name "screen_*.png"); do
  DATE=$(date -r "$i" "+%Y-%m-%d-%H-%M-%S")
  $CURL -u "$USER" -H "$HEADER" -T "$i" "$URL/kobo-$DATE.png"
  if [ $? -eq 0 ]; then
    rm $i
  fi
done
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Jul 2022 
				Location: Italy 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Btw, feel free to fork the repo and work on that   Ah, why don't you open a pull request, I'd like to implement your version of the config file! Let me know how I can attribute the work to you.Next thing I'm gonna do is implementing NickelMenu signals and slot. I want to have an option that lets the kobo to automatically connect to the wifi when the button for sharing the screenshot is pressed and then turn the wifi off. Last edited by not_lucky_luke; 08-06-2022 at 01:00 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Tags | 
| cloud, kobo, screenshot, share | 
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| usb connection | lumpynose | Onyx Boox | 1 | 04-28-2019 05:57 PM | 
| Share kindle internet connection via usb | maribu | Kindle Developer's Corner | 2 | 12-28-2014 12:06 PM | 
| Kindle DXG -- share the computer's connection via USB? | HansTWN | Kindle Developer's Corner | 1 | 01-20-2012 08:21 AM | 
| Hacks Is it possible to share the 3G connection of Kindle via WiFi? | palmtenor | Amazon Kindle | 12 | 12-05-2010 04:25 PM | 
| USB Connection | Kingston | iRex | 2 | 04-15-2008 10:36 AM |