LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xmessage: command not found (https://www.linuxquestions.org/questions/linux-newbie-8/xmessage-command-not-found-479316/)

Cirdan 08-31-2006 11:39 PM

xmessage: command not found
 
Yo everyone. I tried to set my wallpaper for fluxbox using fbsetbg -f but it gave me an error:
fbsetbg line 169: xmessage: unknown command

What is the problem? Archlinux, XOrg, Fluxbox. all are latest version.

nmn 08-31-2006 11:52 PM

Its trying to use xmessage to give you a message. basically, xmessage needs to exist to see the messagee :) no matter, you can trace the message it tries to send.

Try doing this:

whereis fbsetbg

and use a text editor to find line 169 of fbsetbg. the whereis should say where it is. Use an editor with a line number indicator :) Also its useful to be root while your at it... if whereis wont find it, try

find / -name fbsetbg

Then post what the line says. If the message lasts longer than a line, post it all. Also, read it :) it should be error or message that can explain wtf is up.

Cirdan 09-01-2006 12:11 AM

Post what the lines are in the fbsetbg?

Code:

        if find_it gxmessage; then
            gxmessage $extra_args -center "$command: $@" &
        else
            xmessage $extra_args -center "$command: $@" &
        fi

BTW, xmessage: command not found is the only error popping up.

nmn 09-01-2006 12:28 AM

Ok. That confused me... So i looked up the file.. only to find that function was to detect how to display a message and then use that method to display it. You are using the script improperly. This is the correct usage...

Code:

Usage: $command [-u/-U [wallpapersetter]] [-fFcCtTaA /path/to/wallpaper]
                [-r/-R /path/to/wallpaperdirectory]
                [-b/-B fbsetrootoptions] [-l] [-h] [-i] [-p]

Try using -h to get more help.

I just dont understand your problem. If you specified

fbsetbg -f /path/to/wallpaper

it really shouldnt try to give you the usage message, because then it WOULD be a correct way to use the script.

good luck..

Cirdan 09-01-2006 12:42 AM

ok here is what I'm entering

Code:

[ryan@ryan_linux ~] ls pictures
Linux_wall09.jpg
[ryan@ryan_linux ~] fbsetbg -f ~/pictures/Linux_wall09.jpg
/user/bin/fbsetbg: line 169: xmessage: command not found

EDIT

I installed glibc and it fixed the xmessage problem. But now it says it can't find a wallpaper setter and wants me to install eterm, so I did. Now Esetroot gives me an error:

Esetroot: error while loading shared libraries: libpcre.so.o: cannot open shared object file: No such file or directory


All times are GMT -5. The time now is 11:08 AM.