Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: LS --color and KDE startup items.

  1. #1
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    22

    LS --color and KDE startup items.

    ok, to start out, I am running debian on one computer and knoppix hd install on the other.

    1. When in root on the knoppix system, I type ls -l and all the directories and executables are in color. However on the freshly installed Debian install, ls -l is not in color, I can get it to go color, by ls --color -l, but I would prefer not to have to type the --color everytime I am in the shell, is this stored as an environment variable or in a config file? and where would it be located. I tried --color=always, but that didn't seem to work. How would I go about changing this?

    2. The language icon appears in the system tray everytime I start KDE, being that I only know one language, how would I remove this? What config file tells KDE to start a program upon start of the GUI? For future note, I would like to be able to control who/what starts when KDE start.

    Thanks in advance. I am a Linux Novice, but am willing to learn.

  2. #2
    Junior Member
    Join Date
    Dec 2004
    Posts
    2

    To answer question number one

    Simply edit the .bashrc using vi for your user and enter the following:

    alias ls='ls --color=auto'

    or

    alias ls='ls --color=SOMECOLORHERE'

    HTH,
    John

  3. #3
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    22
    Thank you jpretti.


    Just a note, I am still looking for help with the KDE start up items, anyone that knows where it's stored.

    Thanks

    SD

  4. #4
    Banned
    Join Date
    Feb 2005
    Location
    Sydney Australia
    Posts
    264
    2. The language icon appears in the system tray everytime I start KDE, being that I only know one language, how would I remove this?
    try clicking on the language icon
    open it up and edit the settings so there isn't a choice of languages

    What config file tells KDE to start a program upon start of the GUI? For future note, I would like to be able to control who/what starts when KDE start.
    there is something about
    /etc/rcS.d
    but I've not gone through it all.
    my smoothwall only has
    /etc/rc.d
    as it's a single user system
    knoppix live-cd has 4 tty sessions and the KDE screen.
    the hdd install has 6 tty screens, and
    /etc/rc0d thru /etc/rc6.d
    so I expect they are the startup settings for each mode, I've not poked extensively though

  5. #5
    Banned
    Join Date
    Feb 2005
    Location
    Sydney Australia
    Posts
    264
    I've noticed the loss of colour on my KDE screen's terminal windows.
    and not been able to fix it as yet.

    but I also noticed recently, a ctrl-alt-5 screen will be in color mode but when in su it loses the color.
    so mine might be a prob with the su settings or it might be a feature of su ?

  6. #6
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    22
    but I also noticed recently, a ctrl-alt-5 screen will be in color mode but when in su it loses the color.
    so mine might be a prob with the su settings or it might be a feature of su ?
    I think that you may have the same problem as me. I am pretty sure that my bashrc for my user has the alias set for ls --color, but not the root user. Everytime you su, your essentially logging in as root, so you might want to check the bashrc in the root folder.

    I havn't had time to properly test any of this, since I am away from my home system, but I have checked it on both knoppix and kubuntu live cd's and both of them have alias ls="ls --color=auto" in their bashrc files.

    etc/rc0d thru /etc/rc6.d
    so I expect they are the startup settings for each mode, I've not poked extensively though
    I am not sure if this is what I am looking for, these maybe the startup for each session, but I think I am looking for a startup configuration file for KDE, like i mentioned above, I am currently away from my system, but I am sure that the language option and gaim start up when I use KDE, but neither start when I use a Gnome session. So i am sure that both of them have their own start up configuration files. I have not had the chance to look at the /etc/rcX.d files yet, so they may contain a section for KDE or Gnome specific items.

    Thanks

    SD

  7. #7
    Banned
    Join Date
    Feb 2005
    Location
    Sydney Australia
    Posts
    264
    there is
    /etc/rc1.d - /etc/rc6.d AND /etc/rcS.d
    I'm guessing the S is for screen.....

  8. #8
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    22
    Ah, cool, thanks, I will have a chance to test it out, the day after tommorrow.

    SD

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Have a look at /usr/share/doc/sysvinit/README.runlevels.gz for the different runlevels. S stands for single user mode and gets run always on bootup. For KDE autoloading programs have a look at ~/.kde/Autostart/
    The systemwide aliases in knoppix are in /etc/profile but you can also see them just by typing alias.

  10. #10
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    22
    Ah, thanks markus, I had actually already found the /usr/share/doc/sysvinit folder. I managed to get a hold of a knoppix CD so that I could start looking into it. According to the readme that I found in one of the rcX.d folders, everything in the rc1.d-rc6.d and rcS.d are just links to files in /etc/init.d. So I ended up poking around in /etc/init.d which lead me to the sysvinit folder. I did come to the conclusion that the rcX.d folders didn't control KDE start up, but system start up and some of X window start up.

    I will check into ~/.kde/Autostart , but that sound like what I am looking for the KDE startup programs.

    Once again, thanks to all that helped.

    SD

Page 1 of 2 12 LastLast

Similar Threads

  1. Multiple items on boot line
    By doglover in forum Hardware & Booting
    Replies: 4
    Last Post: 01-05-2007, 11:37 AM
  2. Adding items to KMenu
    By knopx4me in forum Customising & Remastering
    Replies: 1
    Last Post: 04-22-2005, 07:27 PM
  3. Background of menu items, after remaster
    By dsblank in forum Customising & Remastering
    Replies: 3
    Last Post: 08-13-2004, 04:09 PM
  4. adding & removing menu items, please help...
    By zroiy in forum Customising & Remastering
    Replies: 5
    Last Post: 08-07-2004, 02:56 AM
  5. [u]Crashing[/u].....[b][color=red]HELP PLEASE[/color][/b]
    By johncarlson21 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-22-2003, 08:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 64GB H730 4xRJ45

$407.00



Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710 picture

Dell PowerEdge R420 Dual Intel Xeon E5-2440 v2 @1.90GHz 32GB RAM No HDD H710

$74.50



Dell PowerEdge R630 Server 2x E5-2650v3 2.30Ghz 20-Core 96GB 2x 300GB H330 picture

Dell PowerEdge R630 Server 2x E5-2650v3 2.30Ghz 20-Core 96GB 2x 300GB H330

$240.10



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$172.95



Dell Poweredge R720 2x Xeon E5-2670 v2 2.5GHz 20-Cores / 128gb / 600gb / H710 picture

Dell Poweredge R720 2x Xeon E5-2670 v2 2.5GHz 20-Cores / 128gb / 600gb / H710

$249.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 128gb / H730 / iDracEnt picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 128gb / H730 / iDracEnt

$319.99



DELL PowerEdge R730XD 26 Bay 2x E5-2667v3 3.2GHz =16 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730XD 26 Bay 2x E5-2667v3 3.2GHz =16 Cores 128GB H730 4xRJ45

$424.00