| 
			
			 | 
		#1096 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,006 
				Karma: 71261339 
				Join Date: Feb 2009 
				
				
				
				Device: Kobo Clara 2E 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thanks.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1097 | ||
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
  | 
||
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1098 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,006 
				Karma: 71261339 
				Join Date: Feb 2009 
				
				
				
				Device: Kobo Clara 2E 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1099 | |
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 At some point, pgaskin might add the ioctl binary to the NickelMenu install but given how busy he has been for the last while, I wouldn't hold my breath waiting.  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1100 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kobo ships the ioctl binary, we've already had the discussion (possibly in this very thread) with the very same people (namely, Jon) with example code. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			EDIT: Yup. (See surrounding pages (~65) for context and more examples) Last edited by DNSB; 09-14-2023 at 06:07 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1101 | |
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1102 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,006 
				Karma: 71261339 
				Join Date: Feb 2009 
				
				
				
				Device: Kobo Clara 2E 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	ioctl /dev/ntx_io 241 -v 0 ioctl /dev/ntx_io 241 -v some-number I appreciate the "teach someone to fish, ..." philosophy, but sometimes you have to give them the fish.  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1103 | 
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No worries, I think I followed the exact same train of thought at the time, until I actually sat down and tried it on a device ;p.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1104 | |
| 
			
			
			
			 BLAM! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506 
				Karma: 26047202 
				Join Date: Jun 2010 
				Location: Paris, France 
				
				
				Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I can't speak for the NM-specific bits as I don't know the syntax off the top of my head, and cannot test it readily as I don't actually run Nickel most of the time  .Something based on cmd_spawn ought to do the trick, though.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1105 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,006 
				Karma: 71261339 
				Join Date: Feb 2009 
				
				
				
				Device: Kobo Clara 2E 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I actually want two menu entries: set dark mode true AND set the light level to a value Set dark mode false AND set the light level to a different value I think I can work my way through that.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1106 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,776 
				Karma: 16319690 
				Join Date: Sep 2022 
				
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Based on the KOReader code, it looks like you can also do something like: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	echo 10 > /sys/class/backlight/mxc_msp430.0/brightness to set the backlight to 10% and: echo 5 > /sys/class/backlight/lm3630a_led/color to set the warmth to 50% on the Libra 2. Older devices require the ioctl method, though, and I haven't actually tried this yet.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1107 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			delete post
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by JSWolf; 09-14-2023 at 11:44 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1108 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 16 
				Karma: 10 
				Join Date: May 2019 
				
				
				
				Device: Kobo Aura ONE 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hello all, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	after uninstalling NM, redoing a fresh firmware installation, and applying some patches, including "Replace adobe page numbers toggle with invert screen", I can see the new setting, but it does not work anymore. Manually editing the setting inside ".kobo/Kobo/Kobo eReader.conf" works. What can I do to regain the right behavior? Thanks for any hint.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1109 | 
| 
			
			
			
			 Teluk Biru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 161 
				Karma: 348662 
				Join Date: Jan 2023 
				
				
				
				Device: Kobo Clara 2E 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi,  
		
	
		
		
		
		
		
		
		
		
		
		
		
			To do invert, I think you should reboot your device to make it work. I use the below command in nickelmmenu configuration: Code: 
	menu_item :main     :Invert             :nickel_setting :toggle :invert
     chain_success  :nickel_orientation :swap
the other command is below and it will reboot your device in order to do the invert: Code: 
	menu_item :main     :Invert             :nickel_setting :toggle :invert
     chain_success  :power :reboot (edit colon power :reboot)
Last edited by hatuluang; 09-18-2023 at 03:44 PM. Reason: Added code block to get rid of smiley  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#1110 | |
| 
			
			
			
			 Member 
			
			![]() Posts: 16 
				Karma: 10 
				Join Date: May 2019 
				
				
				
				Device: Kobo Aura ONE 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 But I'm asking about the setting behavior after uninstalling NM.   That patch works normally until I installed NM, after that it stops working even uninstalling NM.
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| kobo, launcher, ldpreload, nickel | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 05:35 AM | 
| kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 07:40 AM | 
| Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 03:13 PM | 
| Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 02:46 PM | 
| Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 07:42 AM |