Page 1 of 1

jumanji can't read --config-dir

Posted: 5. Sep 2012, 20:26
by Tim CowChip

Code: Select all

chris[~]$ jumanji --config-dir /home/chris/.config/jumanji/jumanjirc
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
error: Could not initialize database
error: coult not initialize jumanji

Code: Select all

chris[~]$ ls /home/chris/.config/jumanji/
bookmarks  cookies  history  jumanjirc	quickmarks
Jumanji works in salix-xfce-14.0alpha1-i486 but not salix-xfce-14.0alpha1-x86_64 when run from the menu. The command line code

Code: Select all

jumanji -c /home/chris/.config/jumanji/jumanjirc
produces the same error in both arches.

EDIT
When I run the command in Arch, jumanji opens the jumanjirc file as text.

Re: jumanji can't read --config-dir

Posted: 9. Sep 2012, 15:46
by fredg

Code: Select all

[fredg@nbook64:~] jumanji -c .config/jumanji/jumanjirc
error: Could not initialize database
error: coult not initialize jumanji
Yes, for me too.

But, when you run jumanji --help

Code: Select all

[fredg@nbook64:~] jumanji --help
UtilisationĀ :
  jumanji [OPTION...]  [url]

Options de l'aideĀ :
  -h, --help                Affiche les options de l'aide

Options de l'applicationĀ :
  -c, --config-dir=path     Path to the config directory
  -d, --data-dir=path       Path to the data directory

You see that with -c you have to enter the path to the config dir, without adding the jumanjirc file, then, it works.

++

Re: jumanji can't read --config-dir

Posted: 9. Sep 2012, 18:28
by Tim CowChip
Thanks fredg++

Code: Select all

jumanji --config-dir=/home/chris/.config/jumanji/
does work but still opens PWMT.org

Is there something wrong with my jumanjirc?

Code: Select all

    # jumanji configuration
    # search engines
    searchengine ggl http://www.google.com/search?q=%s
    searchengine wiki http://en.wikipedia.org/w/index.php?search=%s
    searchengine safo http://www.salixos.org/forum/search.php?keywords=%s
    searchengine sawi http://www.salixos.org/wiki/index.php/Special:Search?search=%s
    # browser settings
    set homepage http://www.salixos.org/start/en/
    set auto_save 60
    # Use privoxy for adblocking
    #set proxy localhost:8118
    # look n feel
    set font terminus medium 10
    #set stylesheet
    # file:///home/chris/.config/jumanji/style.css
    # Enable plugins
    plugin application/x-shockwave-flash
    # follow hints
    # script ~/.config/jumanji/scripts/hinting.js
    # downloads
    set download_dir /home/chris/Downloads/
    set download_command /bin/sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'";
    # keybindings
    map <C-,> nav_history previous
    map <C-;> nav_history next


I copied jumanjirc from my 32 bit install:

Code: Select all

jumanji configuration
# search engines
searchengine ggl http://www.google.com/search?q=%s
searchengine wiki http://en.wikipedia.org/w/index.php?search=%s
searchengine safo http://www.salixos.org/forum/search.php?keywords=%s
searchengine sawi http://www.salixos.org/wiki/index.php/Special:Search?search=%s
# browser settings
set homepage http://www.salixos.org/start/en/
set auto_save 60
# Use privoxy for adblocking
#set proxy localhost:8118 
# look n feel
set font monospace normal 9
#set stylesheet
# file:///home/chris/.config/jumanji/style.css
# Enable plugins
plugin application/x-shockwave-flash 
# follow hints
script ~/.config/jumanji/scripts/hinting.js
# downloads
set download_dir /home/chris/Downloads/
set download_command /bin/sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'";
# keybindings
map <C-,> nav_history previous
map <C-;> nav_history next
and now jumanji opens the Salix start page in 64 bit.

The only difference I can see is:

Code: Select all

set font monospace normal 9
instead of:

Code: Select all

set font terminus medium 10

Re: jumanji can't read --config-dir

Posted: 11. Sep 2012, 18:33
by Tim CowChip
I just noticed that jumanji won't "Open Link in New Window" in either 32 or 64 bit.

Re: jumanji can't read --config-dir

Posted: 2. Oct 2012, 06:37
by thom1
Tim CowChip wrote:I just noticed that jumanji won't "Open Link in New Window" in either 32 or 64 bit.
I think it's because of webkitgtk, not jumanji. I had the same problem with xombrero web browser until I upgrade to webkitgtk-1.8.