LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2006, 05:00 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Rep: Reputation: 60
configuring startup files in the gui


I have several questions:

1 - what files controls what starts up in KDE or in GNOME?

2 - when using the command prompt (xterm), what files controls the paths that you want to use when type a command in xterm. I am tired of having to type the path everytime I want to use a command

example

root@localhost#/sbin/cardctl eject
root@localhost#cardctl eject

3 - what files controls what gui you are using like KDE or GNOME and etc?
 
Old 07-21-2006, 05:31 PM   #2
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
It depends on how you are invoking the terminal and with what application. For Konsole on the KDE desktop, you can go to Settings > Session > <session you use> and where it says execute in the window, type in "bash -l." Bash will see what user is logged in as and then emulate their profile, just as if you logged in from console. I know this is very specific but its a start. If you are invoking xterm directly you can pass the "ls" parameter (eg. xterm -ls) and it will do the same thing.
 
Old 07-21-2006, 10:16 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
The problem that I am having is as such:

i am using FC4 and when KDE starts it opens two windows automatically

also I want to know how to start a GIU of my choice when I want to. Also I am tired of typing the full path everytime I want to execute a command.
 
Old 07-22-2006, 12:39 PM   #4
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
In every user directory there is a hidden KDE config directory called ".kde" (go figure .) Within that directory is another directory called Autostart. On my system, I have my xscreensaver.desktop shortcut placed in there so it will use a screensaver other than the KDE one. Besides Autostart is another directory called "share" and within that folder is another one called "config." Just check it out and you will get the idea. It has config files for Konsole, the desktop, mail, hotkeys, etc...

In regards to default GUI for X, you can put your preferences in your home directory file .xinitrc. When you run "startx", it will run this config file. I am not too familiar with how FC sets up this file but the meat of it is that at the end it will say "exec <window manager>." Just substitue the window manager with the executable for the GUI of choice (eg. kde, fluxbox, gnome.) Run "man startx" to get more detailed information about this.
 
Old 07-31-2006, 09:04 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
unreal,

I am using FC5 and SUSE 10 and there is no .xinitrc profile under my ~/ directory. Where else might it be?

Also I figured out my second question: vim ~/home directory/bash_profile and add the path of the executables that you want and the run source ~/home directory and rock on.
 
Old 08-01-2006, 12:20 PM   #6
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
Try creating your own .xinitrc and adding the exec <window manager> statement. Also check out 'man startx' to get distro specific information for starting X. Let me know how it works out?
 
Old 08-02-2006, 02:57 PM   #7
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,189

Original Poster
Rep: Reputation: 60
I will give it a shot. thanks
 
  


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
Configuring iwconfig at startup harshnoise Linux - Wireless Networking 6 01-24-2006 11:21 AM
GUI startup David_Moses Red Hat 5 03-31-2005 03:04 PM
COnfiguring Startup jaslowe Linux - General 1 03-15-2005 05:56 PM
configuring startup doclane Linux - Newbie 2 05-22-2004 06:42 PM
configuring the startup ksd Slackware 4 12-14-2003 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:09 AM.

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