LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fluxbox issues? (https://www.linuxquestions.org/questions/slackware-14/fluxbox-issues-328616/)

killahsmurf 05-30-2005 03:02 PM

Fluxbox issues?
 
finally decided i give fluxbox a try seeing how the screen shots i saw look absolutely delicious and i hate being curious about anything. so i get it installed (from source) then logout of X. i then run 'startfluxbox' and my first error hits me like an angry grandmother.

the error i received was something along the lines of 'cannot find (or open) /usr/X11R6/share/fluxbox/nls/en_US/fluxbox.cat .
so i go to that directory only to find out it doesnt exist! i have an es_ES (probably spanish) then i have an et_EE. am i supposed to have this directory/file, or was i supposed to point it at another one. if so, which is the directory for english?

btw this is the newest version of fb (v0.1.14).
please let me know what i did wrong, ill keep tinkering away at it, and thanks ahead of time guys.

Tinkster 05-30-2005 03:15 PM

I'm using 0.1.14 and there's no file fluxbox.cat on my system ...


Cheers,
Tink

killahsmurf 05-30-2005 03:19 PM

strange, then why am i getting that error?
'startfluxbox' is how you start it no? unless i truely am going retarded (ive been known to do that) im lost 0_o

gbonvehi 05-30-2005 03:35 PM

No, you've to choose it as your default window manager using xwmconfig or manually editing your .xinitrc file. (The first will be ok).
The run: startx

Edit: Since you installed from source you won't have a selection in xwmconfig for it, so edit a file called .xinitrc in your home directory (doesn't exist by default, just create it) and put something like:
Code:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

exec startfluxbox

The run startx.

Oh and If you're wondering why you have to do this, it's because the Window Manager runs inside X, with startfluxbox you're trying to start it but you're not in X. startx command runs a X server and loads first a ~/.xinitrc to execute the window manager. If it can't find it, it looks at /etc/X11/xinit/xinitrc, this is the global window manager option.

killahsmurf 05-30-2005 04:16 PM

alright! :) that makes perfect sense. i want to thank you for your speedy response. now i can get to the fun stuff :)

sbrownii 06-29-2005 06:00 AM

fluxbox.cat files - defined
 
well... just for anyone's future reference, the fluxbox.cat files are not actually a real problem -usually.
If you read the rest of your screen around that it will say something about translating and just using default messages.

How bout you give a go at "cat"ing the fluxbox.cat files. They are translations of messages/menus, whatever...

So they are often referred to when printing out an error message that needs to be translated... or menu stuff...
If you have set options for internationalization then you are likely to come across this. Otherwise... I doubt it...



To get rid of the problem of not finding the cat files just cd to fluxbox/nls director and cp -r C en_US
Atleast in my case the directory nls/C holds the default fluxbox.cat file

Anyway.

It might let you actually get to read the messages that you are missing?

In my case, it was griping about something going wrong. I love linux, and it works fine for me. But I always destroy it when I try to internationlize in any way.... but it is certainly better than a few years ago...

Hope you get things fixed (without having to reinstall-- although, that is half the fun of running *nix...)


All times are GMT -5. The time now is 05:26 AM.