options snd-hda-intel model=laptop-dmicFuente:
http://ubuntuforums.org/showthread.php?t=1917304&p=11812640#post11812640
,,,^..^,,,~
Las experiencias de una novata ensayando Ubuntu Hardy Heron en una tablet hp.
options snd-hda-intel model=laptop-dmicFuente:
sudo gedit /etc/X11/xorg.conf
Option "RandRRotation" "on"
sudo gedit /usr/local/bin/rotation.sh
Guarda el fichero, y dale poderes de ejecución con este comando:
#!/bin/bash
rotation="$(xrandr -q --verbose | sed -n '2 {p;q}' | cut -d' ' -f5)"
case "$rotation" in
normal)
xsetwacom set "stylus" Rotate HALF
xsetwacom set "touch" Rotate HALF
sleep 1
xrandr -o inverted
;;
inverted)
xsetwacom set "stylus" Rotate NONE
xsetwacom set "touch" Rotate NONE
sleep 1
xrandr -o normal
;;
esac
sudo chmod a+r+x /usr/local/bin/rotation.sh
#DVD button
setkeycodes e00e 144
#Media button
setkeycodes e008 136
#touchpad disable button
#setkeycodes e058
#touchpad enable button
#setkeycodes e059
sudo /etc/rc.local
gconftool-2 --type string --set /apps/metacity/keybinding_commands/command_1 "/usr/local/bin/rotation.sh"
gconftool-2 --set /apps/metacity/global_keybindings/run_command_1 --type String "XF86Launch0"
gedit ~/.Xmodmap
keycode 144 = XF86Launch0
keycode 152 = XF86Launch1
- host:# apt-get install vpnc
Configuració
Per a configurar l'aplicació haureu de crear un fitxer /etc/vpnc.conf
amb les següents directives:
IPSec gateway vpn-server.uji.es
IPSec ID UJI
IPSec secret 12345678
Xauth username mi-usuario
Sent "mi-usuario" el vostre nom d'usuari dins de la universitat..
Utilització de l'aplicació
Com usuari "root" haureu d'executar el següent comando per a la connexió:
- host:# vpnc-connect
Sol·licitarà que introduïu la clau d'accés de l'usuari UJI per a
establir la comunicació VPN amb el servidor. Una vegada establida, les
taules d'enrutament s'ajustaran automàticament.
Per a desconnectar-se:
- host:# vpnc-disconnect
### Touch Configuration Begin ###
Section "InputDevice"
Identifier "EETI"
Driver "egalax"
Option "Device" "/dev/input/event2"
Option "Parameters" "/var/lib/eeti.param"
Option "ScreenNo" "0"
EndSection
### Touch Configuration End ###
"You can get a bunch of Microsoft fonts (including Times New Roman) by
installing the msttcorefonts package.
msttcorefonts has an amusing history; Microsoft licensed the fonts for
anyone to freely use (regardless of OS) to help boost the market share
of IE. When they won the first browser wars, they removed the files
from their site… but the license says you can freely redistribute them
so that's how we can legally use them."
sudo fdisk -l
Well, you need to add lines in fstab for each of the partitions on
your internal hard drive that you want mounted automatically.
1) Use the following command to create a mount point for this drive
(change mountpoint to a name that is not already in use and will be
easy to recognize and remember):
sudo mkdir /media/mountpoint
2) Use the following command to back a back up of your fstab file in
case something goes wrong:
sudo cp /etc/fstab /etc/fstab.bak
3) Use the following command to open fstab for editing:
sudo gedit /etc/fstab
Add one of the following line (depending on filesystem type) to your
fstab to cause it to automatically mount (replace sda# with the name
of the device you wish to mount and mountpoint with the mountpoint you
created in step 1):
For ext3:
/dev/sda# /media/mountpoint ext3 defaults,errors=remount-ro 0 1
For NTFS:
/dev/sda# /media/mountpoint ntfs-3g defaults,nls=utf8,umask222 0 0
For Fat32 or Fat16:
/dev/sda# /media/mountpoint vfat user,utf8,fmask=0111,dmask=0000 0 0
Reboot.
Fuente: http://ubuntuforums.org/archive/index.php/t-669962.html
* Usually, people associate swap with a swap partition, maybe
because they've been proposed to create a swap partition on install.
In fact any file can be used as a swapping device, be it a partition
or a conventional file. If you're considering responsiveness, my
advice: add more RAM. Swapping to a partition or a file won't change
anything.
* We will add more swap by adding a swap file.
Adding more swap is a four-step process :
o a- Creating a file the size you want.
o b- Formatting that file to create a swapping device.
o c- Adding the swap to the running system.
o d- Making the change permanent.
We will consider (as an example) a 512 Mb swap need.
a- Creating a file the size you want :
We will create a /mnt/512Mb.swap swap file.
sudo dd if=/dev/zero of=/mnt/512Mb.swap bs=1M count=512
What is important here is count=512, which means we want our file to
contain 512 blocks of bs=1M, which means block size = 1 MegaBytes.
Be careful *not* to do this dd of=/mnt/512Mb.swap bs=1M seek=512 count=0
Though the file grows to 512Mb immediately,it will have holes that
makes it unusable.
b- Formatting that file to create a swapping device :
sudo mkswap /mnt/512Mb.swap
c- Adding the swap to the running system :
sudo swapon /mnt/512Mb.swap
You can see with "cat /proc/meminfo" that your additionnal swap is
now available.
d- Making the change permanent :
edit your /etc/fstab:
sudo gedit /etc/fstab
and add this line at the end of the file:
/mnt/512Mb.swap none swap sw 0 0
save and reboot