Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Got fluxbox to work!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
donni
n00b
n00b


Joined: 23 Jul 2004
Posts: 17

PostPosted: Tue Aug 17, 2004 11:01 pm    Post subject: Got fluxbox to work! Reply with quote

remember folks, always install x11 from Apple to get fluxbox to work on the OSX port of portage...

...now that I emerged it....HTF do I get it to run???

Error: Can not connect to X server.
Make sure you started X before you start Fluxbox.


how do i start an x server?
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Aug 17, 2004 11:09 pm    Post subject: Reply with quote

Create $HOME/.xinitrc with this line in it: /usr/X11R6/bin/fluxbox. Then try typing startx...
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
donni
n00b
n00b


Joined: 23 Jul 2004
Posts: 17

PostPosted: Tue Aug 17, 2004 11:46 pm    Post subject: Reply with quote

uhm... whats the exact commands for that....srry im a n00b
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Aug 17, 2004 11:54 pm    Post subject: Reply with quote

Create the file $HOME/.xinitrc and put this line in it:
Code:

/usr/bin/fluxbox

Then type startx which will start X and then fluxbox...
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
donni
n00b
n00b


Joined: 23 Jul 2004
Posts: 17

PostPosted: Wed Aug 18, 2004 12:28 am    Post subject: Reply with quote

how exactly do you create THE FILE

and where?
Back to top
View user's profile Send private message
BennyP
Guru
Guru


Joined: 09 May 2003
Posts: 497
Location: Toronto, Canada

PostPosted: Wed Aug 18, 2004 1:37 am    Post subject: Reply with quote

you could use any editor to create the file in your home directory (the one finder opens by default)
enter the lines above into the new file and save it as .xinitrc

the .xinitrc file is read and the commands inside are executed everytime x is started (initialized) hence the name: .xinitrc

don't forget the . (dot) in front
_________________
Could it be?
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Wed Aug 18, 2004 4:06 am    Post subject: Reply with quote

Or if you're really stuck, from the command line type this and press enter:
Code:

echo "/usr/bin/fluxbox" > $HOME/.xinitrc

HTH :D
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Wed Aug 18, 2004 4:13 am    Post subject: Tip: Styles can be applied quickly to selected text. Reply with quote

One correction, and one pointer.
Correction: You don't need to run startx to start an X session. You need to launch Apple's X11.app It will by default start an X session on screen 0.0, which is exactly what you want. :-)
Pointer: Apple text editing programs won't let you save a file starting with a (.) (ie. .xinitrc). What you'll want to do is probably something like this: 1st) Fire up X11.app (In the Utilities folder in Applications), go to preferences and choose full-screen. REMEMBER WHAT KEY COMBINATION MAKES IT NOT FULL SCREEN! (Sorry for shouting). If it's not full-screen, fluxbox won't work so great since you need to right click for menus, and by right clicking on the Mac desktop, it changes the focus to Finder.app.
2) Open Terminal.app (Or X11's Xterm will do fine) and type the following to get an .xinitrc file.
Code:
%pico .xinitrc {ENTER}
/usr/bin/fluxbox
{ctrl}+x
y
{ENTER}

Restart X11.app, and fluxbox *should* startup :-)
Back to top
View user's profile Send private message
pat2man
n00b
n00b


Joined: 30 Oct 2002
Posts: 17

PostPosted: Wed Aug 18, 2004 8:48 pm    Post subject: Reply with quote

You don't need to go fullscreen, use the F12 and F13 keys.
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Wed Aug 18, 2004 9:56 pm    Post subject: very smart... :-) Reply with quote

Very smart.

I recently switched from 10.2 to 10.3 - did 10.2 have that option? I haven't used 10.3 much since I've been running gentoo, so I guess I hadn't learned that.

Thanks!

~Michael
Back to top
View user's profile Send private message
donni
n00b
n00b


Joined: 23 Jul 2004
Posts: 17

PostPosted: Wed Aug 18, 2004 10:57 pm    Post subject: Reply with quote

there's an f13 key? I have a laptop...
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Thu Aug 19, 2004 2:13 am    Post subject: Reply with quote

Try the last two F-keys that aren't the eject keys (F10 and F11 on my 800MHz iBook)

~Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum