View Single Post
Old 03-02-2013, 09:20 PM   #6
2bits
Enthusiast
2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.2bits writes the songs that make the whole world sing.
 
2bits's Avatar
 
Posts: 42
Karma: 40000
Join Date: Sep 2011
Device: Kobo Touch N905, Mini
Quote:
Originally Posted by GeoffR View Post
I tried adding userStyle.css to every directory in an epub, but it had no effect.

A similar reference in libnickel.so.1.0.0 is res:///hyphenDicts/
There is a directory usr/local/Kobo/hyphenDicts/ in the firmware archive KoboRoot.tgz, so perhaps these locations refer to somewhere in the firmware's hidden partition?

Edit: tshering by object file do you mean libnickel.so.1.0.0? I hadn't thought of that.

If the userStyle.css is meant to modify
"browser" display characteristics
(not ebook display), in linux
browsers place the user css file
in different locations depending
on the browser.

eg:

opera ...

/usr/share/opera/styles/user/"some-user-name.css"

chromium ...

/home/your-directory/.config/chromium/Default/User StyleSheets/Custom.css

firefox ...

/home/your-directory/.mozilla/firefox/myfirefox.default/chrome/userChrome.css
and
/home/your-directory/.mozilla/firefox/myfirefox.default/chrome/userContent.css


Since the kobo browser identifies as useragent:

Mozilla/5.0 (Linux; U; Android 2.0; en-us; AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

wherever an "Android/AppleWebKit" browser
puts the user css, in the system files,
is probably the location.
2bits is offline   Reply With Quote