NetSurf theme help
Rick Murray (539) 13840 posts |
I quite like the “Qute” theme, but would like to modify the button bar background to be grey (easier on the eyes). Problem is, !NSTheme crashes at startup with the following error: desktop/options.c options_read 63: failed to open file 'Choices:NSTheme.Choices' Fatal signal received: Segmentation fault Um… ;) Could somebody please email me a copy of the contents of their Choices:NSTheme directory (in case there’s more than just that one file it looks for)? Thank you. PS: I’m using NetSurf 3.11 CI #5312 and the theme does not install by downloading it (they were received as text files with the .theme extension removed – server issue?). A nice idea, but a work in progress… |
Paolo Fabio Zaino (28) 1882 posts |
@ Rick, I have NSTheme installed and it works fine without any extra files. which version are you using? All I have to do with mine is create a sprite files with sprites with the correct names, you can extract those from an existing theme and just replace them with your own sprites. Then decide the colouring composition usign NSTheme and then save everyting with NSTheme into a /theme file. HTH |
Rick Murray (539) 13840 posts |
I’m using whatever one I would have downloaded about two weeks ago. It doesn’t even start, see the snippet of the crash log in the previous message. As I said above, I like “Qute” but the white background is too garish so I wanted to tweak it… |
Rick Murray (539) 13840 posts |
If I create an empty config file, this happens: Fatal signal received: Segmentation fault Stack backtrace: ( 2ffa0) pc: 15824 lr: 298fc sp: 2ffa4 __unixlib_raise_signal() ( 2ffb0) pc: 29808 lr: 2a098 sp: 2ee50 __h_cback() Register dump at 0x2ffb4: a1: 6e a2: 1 a3: 6e a4: 490000 v1: 55dee0de v2: 2a098 v3: 2eedc v4: 0 v5: 1 v6: 0 sl: 2e210 fp: 2ee64 ip: 2ad26 sp: 2ee50 lr: 2a09a pc: b6f4 cpsr: 20000110 ( 2ee64) pc: b74c lr: 12420 sp: 2ee68 strcasecmp() ( 2ee7c) pc: 12400 lr: 12cd0 sp: 2ee80 messages_get() ( 2ee94) pc: 12c9c lr: 12d4c sp: 2ee98 ^translate_menu() ( 2eeac) pc: 12d34 lr: 24b44 sp: 2eeb0 ro_gui_menus_init() ( 2ef44) pc: 24928 lr: 124e4 sp: 2ef48 gui_init() ( 2ef58) pc: 124c0 lr: 1d234 sp: 2ef5c main() ( 2ef70) pc: 1d1bc lr: 8500 sp: 2ef74 _main() So I’m wondering if it’s actually crashing on failing to load some sort of message? Well, not my code to fix 1… ;) 1 I have bugs of my own, thanks. |
Paolo Fabio Zaino (28) 1882 posts |
I am totally happy to make a grey background version for you, given you are having issues running NSTheme, which grey would you like to have it?
I have noticed there is only one place to download it from, but wanted to ask (just in case). I am using release 0.02 (2005) just for the record.
Certainly look like so from the callstack. An strcasecmp() sounds like something that might be crashing for an empty and/or not null terminated string? NSTheme is certainly loading a message file which (obviously) you should have in !NSTheme.Resources.en (yes NSTheme seems to be using en instead of the more traditional UK) |
Rick Murray (539) 13840 posts |
Would it be possible to merge in a different file? I’m wondering if the mid grey texture that is the default Pinboard2 backdrop mightn’t work there? But – only if you want to, don’t spend time on my account…
Yup, that’s present. I presume it is correct. |
Paolo Fabio Zaino (28) 1882 posts |
So they way I’d do it, is extract the iconset you like, then create a new Theme with the name you want and configure its colours as you’d like. If that’s what you meant then the answer is yes, it’s possible.
Let me try…
Sure, no problem. I have to create a NetSurf theme for all my desktop themes anyway, so not a biggie to create one with existsing icons and just different colour schema. :)
I see, so not sure what is going wrong with your installation. On 5.28 it seems to be working fine (at least so far). |