LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2006, 12:39 AM   #1
Cirdan
Member
 
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Rep: Reputation: 15
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.
 
Old 09-01-2006, 12:52 AM   #2
nmn
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
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.
 
Old 09-01-2006, 01:11 AM   #3
Cirdan
Member
 
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Original Poster
Rep: Reputation: 15
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.
 
Old 09-01-2006, 01:28 AM   #4
nmn
LQ Newbie
 
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
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..
 
Old 09-01-2006, 01:42 AM   #5
Cirdan
Member
 
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Original Poster
Rep: Reputation: 15
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

Last edited by Cirdan; 09-01-2006 at 01:51 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
cronjob and xmessage esteeven Linux - Software 3 09-14-2005 05:25 AM
Newline in xmessage? scottjwoodford Linux - General 2 06-09-2005 04:17 PM
xmessage on network masand Programming 0 04-09-2004 10:09 AM
xmessage origin zindadilfaiz Linux - Networking 2 02-19-2003 04:10 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration