LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-24-2005, 06:49 AM   #1
zba78
Member
 
Registered: Oct 2004
Location: Birmingham, England
Distribution: OpenSuSE 10.2
Posts: 50

Rep: Reputation: 15
startup apps with fluxbox


According to fluxbox documentation to have apps startup with fluxbox you just add the the command to ~/.xinitrc. Because I use KDM as my dm I don't have an xinitrc.

If I simply created an xinitrc in ~/ and added the commands in there (e.g. gkrellm & ) would that be enough to make those programs startup with fluxbox?
 
Old 01-24-2005, 06:56 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't think so - the ?dm programs ignore ~/.xinitrc AFAIK. I think ~/.Xsession is the file they pay attention to. So that may work.

Doesn't flux have a 'startup' file now? You could just add the programs you want there, I believe - ~/.fluxbox/startup or something.
 
Old 01-24-2005, 10:25 AM   #3
Navaboy
Member
 
Registered: Sep 2003
Location: Southern California
Distribution: Slackware -current
Posts: 90

Rep: Reputation: 15
In your /.fluxbox dir.... You should a startup script if not make one .
Seee Xample below of a fluxbox startup script...!!!!


# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png
#
# This sets a black background

# /usr/X11R6/bin/bsetroot -solid black

# This shows the fluxbox-splash-screen
fbsetbg -C /usr/local/share/fluxbox/splash.jpg

# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp /home/navaboy/.font
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap ~/.Xmodmap



# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
# wmdrawer &
# wmxmms &
# wmcpuload &
# wmclockmon &
# wmix &
# wmmemfree &
# xcompmgr -c &
# gkrellm -w &

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec /usr/X11R6/bin/fluxbox
 
Old 01-24-2005, 11:13 AM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
newer versions of fluxbox have an "apps" file in ~/yourname/.fluxbox/apps

add a program to startup by adding this to the apps file

[startup] {program name here}
 
Old 01-24-2005, 11:16 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
[edit]
same as detpenguin said, he just types quicker

Last edited by keefaz; 01-24-2005 at 11:17 AM.
 
  


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
fluxbox starting apps twice on startup Skankpuss Linux - Software 2 11-06-2005 05:14 AM
Help with apps in Fluxbox (aterm) S_Warlock Linux - Software 3 02-24-2004 02:58 PM
running apps at fluxbox startup A1Ph4 Linux - Software 1 08-25-2003 05:36 PM
Fluxbox With ROX apps Oraee Linux - General 3 09-08-2002 04:53 PM
Fluxbox +executing apps Bouddha Linux - Software 0 08-05-2002 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:00 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