LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2002, 12:19 PM   #1
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Lightbulb 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
 
Old 09-06-2002, 11:03 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 09-07-2002, 02:35 AM   #4
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
And one more question: Why Flux doesn't understand my /etc/profile aliases?

thnx
 
Old 09-07-2002, 02:52 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Do you have an example?
 
Old 09-07-2002, 03:01 AM   #6
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
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 !
 
Old 09-07-2002, 03:51 AM   #7
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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

Last edited by MasterC; 09-07-2002 at 03:52 AM.
 
Old 09-07-2002, 04:04 AM   #8
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
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
 
Old 09-07-2002, 04:12 AM   #9
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 09-07-2002, 04:25 AM   #10
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 09-07-2002, 05:10 AM   #11
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
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
 
Old 09-07-2002, 05:18 AM   #12
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I just barely closed out, but I think it was on irc.openprojects.net #slackware
 
Old 09-07-2002, 05:27 AM   #13
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
I will check it out
 
Old 09-07-2002, 05:38 AM   #14
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
MasterC what can I do with 'xselfont'?
 
Old 09-07-2002, 05:50 AM   #15
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about X and FluxBox Mercurius Linux - Software 16 10-10-2005 10:29 AM
Some Fluxbox Questions QzarBaron Linux - General 2 02-20-2005 11:58 AM
Fluxbox Questions steve_d555 Linux - General 9 11-21-2004 12:24 AM
fluxbox questions Longinus Slackware 14 02-13-2004 03:28 PM
Some fluxbox questions calvinchan2 Linux - Newbie 3 08-22-2003 12:38 AM


All times are GMT -5. The time now is 01:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration