LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2003, 04:59 AM   #1
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
starting an desktop manager


I use KDE, but somtimes I prefer fluxbox. Rather then chaning "~/.xinitrc" everytime, I would like to give an option to "startx" which one I want to start. So to start kde, I would do "startx kde" and to start fluxbox, "startx fluxbox". To do this, I created the following ".xinitrc" script:

Code:
#!/bin/bash

case "$1" in
        fluxbox)

                #start fluxbox, gkrellm and set the background
                bsetbg ~/art/bg.jpg
                gkrellm&
                exec fluxbox
                ;;
        kde)

                #start kde and karamba 
                karamba_run&
                startkde
                ;;
        *)
                #start kde by default
                karamba_run&
                startkde
                ;;
esac
But it doesn't seem to work. Could someone help?

Last edited by qanopus; 07-05-2003 at 05:01 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
Just installed debian with a desktop manager, don't want xdm starting. Royle Linux - Newbie 2 01-09-2005 06:46 AM
X display manager not starting fatrandy13 Linux - Software 4 12-16-2004 12:26 PM
starting any Window Manager jagibbs Debian 4 11-27-2004 05:55 AM
not starting X display manager jamaas Linux - Laptop and Netbook 1 03-30-2004 05:00 AM
Starting Window Manager at Boot Romulus Gray Linux - Newbie 8 08-02-2003 04:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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