LinuxQuestions.org
Visit Jeremy's Blog.
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 10-24-2004, 11:39 AM   #1
xephyr
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
Question Fluxbox problem


I am trying to set up flux box, how do you make the dockapps load automatically everytime you start fluxbox?

and Can someone recommend some handy applications for a linux newb?
 
Old 10-24-2004, 11:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you can make any application load within any window manager by listing them within /home/you/.xsession
 
Old 10-24-2004, 02:51 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Fluxspace works good but takes time to set up:
http://sourceforge.net/docman/displa...group_id=76737
Also if you use startx you can use /home/you/.xinitrc
 
Old 10-24-2004, 03:29 PM   #4
xephyr
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I don't find .xsession in /Home/myself
nor do I find xintric, what am I suppose to do?
 
Old 10-24-2004, 04:30 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You could copy one of the files in /etc/X11/xinit
and modify it to match your needs.


Cheers,
Tink
 
Old 10-24-2004, 05:25 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
.xinitrc not xinitric , very important! make sure you have the . in front and the syntax is correct.
Try this; touch /home/yourname/.xinitrc
echo exec fluxbox > /home/yourname/.xinitrc

Last edited by comprookie2000; 10-24-2004 at 05:33 PM.
 
Old 10-24-2004, 06:03 PM   #7
xephyr
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I added both .xsession
and .xinitrc in /Home/myname/
and added in it the command to run one of the dockapps,
exec wmblueclock

is it suppose to start wmblueclock when I click Restart on the fluxbox menu?
or is it suppose to start it next time I start my machine?
I tried both, neither works
 
Old 10-24-2004, 07:10 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Here is a sample;
http://fluxbox.org/download/dotfiles/aleczapka/xinitrc
 
Old 10-25-2004, 11:00 AM   #9
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
You should replace "exec wmblueclock" with "wmblueclock &", and make sure it's placed before the fluxbox line.

"exec" tells bash to replace the current process (xinitrc) with wmblueclock, and the result is that the rest of the script is not run. If you have "exec fluxbox" before wmblueclock, Fluxbox will run and wmblueclock will never run. If you have just "fluxbox" before "wmblueclock", then Fluxbox will run and wmblueclock will try to run when you shut down fluxbox.

If you add "&" after a command, bash will run that command in the background and continue to the next line in xinitrc, so if you have
Code:
wmblueclock &
exec fluxbox
wmblueclock will be run in the background allowing the script to continue on, and so fluxbox can then be launched.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Little problem with X (fluxbox) Paran0id Debian 2 06-28-2005 12:23 AM
fluxbox problem theguitarsquall Mandriva 12 10-24-2004 02:06 AM
Problem with Fluxbox Antimatter Linux - Software 1 09-07-2003 10:13 PM
problem with fluxbox k0ljat Linux - Software 1 08-25-2003 01:11 PM
fluxbox problem nakkaya Linux - General 1 01-19-2003 04:50 AM

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

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