Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[KDE] path de consola (solucionado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
dmarrero
n00b
n00b


Joined: 15 Sep 2005
Posts: 13

PostPosted: Sun Sep 25, 2005 10:59 am    Post subject: [KDE] path de consola (solucionado) Reply with quote

Buenas gente cada vez que abro una CONSOLA desde el entorno grafico (uso kde) me aparece como

bash-2.05$

y para que me ponga la "ruta" escribo "source /etc/profile" porque me interesa ver que usuario soy y en que maquina estoy
¿como hago para poner por defecto que me aparezca la "ruta normal" con el usuario y la maquina?



informacion de mi maquina

Code:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  2 2005, 16:55:18)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.9.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb eds emboss encode fam foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis x86 xine xml2 xmms xv zlib linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY





y Konsole usa como tabulador xterm (X-Free 4.x.x)


gracias por vuestro tiempo ^^
salu2


Last edited by dmarrero on Mon Sep 26, 2005 1:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Sun Sep 25, 2005 12:28 pm    Post subject: Reply with quote

Es sencillo. Basta con añadir "source /etc/profile" al final del archivo ~/.bashrc

Saludozzzzzz
Back to top
View user's profile Send private message
galidor
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 157
Location: Valencia

PostPosted: Mon Sep 26, 2005 12:23 am    Post subject: Reply with quote

Seguramente no tenga ese archivo en el home...

Recuerda copiar el contenido de /etc/skel a tu home.

Code:
cp /etc/skel/* ~


Y mira... esto lo añadí al ~/.bashrc para tener el prompt en colores en las TTY y en blanco en el terminal gráfico.

Code:
# colored prompt
if [ "$TERM" = "linux" ]
then
PS1="\[\e[01;31m\]\u\[\e[00m\] @ \[\e[01;34m\]\h \[\e[00m\]\W \[\e[01;37m\]\$\[\e[00m\] "
else
PS1="\[\e[01;37m\]\u @ \h \W \$\[\e[00m\] "
fi
Back to top
View user's profile Send private message
kalcetoh
Guru
Guru


Joined: 05 Jun 2005
Posts: 304

PostPosted: Mon Sep 26, 2005 12:54 pm    Post subject: Reply with quote

Lo suyo es cambiar la variable $PS1 según tus gustos, pero la que viene en /etc/skel, como te dicen aqui arriba está bastante bien.
Back to top
View user's profile Send private message
dmarrero
n00b
n00b


Joined: 15 Sep 2005
Posts: 13

PostPosted: Mon Sep 26, 2005 4:01 pm    Post subject: Reply with quote

Muchas gracias gente
y si les digo que hice un "emerge bash" y tb lo solucioné xDDD
(como me complico la vida eh?)

muchas gracias ^^

ciaooooo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum