jumanji can't read --config-dir

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

jumanji can't read --config-dir

Post 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.
ImageImage
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

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

Post 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.

++
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

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

Post 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
Last edited by Tim CowChip on 11. Sep 2012, 18:59, edited 1 time in total.
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

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

Post by Tim CowChip »

I just noticed that jumanji won't "Open Link in New Window" in either 32 or 64 bit.
ImageImage
thom1
Posts: 28
Joined: 16. May 2011, 09:40

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

Post 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.
Thomas Bourdon
Post Reply