martes, 17 de septiembre de 2013

Busy (At least one logical partition is mounted) - error al montar

este error me salio despues de instalar  W8,
segun GPARTED me informaba q el error era el tipioco apoderamiento de windo$ por haver hibernado o suspendido.
(si ese es el caso  apaga correctamente la pc desde Güindows y despues ingresa a GNU)

en esta ocacion fue mas dificil el error.

diagnostico :

# sfdisk -d /dev/sda
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=     2048, size= 41975808, Id= 7, bootable
/dev/sda2 : start= 41977856, size= 41984000, Id= 7
/dev/sda3 : start= 83961856, size= 41984000, Id= 7
/dev/sda4 : start=125947902, size=850821122, Id= 5
/dev/sda5 : start=125947904, size= 39256064, Id=83
/dev/sda6 : start=165206016, size= 97849344, Id=83
/dev/sda7 : start=263057408, size= 39059456, Id=83
/dev/sda8 : start=302118912, size= 39059456, Id=83
/dev/sda9 : start=341180416, size= 19529728, Id=83
/dev/sda10: start=360712192, size=  3903488, Id=82
/dev/sda11: start=364617728, size=612151296, Id= 83      <---    ***

*** esta marcado como Linux, cuando en realidad es NTFS


Manos a la obra:

dd if=/dev/sdb of=sdb-bootsector count=1  # backup boot sector 
 
sfdisk -d /dev/sda > /tmp/sda.txt 
 
nano /tmp/sda.txt   #sustituimos el numero id en este caso 83 por 7 de la particion con problemas

sfdisk /dev/sda < /tmp/sda.txt
 
reboot 
 
 

fuente:
http://rohieb.wordpress.com/2011/01/02/change-partition-type-without-reformatting/

jueves, 13 de junio de 2013

[solucionado] problema con acentos en los folder y archivos en KDE


apesar que esta solucionado en KDE , les paso el tip, en caso que alguno ahun tenga el problema como yo,(apesar de estar resuelto, ahun tenia las resagas)
entren al folder y ceen el archivo siguinete
.kde/env/KDE_UTF8_FILENAMES.sh
con el siguinete contenido
export KDE_UTF8_FILENAMES=yesplease
cierren secion y abranla nuevamente, y abran el dolphin o konqueror para q lo prueven si funciona el parche
fuente
https://bugs.kde.org/show_bug.cgi?id=165044#c142

miércoles, 12 de junio de 2013

capturar movimientos en pantalla a un .GIF

capturar movimientos en pantalla a un .GIF

byzanz-record -d 26 -c nombrecosa.gif = capturas animadas


cortesia: Dj_Dexter

martes, 4 de junio de 2013

instalar samba

en terminal como root
 apt-get install samba
 
las configuraciones por defecto se crean en este archivo
 
 apt-get install samba
 
El imprescindible respaldo
 
mv /etc/samba/smb.conf /etc/samba/smb.bak 


crear nuevo archivo

nano /etc/samba/smb.conf 

con la siguiente configuracion para un folder compartido sin contraseña


 [global]
 workgroup = smb
 security = share
 share modes = yes
 
 [homes]
 comment = Home Directories
 browsable = no
 read only = no
 create mode = 0750
 
 [public]
 path = /home/usuario/Public 
 public = yes
 writable = yes
 comment = smb share
 printable = no
 guest ok = yes



permisos de escritura al folder

chmod 777 /home/usuario/Public

o vas al folder y le das click derecho y en PERMISOS
le habilitas leer y escrivir a todos

(ahun no se cual es el nesesario <usuario,grupo o otros>, despues verifico y actualizo)




fuente :
http://www.thomas-krenn.com/en/wiki/Simple_Samba_Shares_in_Debian

miércoles, 29 de mayo de 2013

instalando DEBIAN GNU/HURD (25-mayo-2013 al 30-mayo-2013 )


recivi mucha ayuda (en ingles) de los canales:

#hurd en el  servidor freenode
#debian-hurd en el servidor OFTC  (el oficial de debian)

ESPECIALMETE GRACIAS A:
(SPECIAL TANKS TO:)
#freenode
 youpi  ,  elmig, braunr , pinotree, Tekk,

#debian-hurd
azeem , pinotree , gnu_srs


descargalo de aki:


http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/


yo me descargue el DVD con un poeso de 1.4 GB
para evitarme problemas

lo instale en MODO TEXTO, por que no me funciono :
la instalacion grafica, tampoco
la instalacion Pseudo-graphic

la instalacion la
hice en QEMU +KVM , con la interfas grafica AQEMU


en la parte final de la instalacion
cuando estas en la estapa  "seleccion e instalacion de paquetes"

kitale la seleccion  a todo (systema base, VNC ,escritorio, etc)
eso es para que pueda continuar,  al parecer es un BUG,
por que si seleccionas alguno no continua

terminando la instalacion
iniciando secion

alex@debian:/home/alex $

cambia a root
su
<contraseña> enter

root@debian:#

al tratar de instalar xorg de daba un error

# aptitude install xorg
 dpkg :warnig; 'idconfig' not found  in PATH or not executable
 ...
......
.....

en  #hurd freenode

<AlexLikeRock>  i instal finished GNU (/hurd)
<AlexLikeRock> but  when i install  "aptitude install xorg"
<AlexLikeRock> they say ....
<AlexLikeRock> dpkg :warnig; 'idconfig' not found  in PATH or not executable
<AlexLikeRock> what its that ?
<pinotree> http://darnassus.sceen.net/~hurd-web/faq/sudo/

en #debian-hurd OFTC

<azeem> right, that is a problem, as su by default does not add /sbin to the Path
<azeem> you need to run "su -"
<AlexLikeRock> excuseme ; whats its "-"
<AlexLikeRock> ?
<azeem> a dash
<AlexLikeRock> of course, but , what its the function ?
<azeem> http://en.wikipedia.org/wiki/Su_%28Unix%29#Usage
<azeem> see the third exapmle
<azeem> example*
<AlexLikeRock> ok,
<azeem> also see su --help
<azeem>   -, -l, --login               make the shell a login shell



su -
apt-get install xorg
apt-get install twm
startx

error:

cannot open keyboard (no such file or directory)

el error no es que tenga mal el teclado , el problema es que no esta activada la consola de HURD, cuando se instala el sistema en "modo texto" se queda la consola en MACH,


--------ESTO NO ES NESESARIO------
----- este dato es solo nota personal,  -----

<AlexLikeRock>  please  helme to configure keyboard
<AlexLikeRock>  /usr/share/X11/xorg.conf.d
<AlexLikeRock>  /usr/share/X11/xorg.conf.d/10-kbd.conf
<AlexLikeRock> hurd detect the keyboard :-(
<elmig> AlexLikeRock: example from xorg.conf
<elmig> http://paste.debian.net/7702/
<elmig> man kbd is also useful

-----
Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver  "kbd"
 Option  "CoreKeyboard"
 Option  "XkbRules" "xorg"
 Option  "XkbModel" "pc105"
 Option  "XkbLayout" "us"
EndSection
 
 ------

 
 
 ----
motivo del error
 
 
<AlexLikeRock> startx twm ---->   " cannot open keyboard (no such file or directoriy)" 
<AlexLikeRock> elmig,  :-(
* Tekk_ (~user@cpe-071-077-203-175.ec.res.rr.com) has left #hurd ("ERC Version 5.3 (IRC client for Emacs)")
<AlexLikeRock> :'''''(
<AlexLikeRock> i goit go
<youpi> AlexLikeRock:  do you have the console started?
<AlexLikeRock> yes
<youpi> (see http://www.debian.org/ports/hurd/hurd-install)
<AlexLikeRock> im in 
<youpi> you mean you eventually got it working?
<AlexLikeRock> no, its my fist time on debian GNU-HURD
<AlexLikeRock> i can lohin
<AlexLikeRock>  but non startx  :-(
<youpi> but is it the hurd console, not the mach console?
<youpi> what does echo $TERM say?
<AlexLikeRock> im confuse (mach, hurd)
<youpi> what does echo $TERM say?
<AlexLikeRock> root@debian : 
<AlexLikeRock> root@debian : # 
<youpi> please type
<youpi> echo $TERM
<youpi> and paste everything that appeared
<AlexLikeRock> say:
<AlexLikeRock> mach-gnu-color
<AlexLikeRock> .
<youpi> so you're not actually running the hurd console
<youpi> that's why X can't open the keyboard
<AlexLikeRock> O.O
<youpi> did you install in textmode, or in pseudo-graphical mode?
<AlexLikeRock> texmode
<youpi> why didn't you use pseudo-grpahical mode?
<AlexLikeRock> pseudo-graphical mode  and graphic mode  they are  stock!
<youpi> "stock"?
<AlexLikeRock> translating...
<elmig> default ?
<AlexLikeRock> stuck  
<AlexLikeRock> stuck on "selecction and instalation of packages"
<youpi> stuck how? where?
<youpi> ok
<AlexLikeRock> then, i choice texmode
<youpi> but the pseudo-graphical screen was showing up right?
<youpi> then you can enable the hurd console in /etc/default/hurd-console
<youpi> by changing ENABLE to true
<youpi> and rebooting
<youpi> (easiest way) 
 AlexLikeRock> cool...
 
------     -------
 
 
 

editar el archivo /etc/default/hurd-console

nano /etc/default/hurd-console


en los primeros  renglones donde dice
enable the hurd console
 cambiar :
ENABLE a true

guardar y reiniciar

inicia como root

su

despues solo

startx
o

startx twm

solo keda hacer que los usuarios comunes entren sin problemas a X.org

reconfiguramos las X

su
su -

dpkg-reconfigure x11-common

y en "allowanybody"  (permitir a todos)

sales  a usuario normal exit y le das startx




Funcionando !!!! con interfas grafica !!!

trabajo finalizado   exitoso



dato extra , para poder salir de las X

# Exiting X when xinit cannot shut down X (as user):
Section "InputDevice"
  Identifier "Generic Keyboard"
  Driver "kbd"
  Option "XkbRules"   "xorg"
#  Option "XkbModel"    "pc105"
  Option "XkbLayout"  "se"
  Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
 
 
 
 ****************************
instalar AUDIO:
 
gracias al usuario 
 
rmh@gnu.org 


Hi,



I managed to play some sound on GNU/Hurd using patched Rump and a modified mplayer. For

those interested:



1. Setup APT repository (https://people.debian.org/~rmh/rump/apt/00README)



2. If using kvm, add "-soundhw ac97". With real hardware ICH/AC97 and Intel HD audio are supported.



3. Install mplayer from the repository and run with: mplayer -ao sun soundfile.ogg



Enjoy 


*************************************
 
 

jueves, 23 de mayo de 2013

[solucionado] mupet64plus no detecta el control (mando)

bueno mi problema era el siguiente

desde terminal:
mupen64plus '/home/usuario/games/n64/Diddy Kong Racing.v64'
 ...
.....


Input: N64 Controller #1: Using stored config for SDL joystick 0 ('PC Game Controller       ')
Input: No auto-configuration found for device 'ZEROPLUS PS(R) Gamepad Adaptor'
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Warning: No rumble supported on N64 joystick #1


traduccion:
Input: N64 Controller #1: Using stored config for SDL joystick 0 ('PC Game Controller       ')








encontro una PRE-configuracion para ese control

Input: No auto-configuration found for device 'ZEROPLUS PS(R) Gamepad Adaptor'






NO ENCONTRO alguna PRE-configuracion para  ese dispositivo,
en otras palabras mete la configuracion "a mano"


Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input Warning: No rumble supported on N64 joystick #1





aqui te resume diciéndote que de los 2 controles conectados solo funcionara uno y que NO va a funcionar el vibrador  (maldicion  ¬.¬   )


-------------


preparativos

identifica el numero de dispositivo, conayuda de algun calibrador de controles
por ejmplo jstest-gtk o el del panel de control de KDE (dispositivos / joystick)

el primer control aparece como /dev/input/js0
en mi caso el control problematico es el segundo (ZEROPLUS PS(R) Gamepad Adaptor) y aparece como
"/dev/input/js1"
(device = 1)


SOLUCION:
NOTA, es recomendable hacer una copia de respaldo antes 
cp /usr/share/games/mupen64plus/InputAutoCfg.ini /usr/share/games/mupen64plus/InputAutoCfg.ini-copia

edita el archivo  InputAutoCfg.ini que se encuentra en el folder
/usr/share/games/mupen64plus/

nano /usr/share/games/mupen64plus/InputAutoCfg.ini

 agrega

hasta el fondo del archivo

[EL NOMBRE DE MI CONTROL]
device = X
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = hat(0 Right)
DPad L = hat(0 Left)
DPad D = hat(0 Down)
DPad U = hat(0 Up)
Start = button(9)
Z Trig = button(7)
B Button = button(0)
A Button = button(2)
C Button R = axis(3+)
C Button L = axis(3-)
C Button D = axis(2+)
C Button U = axis(2-)
R Trig = button(6)
L Trig = button(4)
Mempak switch =
Rumblepak switch =
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
 
 
 y pones los datos correspondientes en

[EL NOMBRE DE MI CONTROL]    <---- eso lo muestra durante el error entre comillas
device = X      <----------------- la equis la sustituyes por el numero de tu dispositivo
 
en mi caso es: 

[ZEROPLUS PS(R) Gamepad Adaptor]
device = 1

entonces me quedo asi

[ZEROPLUS PS(R) Gamepad Adaptor]
device = 1
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
DPad R = hat(0 Right)
DPad L = hat(0 Left)
DPad D = hat(0 Down)
DPad U = hat(0 Up)
Start = button(9)
Z Trig = button(7)
B Button = button(0)
A Button = button(2)
C Button R = axis(3+)
C Button L = axis(3-)
C Button D = axis(2+)
C Button U = axis(2-)
R Trig = button(6)
L Trig = button(4)
Mempak switch =
Rumblepak switch =
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
 
fuente:
http://code.google.com/p/mupen64plus/wiki/ControllerSetup
 
en caso de continuar con los problemas esta hay
 varios programas q emulan el teclado con el jostick
como:
  1. joy2key
  2. http://qjoypad.sourceforge.net/
  3. .... tengo sueño -.-
    saludos 
 
 
 
 

viernes, 17 de mayo de 2013

instalar las llaves multimedia

el error

Fetched 198 B in 5s (34 B/s)
Reading package lists... Done
W: GPG error: http://www.deb-multimedia.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907



la solucion

paso 1

# apt-get install debian-keyring

paso 2

# gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -


NOTA:
los numeros  raros  07DC563D1F41B907, los tome de el error que me salio  arriba



si tu problema no se  resuelve,
intenta :

1) apt-get install debian-archive-keyring

2) apt-get install deb-multimedia-keyring



Donarme :->

Donar a AlexLikeRock
muchas gracias por tu ayuda :->

Devuan Logo at TXT with color

    #/bin/bash -e #re-edit by AlexLikeRock  # Sunday, March 22 2026 #inspire from Guest57   and https://github.com/KittyKatt/screenFetch/blo...