Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2018, 12:14 PM   #1
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Adding comments in Kobo eReader.conf file

Maybe a stupid question, but I don't recognise the language in the Kobo eReader.conf file and would like to add comments to it because I can't remember how some of the options work... Is it possible to add comments? Will comments need commenting out? With what character?

Thanks!
Mrs_Often is offline   Reply With Quote
Old 07-20-2018, 10:12 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
It is the INI file format. I've never looked before, but the Wikipedia article says that semi-colons are used for comments. I'd expect this to work as they are probably using a library from somewhere. I rename entries a little bit if I want to turn them off. These stay in the file, so the comments will probably work.
davidfor is offline   Reply With Quote
Advert
Old 07-21-2018, 03:46 AM   #3
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Quote:
Originally Posted by davidfor View Post
It is the INI file format. I've never looked before, but the Wikipedia article says that semi-colons are used for comments. I'd expect this to work as they are probably using a library from somewhere. I rename entries a little bit if I want to turn them off. These stay in the file, so the comments will probably work.


Interesting! Thank you lots!
Mrs_Often is offline   Reply With Quote
Old 08-01-2018, 09:50 AM   #4
Mrs_Often
Wizard
Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.Mrs_Often ought to be getting tired of karma fortunes by now.
 
Mrs_Often's Avatar
 
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
Update: semi-colon is indeed the correct character for adding comments to the config file... TextWrangler also recognises it. Comments save correctly.

However, after the device restarts, all comments disappear (and new feature settings that were added at the same time as the comments are still present).

Oh well.


EDIT: I just noticed the NightMode mod also uses ini file type for the configuration file, and it is full of comments, commented out with the # character. So I used # in the Kobo eReader.config file and success!

Interesting: if I leave the ; before the #, everything after and including the ; gets deleted...

Last edited by Mrs_Often; 08-01-2018 at 10:15 AM.
Mrs_Often is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo ereader.config file VirgoGirl Kobo Reader 6 01-06-2019 07:46 PM
Touch Can you still customize page refersehes in conf file? Spruta Kobo Reader 2 05-30-2016 07:08 PM
Kobo Reader.conf corrupted? chrisridd Devices 2 03-15-2014 06:59 AM
What is the difference between framework.fiona.conf vs framework.mario.conf kocoman Kindle Developer's Corner 1 03-19-2013 09:40 AM
Add comments when adding new books Ripplinger Library Management 6 07-28-2011 01:29 AM


All times are GMT -4. The time now is 06:05 AM.


MobileRead.com is a privately owned, operated and funded community.