Menu

ERROR when executing install script on CentOS 6.4

Anonymous
2013-04-04
2013-12-10
1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2013-04-04

    When I launch the install script I get an error at the Setting up Wallpaper section:

    gsettings: command not found

    From what I gather gsettings is an old BASH function. when I look into the OF.sh script I don;t see the command.

    Any help would be appreciated.

     
  • BGINFO for X and for Windows!

    Hello,

    Which BGINFO4X version are you using?

    You don't need to edit any bash function.
    The wallpaper settings are loaded from the file BGINFO4X.CONF.

    Please, take a look at the Quick Start Guide:
    http://sourceforge.net/p/bginfo4x/wiki/Documentation/#quick-start-guide

    Do you still have problems?

    Regards.

     
  • Anonymous

    Anonymous - 2013-04-05

    I haven't been able to play with it yet. I'll try looking at the conf file and see if I can get it to go.

    I' using the latest version available as of yesterday. I see the error when running the script but I may be missing something in the conf. I'll update as soon as I can.

     
  • Anonymous

    Anonymous - 2013-04-05

    hmmm still no dice.

    I left BGINFO4X.conf to the default, I don't have a need to change any tunables. I'd like to get it working vanilla first.

    When I execute BGINFO4X.sh everything looks ok until I hit:


    ------------Imaging wallpaper ...

    ./BIN/OF.sh: line 115: gsettings: command not found

    ---------------------------------------------------------------

    --- Sleeping BGINFO4x ... TIMER(s): 300

    I am running CENTOS 6.4 (x86_64), I couldn't find an RPM so I manually installed Imagemagick, tar zxvf BGINFO4X2.8.2.tar.gz and then ran BGINFO4X.sh.

    I looked at OF.sh, the block of code around line 115 makes reference to a $COMMANDIN variable. The block starts with:

    evalCOMMAND_OF(){ #Eval the command passed as parameter
    OF_DB $FUNCNAME $_HEADER_START

    Hope this makes sense.

     
  • BGINFO for X and for Windows!

    Hello,

    I see the problem: CENTOS is not directly supported yet, but I think that is possible integrate it easily.

    Can you send me the result of uname -a?
    Are you using gnome or kde? Which version of it?

    To do the integration, I think that is better to communicate us with a mailing list instead of the forum. Do you agree? If yes I will create one.

    Regards.

     
  • BGINFO for X and for Windows!

    Hello,

    I see what happens. The problem is due to the gnome version.

    Edit this in you BGINFO4X.CONF:

    OTHEROS_GET="gconftool-2 --get /desktop/gnome/background/picture_filename"
    OTHEROS_SET="gconftool-2 --type string --set /desktop/gnome/background/picture_filename ${WALLPAPER}"

    Note that ImageMagick could be installed with: sudo yum install ImageMagick, instead of compiling the sources.

    Tell me if it works.

    Thanks.

     
  • BGINFO for X and for Windows!

    Hello,

    I tested it with a livecd and it works ok.

    See the image.

    CentOS will be integrated in the next release.

    Regards.

     
  • BGINFO for X and for Windows!

    Please, try the last version http://sourceforge.net/projects/bginfo4x/files/

    It is ready to work with CENTOS.

    Thanks a lot.

     
  • minijay

    minijay - 2013-11-28

    Hi there.. im having the same issues.. i have installed the latest version but im getting a similar error... i added the lines of code you mentioned to the CONF file as this was not listed but it has not made any difference

    the error i get is ./BIN/OF.sh: line 111: gsettings: command not found

    the particular line in this file reads..

    RESULT=$(eval "$COMMANDIN"); RETURN_VALUE=$? #Exit status 0 = OK

    i am using Centos 6.4 (final) Kernel 2.6.32-358.23.2.el6.i686 GNOME 2.28.2

    any help would be greatly appreciated

     
  • BGINFO for X and for Windows!

    Hello,

    Change the following in IMMODE.CONF:

    LINUX_GET="gconftool-2 --get /desktop/gnome/background/picture_filename"
    LINUX_SET="gconftool-2 --type string --set /desktop/gnome/background/picture_filename \"${WALLPAPER}\""

    OTHEROS_GET/OTHEROS_SET was a typo.

    Tell me if it works. Regards.

     
  • minijay

    minijay - 2013-11-29

    hi there

    it kind of works... to the point the SH script completes without error but i dont get a desktop image.

    i copied your text exactly should i have changed anything ??

    i can see under the user that is logged in i now have a BGINFO4X folder which has a html page in but no desktop image that i can use... have i missed something ??

    thanks

    jay

     
  • BGINFO for X and for Windows!

    Hello,

    Are you launching the program as root or as your user?
    Can you paste your IMMODE.CONF?

    Thanks.

     
  • minijay

    minijay - 2013-12-03

    hi there ive tried running as both... as root i get an error saying it failed to contact the configuration server

    ive attached the current IMMODE file for you...

    please let me know what i have done wrong...

    thanks

    Jay

     
  • BGINFO for X and for Windows!

    Hello, The IMMODE.CONF seems OK. We need to debug a little.

    Use the attached DB.CONF and put in: BIN/CONF.
    Then execute the program:
    cd BGINFO4X
    ./BGINFO4X.sh.

    Attach the generated debug.log found in: TMP/BGINFO4X/$USERNAME/debug.log

    Thanks a lot.

     
  • minijay

    minijay - 2013-12-03

    hi there

    sorry do you mean copy this to the BGINFO4X/CUSTOM/CONF/ folder as under the BIN folder i do not have a CONF folder

    thanks

     
  • BGINFO for X and for Windows!

    Hi,

    Copy DB.CONF to BGINFO4X/BIN/CONF

     
  • minijay

    minijay - 2013-12-03

    hi i created the folder CONF in the BIN folder and ran the script again

    debug.log is from the user account and debug2.log is from the root account.

    i have had a quick look and it looks as if it is trying to run the windows one... is this correct ??

     
  • BGINFO for X and for Windows!

    Hello,

    The folder CONF should exist in BGINFO4X/BIN/. You don't neet to create it. Where is your program installed?
    It is doesn't exist, We should reinstall BGINFO4X (download the last version).
    Then check that the folder BGINFO4X/BIN/CONF exists.
    Then copy DB.CONF inside it and modify the LINUX_GET/LINUX_SET in IMMODE.CONF.

    Could you try?

     
  • minijay

    minijay - 2013-12-03

    hi there... ok reinstalled the software again using the latest version 3.2.4

    i run the script as root and i get a debug file but if i run it as the user i get permission denied messages

    hopefully this will be able to better help.

    debug file attached

    im sure its something i havnt done but i cant think what :)

    thanks

     
  • BGINFO for X and for Windows!

    Hello,

    What I can see is that you are using the user backupadmin. Is your login user?
    This is important: you must execute BGINFO4X with your login user, not root.

    If your run the program as your user and you get permission denied messages, can you past the messages here?

    If you are logged as backupadmin, can you try to execute:
    gconftool-2 --type string --set /desktop/gnome/background/picture_filename "/tmp/BGINFO4X/backupadmin/BG_backupadmin_GNOME-Happygnome_1280x1024.jpg"

    Past the errors.

    Thanks a lot.

     
  • minijay

    minijay - 2013-12-04

    hi there

    i did update earlier but it appears as if the post has gone missing ????

    the permissions errors are pointing to this user not having the correct permissions to access the /tmp folder i need to sort that.

    i ran the above script and this worked and has changed my desktop... just need to modify the layout

    what could be causing the issue ?

    thanks

    jay

     
  • BGINFO for X and for Windows!

    Please,

    Can you attach me the debug.log, requiredenvironment.log and softinstalled.log located in /tmp/BGINFO4X/your_user?

    Can you do a ls -la /tmp/BGINFO4X? Show me the output.

    Thanks.

     
  • minijay

    minijay - 2013-12-05

    hi there

    sorry for the delay

    ok output from the above command
    total 12
    drwxrwxrwx. 3 root root 4096 Dec 3 12:12 . (in green)
    drwxrwxrwt. 17 root root 4096 Dec 5 03:24 .. (in green)
    drwxr-xr-x. 2 root root 4096 Dec 3 12:23 backupadmin

    ive attached the files also for you

    thanks for all your help

     

    Last edit: minijay 2013-12-05
  • BGINFO for X and for Windows!

    Hello,

    Try this: rm -rf /tmp/BGINFO4X.
    Restart BGINFO4X. It works?

     
  • minijay

    minijay - 2013-12-05

    hi there

    im getting permission denied errors when trying to do this as the user. should i run it as root ??

     
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.