| 
			
			 | 
		#16 | 
| 
			
			
			
			 Developer's Corner Mascot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486 
				Karma: 1277790 
				Join Date: Sep 2013 
				
				
				
				Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've tryed modifying galculator.conf too... not working. I've tryed also with displayctrl files, changing the height and width of the buttons, but nothing happens  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			~/somethingorother/galculator.conf
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Going Viral 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212 
				Karma: 18210809 
				Join Date: Feb 2012 
				Location: Central Texas 
				
				
				Device: No K1, PW2, KV, KOA 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Does it expect a writable directory for the user 'root' home directory then? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	That may be the difference, you normally have yours re-directed to a writable file system - - Other people may not have that modification. Just guessing here, but maybe . . . . .  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			yeah. something about the HOME env_var it is not honouring probably. will dig later. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			most people will possibly find it in /tmp/root/blah.conf (or w/e the regular people live) EDIT: I could just emit the local config file to the right location at startup and forget about it... In the short term. Last edited by twobob; 09-19-2013 at 09:56 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477 
				Karma: 445678 
				Join Date: Feb 2010 
				
				
				
				Device: Too many.. 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			i had changed home from /tmp/root to /home/root.. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	couldn't see any .conf file in both places..  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | |
| 
			
			
			
			 Going Viral 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212 
				Karma: 18210809 
				Join Date: Feb 2012 
				Location: Central Texas 
				
				
				Device: No K1, PW2, KV, KOA 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 http://kual.knetconnect.com/kindles-...g-custom-apps/  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'll strace it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	see what it is up to. gimme 5  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Code: 
	stat64("/mnt/us/extensions/system/etc/home/root/.config/galculator/galculator.conf", {st_mode=S_IFREG|0755, st_size=1253, ...}) = 0
open("/mnt/us/extensions/system/etc/home/root/.config/galculator/galculator.conf", O_RDONLY) = 5
try echo $HOME to check what the {/mnt/us/extensions/system/etc/home/root}/.config/galculator/galculator.conf" bit should be...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I can happily shove a  
		
	
		
		
		
		
		
		
		
		
		
		
	
	cp /mnt/us/extensions/galculator/.config/galculator/galculator.conf ~/.config/galculator/galculator.conf in the script... as I mentioned before.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			mkdir -p ~/.config/galculator;  
		
	
		
		
		
		
		
		
		
		
		
		
	
	cp /mnt/us/extensions/galculator/.config/galculator/galculator.conf ~/.config/galculator/galculator.conf seem to work just fine. (I edited the first conf and it did indeed honour the copy...) want that in the startup script? suppose it can't hurt...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			updated top zip to  
		
	
		
		
		
		
		
		
		
		
		
		
	
	cp /mnt/us/extensions/galculator/.config/galculator/galculator.conf ~/.config/galculator/galculator.conf have to "do".  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | |
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477 
				Karma: 445678 
				Join Date: Feb 2010 
				
				
				
				Device: Too many.. 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 also if ~ is /tmp/root then it's read only..?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#28 | |
| 
			
			
			
			 (offline) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907 
				Karma: 6736094 
				Join Date: Dec 2011 
				
				
				
				Device: K3, K4, K5, KPW, KPW2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 b) if it's /tmp/root (the default), then it's writable, but will disappear after a reboot. That's why just copying stuff there is the easiest solution.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#29 | 
| 
			
			
			
			 ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586 
				Karma: 6299993 
				Join Date: Jun 2012 
				Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) 
				
				
				Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What Ixxy said. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Also... since you are likely to be making EDITS to the /mnt/us/extensions/galculator/.config/galculator/galculator.conf I would have to run a diff or something to determine whether or not to copy it across...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#30 | 
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405 
				Karma: 2330752 
				Join Date: May 2012 
				
				
				
				Device: kt 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Looking into galculator source I noticed that you can set a custom location for a config file by setting GALCULATOR_CONFIG variable.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| calculator, launcher add-ons, twobob | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Troubleshooting Kindle for PC ver 1.5.0 seems to have died | Mike L | Amazon Kindle | 4 | 07-31-2012 04:34 AM | 
| Kindle Touch upgrade ver 5.1.0 Problem | sigster | Kindle Developer's Corner | 5 | 04-30-2012 08:46 PM | 
| Kindle 3 ver 3.3 will not jailbreak. | berni29 | Amazon Kindle | 7 | 02-12-2012 11:11 AM | 
| Ver 0.8.34 | sirius911 | Library Management | 1 | 01-06-2012 10:05 AM |