You are not logged in.

#1 2013-07-17 13:58:35

simplemind
Member
Registered: 2013-06-13
Posts: 18

Unable to locate image file in pixmap_path: "foo.bar"

I was trying to install fbpanel, after succesfully installing it i got this eror when trying to run it via the terminal.
This is the whole output of the fbpanel command:

 
$ fbpanel
/home/simplemind/.gtkrc-2.0:2: Unable to locate image file in pixmap_path: "foo.bar"
/home/simplemind/.gtkrc-2.0:3: Unable to locate image file in pixmap_path: "foo.bar"
/home/simplemind/.gtkrc-2.0:4: Unable to locate image file in pixmap_path: "foo.bar"
/home/simplemind/.gtkrc-2.0:5: Unable to locate image file in pixmap_path: "foo.bar"
/home/simplemind/.gtkrc-2.0:6: Unable to locate image file in pixmap_path: "foo.bar"
volume: can't open /dev/mixer
fbpanel: can't start plugin volume

Can anyone help me with this ?
thanks for the help smile

Offline

#2 2013-07-17 14:06:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Unable to locate image file in pixmap_path: "foo.bar"

What is in your gtkrc file referenced there?  This is your own config file.  Is that a litteral "foo.bar", or are you replacing actual names?

If it really says foo.bar, I can only guess you copied an example configuration without actually looking at it (this is always a bad idea).

As for the mixer issue, I suspect you don't have permissions for audio access.  The currently recommended way to fix that would be to ensure you are under a valid logind session.  My preferred way (not currently the arch-standard) is to add your user to the 'audio' group.

Last edited by Trilby (2013-07-17 14:07:37)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-07-17 14:49:31

simplemind
Member
Registered: 2013-06-13
Posts: 18

Re: Unable to locate image file in pixmap_path: "foo.bar"

I do think that i copied the .gtkrc file settings
what do i do with the gtkrc file then ?
thanks for the reply

Offline

#4 2013-07-17 14:52:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Unable to locate image file in pixmap_path: "foo.bar"

Look at it first, post it here (or in a pastebin site and link to it) second.

The problem is in that file - if we don't know what is in it, we can't help.

Last edited by Trilby (2013-07-17 14:52:44)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-07-17 14:54:38

simplemind
Member
Registered: 2013-06-13
Posts: 18

Re: Unable to locate image file in pixmap_path: "foo.bar"

 style "panel-background" {
   bg_pixmap[NORMAL]        = "foo.bar"
   bg_pixmap[PRELIGHT]      = "foo.bar"
   bg_pixmap[ACTIVE]        = "foo.bar"
   bg_pixmap[SELECTED]      = "foo.bar"
   bg_pixmap[INSENSITIVE]   = "foo.bar"
 }
 widget_class "*Panel*" style "panel-background"

this is whats there in .gtkrc-2.0.
I am using openbox WM.

Offline

#6 2013-07-17 14:57:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Unable to locate image file in pixmap_path: "foo.bar"

So ... you are telling it to use a file called foo.bar, if no such file exists ....

Is this solved now?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2013-07-17 15:19:24

simplemind
Member
Registered: 2013-06-13
Posts: 18

Re: Unable to locate image file in pixmap_path: "foo.bar"

thanks the foo.bar issue is solved but even after adding my user to the audio groups using

gpasswd -a [user] audio

i still couldn't open fbpanel i get

volume: can't open /dev/mixer
fbpanel: can't start plugin volume

i didnt understand the vaild loginid thiingy could you tell me more about that / point me out to a resource for that ?
thanks for the help

Offline

#8 2013-07-17 15:29:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Unable to locate image file in pixmap_path: "foo.bar"

Yes, google, or our wiki.  Don't be a help vampire.  The forums are here to help, but you should first try to search.  And either a google or wiki search with anything related to logind would get you just what you are looking for.  (edit: this is not to say your original question wasn't a good one.  It did tell you the file name and line number, you should use those to check the file yourself, but it was a fair question.  I'm referring here only to the logind followup)

However, if being in the audio group doesn't help, neither will having a valid logind session.  Do you have a /dev/mixer?  When a program says it can't find a file, check to see if that file exists.

I have no /dev/mixer.  But I did do a google (actually duck duck go) search with site:archlinux.org for this and the first entries were to threads on this forum with the exact same volume plugin issue you're having for fbpanel - and those threads have the solution.

Last edited by Trilby (2013-07-17 15:32:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-07-17 17:25:14

simplemind
Member
Registered: 2013-06-13
Posts: 18

Re: Unable to locate image file in pixmap_path: "foo.bar"

thanks found out the work around.
what panel will you suggest for openbox i like fbpanel but it doesn't support the right click menu on it.

Offline

Board footer

Powered by FluxBB