FreeBSD 8.2: Instalar fluxbox

Iniciado por 9ttnix, 14 Octubre 2011, 01:29 AM

0 Miembros y 1 Visitante están viendo este tema.

9ttnix

Hola amigos del foro

Bueno ahora que aprendi a golpe :D que instalar FreeBSD y usarlo para escritorio es algo tedioso no imposible y basandome en la recomendacion de que se use para servidor pues he vuelto a reinstalar FreeBSD 8.2 en Virtualbox desde cero y sin entorno de escritorio, pero si instale las X Xorg 7.4 si no mal recuerdo.

Despues de eso solo he hecho:


# freebsd-update fetch
# freebsd-update install
# portsnap fetch extract


Decidi instalar Fluxbox asi que supongo que solo es cuestion de hacer

# pkg_add -r fluxbox

Es solo eso nada mas o hay que hacer algo mas para que fluxbox funcione?

Saludos
The knowledge is power

Foxy Rider


9ttnix

hola vertex

cuando hice pkg_add -r fluxbox no me funcionaba asi que lo instale desde los ports
bueno instale y cuando reinicie hice startx pero nada de fluxbox solo salio ventanas xterm. Algo me falta?

saludos
The knowledge is power

Slava_TZD

Necesitas poner una línea como esta en tu xinitrc:

exec fluxbox


The fact is, even if you were to stop bombing us, imprisoning us, torturing us, vilifying us, and usurping our lands, we would continue to hate you because our primary reason for hating you will not cease to exist until you embrace Islam.

9ttnix

Hola Tzhed, vertex

Listo amigos ya esta bueno ahora me pasa lo siguiente despues de logearme en freebsd y antes de hacer startx pues mi teclado esta en español latino bueno aqui mi rc.conf


hostname="VBSD.tpsys"
ifconfig_em0="inet 192.168.1.102 netmask=255.255.255.0"
defaultrouter="192.168.1.1"
keymap="latinamerican.iso.acc"
dbus_enable="YES"
hald_enable="YES"


pero despues que hago startx me carga el entorno de fluxbox y cuando abro una terminal xterm en fluxbox pues mi teclado parece estar en otra configuracion.

Preguntas:
¿A que se debe esto?
¿Como se soluciona esto?

The knowledge is power

Slava_TZD

Te pego la info directamente del handbook:

Note: As previously explained since version 7.4, by default, the hald daemon will automatically detect your keyboard. There are chances that your keyboard layout or model will not be correct, desktop environments like GNOME, KDE or Xfce provide tools to configure the keyboard. However, it is possible to set the keyboard properties directly either with the help of the setxkbmap(1) utility or with a hald's configuration rule.

For example if one wants to use a PC 102 keys keyboard coming with a french layout, we have to create a keyboard configuration file for hald called x11-input.fdi and saved in the /usr/local/etc/hal/fdi/policy directory. This file should contain the following lines:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>
   <match key="info.capabilities" contains="input.keyboard">
     <merge key="input.x11_options.XkbModel" type="string">pc102</merge>
     <merge key="input.x11_options.XkbLayout" type="string">fr</merge>
   </match>
 </device>
</deviceinfo>


If this file already exists, just copy and add to your file the lines regarding the keyboard configuration.

You will have to reboot your machine to force hald to read this file.

It is possible to do the same configuration from an X terminal or a script with this command line:

% setxkbmap -model pc102 -layout fr

The /usr/local/share/X11/xkb/rules/base.lst file lists the various keyboard, layouts and options available.


http://www.freebsd.org/doc/handbook/x-config.html

Saludos


The fact is, even if you were to stop bombing us, imprisoning us, torturing us, vilifying us, and usurping our lands, we would continue to hate you because our primary reason for hating you will not cease to exist until you embrace Islam.

9ttnix

hola amigos

bueno hice lo que me sugeriste Tzhed sin embargo cuando freebsd me da el login para ingresar pues me lanza lo siguiente:


VBSD hald[929]: error in fdi file /usr/local/etc/hal/fdi/policy/x11-input.fdi:1:unclosed token


la configuracion que me diste es de un teclado de 102 teclas y el idioma es frances asi que solo cambie y esta asi:


<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_options.XkbModel" type="string">pc102</merge>
      <merge key="input.x11_options.XkbLayout" type="string">latam</merge>
    </match>
  </device>
</deviceinfo>


Solo cambie le layout de fr a latam segun vi en la lista base.lst que esta en /usr/local/share/X11/xkb/rules/

A que se debe y como se soluciona?

Saludos
The knowledge is power

Slava_TZD

No veo nada raro en el XML ¬¬

Ejecuta esto y nos cuentas:

% setxkbmap -model pc102 -layout latam


The fact is, even if you were to stop bombing us, imprisoning us, torturing us, vilifying us, and usurping our lands, we would continue to hate you because our primary reason for hating you will not cease to exist until you embrace Islam.

9ttnix

hola Tzhed

Parece que esa fue la solucion porque ya cambio la configuracion de teclado. Ahora instalare las guest additions para freebsd para que se redimensione a pantalla completa pero quisiera personalizar fluxbox por ahora lo tengo asi https://skydrive.live.com/?cid=c7487906a6d3476c&sc=documents&uc=1&id=C7487906A6D3476C%21135#cid=C7487906A6D3476C&id=C7487906A6D3476C%21151&sc=documents.
He visto que le ponen fondo y bueno no se como se llamen en FreeBSD pero se ven en el escritorio en forma visual la cantidad de memoria usada, lo mismo de procesador, espacio en disco, la red, etc...

Algo asi https://skydrive.live.com/?cid=c7487906a6d3476c&sc=documents&id=C7487906A6D3476C%21135#cid=C7487906A6D3476C&id=C7487906A6D3476C%21152&sc=documents

Como se logra este aspecto?

Saludos
The knowledge is power

Slava_TZD

El monitor de recursos de la imagen es conky, creo que el File Manager de la imagen es thunar...Lo otro ya son themes, fondo...Busca algún tutorial sobre como "tunear" fluxbox.

Saludos


The fact is, even if you were to stop bombing us, imprisoning us, torturing us, vilifying us, and usurping our lands, we would continue to hate you because our primary reason for hating you will not cease to exist until you embrace Islam.