LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   fluxbox questions (http://www.linuxquestions.org/questions/linux-software-2/fluxbox-questions-29739/)

nautilus_1987 09-06-2002 01:19 PM

fluxbox questions
 
Hi there!

How can I make FluxBox to understand cyrrylic(Koi-8r) enconding?
How to make numlock turn on , on startup?
Why colors in console look the same? In normal console or in KDE's it have all colors.
So people help me to make first steps configuring Flux :)

thanks in advance

mace 09-06-2002 05:52 PM

http://www.google.com/search?q=cyril...UTF-8&oe=utf-8

http://216.239.33.100/search?q=cache...art=1&ie=UTF-8

http://216.239.33.100/search?q=cache...art=2&ie=UTF-8

MasterC 09-07-2002 12:03 AM

Re: fluxbox questions
 
Quote:

Originally posted by nautilus_1987
Hi there!

How can I make FluxBox to understand cyrrylic(Koi-8r) enconding?

See answer above this one
Quote:


How to make numlock turn on , on startup?

http://www.linuxquestions.org/questi...threadid=28413
Quote:


Why colors in console look the same? In normal console or in KDE's it have all colors.

This depends on which terminal you are using. You can use the --color option to enable colors in xterm. Something like 'ls -l --color' will allow colors. There are also loads of threads on this one. Here's 17: http://www.linuxquestions.org/questi...der=descending
Quote:


So people help me to make first steps configuring Flux :)

thanks in advance

Ok then, there ya go. The only problem I am still having is switching the mouse to a left handed one.

Flux rules!

Cool

nautilus_1987 09-07-2002 03:35 AM

And one more question: Why Flux doesn't understand my /etc/profile aliases?

thnx

MasterC 09-07-2002 03:52 AM

Do you have an example?

nautilus_1987 09-07-2002 04:01 AM

For example: when I write "'mpgplay' = mpg123 -q -z -@ /root/best.lst &" executes, but Flux konsole doesn't understand my aliases( that are putted in /etc/profile)?
PS. two problems are left:
How can I make FluxBox to understand cyrrylic(Koi-8r) enconding?
How to make numlock turn on , on startup?

Flux rules !

MasterC 09-07-2002 04:51 AM

Ya know, I think the alias's are supposed to go into ~/.bashrc or ~/.bash_profile

Yep, think I am right (it's ~/.bash_profile):
http://www.daylight.com/dayhtml/doc/...h_profile.html

numlock, the link up there should be correct. Put the chunk Frustin mentions into your /etc/rc.d/rc.local file.

As for the encoding, the links up there should provide good info.

Cool

nautilus_1987 09-07-2002 05:04 AM

You see I have already putted the chunk Frustin mentions into my /etc/rc.d/rc.local, but this works only on startup of Linux, not Flux :)

PS. I have managed my aliases at last everything works!!!
One problem left: How can I make FluxBox to understand cyrrylic(Koi-8r) enconding?

Thanks MasterC!!!! WoooooooooooooHOOOOOOOOOOO :)

I really like Flux it is cool :)

MasterC 09-07-2002 05:12 AM

No problem :), but that numlock status shouldn't change when you startx. I will ask on the #fluxbox on IRC and see if they have an idea.

Cool

MasterC 09-07-2002 05:25 AM

Here's the dialogue:
Quote:

HI slack gurus
* Ta^3 has quit IRC (Remote closed the connection)
<MasterCC> I can enable numberlock to startup with my system by placing specific lines in my /etc/rc.d/rc.local script, and that works fine and all. But when I start Fluxbox the numbers are no longer locked. I am using Slack8.1 any ideas?
<ph4741_3rr0r> what's the command you use to enable numlock ?
<MasterCC> INITTY=/dev/tty[1-8]
<MasterCC> for tty in $INITTY; do
<MasterCC> setleds -D +num < $tty
<MasterCC> done
* Ta^3 has joined #slackware
<ph4741_3rr0r> MasterCC: put those commands in it's own script somewhere executable by 'user'
<ph4741_3rr0r> then edit your /home/user/.fluxbox/init file
<ph4741_3rr0r> there is a line in there that says 'session.screen0.rootCommand:'
<ph4741_3rr0r> execute the script from there
<ph4741_3rr0r> you may need to have a symlink in /usr/bin or /usr/local/bin that points to the script
<MasterCC> So for example, I would make that into an executable script, maybe in the user's home directory, and then in /home/user/.fluxbox/init I would add something like /home/user/.numlock.sh ?
<ph4741_3rr0r> yup
<MasterCC> Cool, thanks
Basically, make a script:
pico /home/nautilus/numlock.sh
Now add these lines to that new file:
Code:

#!/bin/bash
#Script to turn number lock on
INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setleds -D +num < $tty
done

Now save and exit.

Now:
pico /home/nautilus/.fluxbox/init
And locate the line:
session.screen0.rootCommand:

And add this after it:
/home/user/numlock.sh

chmod 777 /home/user/numlock.sh

Cool

nautilus_1987 09-07-2002 06:10 AM

Damn...This script works in normal console, but not in Flux :(
Master can you give the name of that IRC server where you had the conversation with <ph4741_3rr0r>?
anyway thnx :)

MasterC 09-07-2002 06:18 AM

I just barely closed out, but I think it was on irc.openprojects.net #slackware

nautilus_1987 09-07-2002 06:27 AM

I will check it out :)

nautilus_1987 09-07-2002 06:38 AM

MasterC what can I do with 'xselfont'?

MasterC 09-07-2002 06:50 AM

Quote:

xfontsel $xfontsel
Select fonts. The best way to select a font from those available. Opens a GUI window showing the 14-part font specification with drop-down menu selections.
http://www.home.acenet.net.au/terran...ux/lxcmds.html

And

http://node1.yo-linux.com/cgi-bin/ma...mmand=xfontsel(1)

It appears to be a way to easily set the font for X


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