Sitio web de Pepe Sánchez Lorente

Añadir a nautilus la opcion para abrir ficheros jar

Detalles
Publicado el 17 Mayo 2015
Visitas: 782

This is how I solved in Gnome -

 

1 - create file /usr/share/applications/java.desktop

 

In it, paste the below. It may not be perfect, I just wrote this as I went -

 

[Desktop Entry]

Name=OpenJDK

Comment=Java Application Launcher

Exec=/usr/bin/java -jar %f

Icon=java

Terminal=false

Type=Application

NoDisplay=true

Categories=Utility

MimeType=application/x-java-archive;

 

2 - In Files/Nautilus, right click a jar and click properties. On the ‘open with’ tab, click Reset at the bottom - I had to do this to get OpenJDK to then show up. Then select OpenJDK, and click Set as Default.

Para saber qué conexiones hay abiertas y hacia adónde van , en nuestro ordenador

Detalles
Publicado el 02 Mayo 2015
Visitas: 882

Usando este comando:

sudo lsof -n -P -i +c 15

Arreglar el pendrive USB cuando viene de un error de Windows (NTFS)

Detalles
Publicado el 02 Mayo 2015
Visitas: 1025

Sucede este error después de desmontar el pendrive desde windows y en ubuntu No lo puede leer.

Da un mensaje como este

"NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. "

 

Para solucinar el tema,

Mount usb disk and failed
Try mount ntfs partition on usb hard disk.. failed. recommend fix using chkdsk /f

[root@serverc ~]# mount -t ntfs /dev/sdb1 /media
ntfs_mst_post_read_fixup: magic: 0x44414142  size: 1024  usa_ofs: 21333  usa_count: 21332: Invalid argument
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Input/output error
Failed to mount '/dev/sdb1': Input/output errorNTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
[root@serverc ~]# 

ntfsfix
run ntfsfix tool to fix NTFS, but fail and solution point to chkdsk 

[root@serverc ~]# ntfsfix /dev/sdb1
Mounting volume... ntfs_mst_post_read_fixup: magic: 0x44414142  size: 1024  usa_ofs: 21333  usa_count: 21332: Invalid argument
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Input/output error
FAILED
Attempting to correct errors... ntfs_mst_post_read_fixup: magic: 0x44414142  size: 1024  usa_ofs: 21333  usa_count: 21332: Invalid argument
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Input/output error
FAILED
Failed to startup volume: Input/output error
ntfs_mst_post_read_fixup: magic: 0x44414142  size: 1024  usa_ofs: 21333  usa_count: 21332: Invalid argument
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Input/output error
Volume is corrupt. You should run chkdsk.
[root@serverc ~]# 


now to run chkdsk... need to find Windows...

Programa para saber qué ordenadores hay en tu red

Detalles
Publicado el 02 Mayo 2015
Visitas: 944

Especial para redes wifi y saber si alguien te está pirateando la wifi.

zenmap

Página 1 de 3

  • 1
  • 2
  • 3
  • Usted está aquí:  
  • Inicio
foto_alta.jpg

Menú Principal

  • Inicio
  • Aula Virtual
  • Blog

Ir arriba

© 2018 Sitio web de Pepe Sánchez Lorente