LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-21-2007, 04:42 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
fluxbox doesn't consider bash_aliases


How may I make fluxbox consider what was made in bash_aliases file? I have put aliases there and when clicking a menu button clearly by how a program opens the alias's I have defined were not considered by the fluxbox menu.

I got around this by puting everything directly into the menu however its becoming ugly and messy. What way's can I make the menu file for fluxbox look more pleasing to look at and readable?

Thank you
 
Old 04-21-2007, 05:07 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Quote:

I got around this by puting everything directly into the menu however its becoming ugly and messy. What way's can I make the menu file for fluxbox look more pleasing to look at and readable?
Post an example please.
 
Old 04-21-2007, 05:08 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Normally aliases are defined in ~/.profile or ~/.bash_profile. Sometimes an aliases script will be sourced by one of the startup scripts. Look in "info bash" for info on the bash startup scripts, and look in your home directory to see what is used in your case. You probably could add a line like "source $HOME/bash_aliases" to the startup script used if there isn't one already.
 
Old 04-24-2007, 04:08 PM   #4
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
I put ". .bash_profile" to the fluxbox start up script and still the aliases seem to be ignored. Where should I put the "source" statement? I checked info bash and it references .bash_profile for startup?

Quote:
Post an example please.
Well it just looks like
xterm -bg black -fg white
I have xterm and other aliases to have "defaults" and not require common flags.

And recently I added functions to the place where aliases are which I would like also to be able to use from the fluxbox menu.

Thanks

Last edited by Four; 04-24-2007 at 04:11 PM.
 
Old 04-24-2007, 05:55 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I think you are talking about .Xdefaults;
Code:
aterm*cursorColor: green
aterm*colorMode: true
aterm*borderwidth: 0
aterm*pointerColor: yellow
aterm*transparent: true
aterm*shading: 60
aterm*background: black
aterm*foreground: white
aterm*scrollBar: false
aterm*fading: 60
aterm*saveLines:4500
aterm*geometry: 100x25+20+5
aterm*loginShell: True
aterm*font: -*-terminus-medium-*-*-*-16-*-*-*-*-*-iso8859-1
! xlock
XLock.erasedelay: 0

! xclock
xclock*background: gray
xclock*hourColor: blue
xclock*minuteColor: red
xclock*secondColor: black
xclock*majorColor: red
xclock*minorColor: cyan
xclock*update: 1
xclock*geometry: -0+0

xterm*cursorColor: red
xterm*colorMode: true
xterm*pointerColor: yellow
xterm*background: black
xterm*foreground: white
xterm*saveLines:4500
xterm*geometry: 110x40+20+5
xterm*loginShell: True
xterm*font: -*-terminus-medium-*-*-*-16-*-*-*-*-*-iso8859-1
Xcursor.theme: neutral

xcalc*background:                  skyblue
xcalc*foreground:                  black
xcalc*geometry:                    300x300
xcalc*dispBack:                    black
xcalc*dispFore:                    yellow
xcalc*fKeyBack:                    steelblue
xcalc*fKeyFore:                    white
xcalc*iconBack:                    white
xcalc*iconFore:                    red
xcalc*nKeyBack:                    white
xcalc*nKeyFore:                    black
xcalc*oKeyBack:                    darkslategrey
xcalc*oKeyFore:                    aquamarine

oclock*transparent:	    true

XFontSel*menu*showUnselectable: false
XFontSel*MenuButton.shadowWidth: 0
XFontsel*Toggle*ToggleStyle: check
XFontsel*MenuButton*Justify:    left
XFontsel*MenuButton*MenuButtonStyle: select
.xfontsel.pane.commandBox.quitButton.background: #777777
.xfontsel.pane.commandBox.quitButton.foreground: snow
.xfontsel.pane.commandBox.ownButton.background: orange3
.xfontsel.pane.commandBox.ownButton.foreground: snow
.xfontsel.pane.commandBox.countLabel.background: snow
.xfontsel.pane.viewPort.sampleText.background: #777777
.xfontsel.pane.viewPort.sampleText.foreground: snow
.xfontsel.pane.fieldBox.field0.background: #777777
.xfontsel.pane.fieldBox.field0.foreground: snow
.xfontsel.pane.fieldBox.field1.background: #777777
.xfontsel.pane.fieldBox.field1.foreground: snow
.xfontsel.pane.fieldBox.field2.background: #777777
.xfontsel.pane.fieldBox.field2.foreground: snow
.xfontsel.pane.fieldBox.field3.background: #777777
.xfontsel.pane.fieldBox.field3.foreground: snow
.xfontsel.pane.fieldBox.field4.background: #777777
.xfontsel.pane.fieldBox.field4.foreground: snow
.xfontsel.pane.fieldBox.field5.background: #777777
.xfontsel.pane.fieldBox.field5.foreground: snow
.xfontsel.pane.fieldBox.field6.background: #777777
.xfontsel.pane.fieldBox.field6.foreground: snow
.xfontsel.pane.fieldBox.field7.background: #777777
.xfontsel.pane.fieldBox.field7.foreground: snow
.xfontsel.pane.fieldBox.field8.background: #777777
.xfontsel.pane.fieldBox.field8.foreground: snow
.xfontsel.pane.fieldBox.field9.background: #777777
.xfontsel.pane.fieldBox.field9.foreground: snow
.xfontsel.pane.fieldBox.field10.background: #777777
.xfontsel.pane.fieldBox.field10.foreground: snow
.xfontsel.pane.fieldBox.field11.background: #777777
.xfontsel.pane.fieldBox.field11.foreground: snow
.xfontsel.pane.fieldBox.field12.background: #777777
.xfontsel.pane.fieldBox.field12.foreground: snow
.xfontsel.pane.fieldBox.field13.background: #777777
.xfontsel.pane.fieldBox.field13.foreground: snow
.xfontsel.pane.fieldBox*foreground: #000000
.xfontsel.pane.fieldBox.MenuButton.borderWidth: 1
.xfontsel.pane.fieldBox.MenuButton.internalHeight: 1
.xfontsel.pane.fieldBox.MenuButton.internalWidth: 2
.xfontsel.pane.fieldBox.MenuButton.shapeStyle: rectangle

Xft.antialias: 1
some distro's use .Xresources I think
 
Old 04-26-2007, 07:59 PM   #6
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
I use kubuntu and couldn't find these files. In the alias I start to create functions that run programs a certain way the reason is because global variables effect the way some programs are run (e.g. wine {wineprefix}). I would like to be able to execute these functions, through the fluxbox menu.

Thank you
 
  


Reply



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
apt-get install fluxbox..error: couldn't find package fluxbox 200mg Ubuntu 7 12-08-2006 03:33 PM
Fluxbox error /usr/share/fluxbox/nls/en_GB/fluxbox.cat humbletech99 Debian 2 12-29-2005 10:16 AM
fluxbox spuppett Mandriva 5 04-03-2004 04:36 AM
Fluxbox pix_cell Linux - Software 4 03-03-2004 05:59 PM
Fluxbox: Enabling KDE using package install of fluxbox underline Linux - Software 0 12-27-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:46 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
Open Source Consulting | Domain Registration