Friday, February 22, 2008
Resolution in the KDM
and added the red line in /etc/X11/xorg.conf
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV18 [GeForce4 MX 4000]"
Monitor "PHILIPS 107E"
Defaultdepth 24
SubSection "Display"
Depth 24
# Virtual 1400 1050
# 1280x1024 is the maximum resolution of the screen, according to the marketing info I found
# in the internet
Virtual 1280 1024
Modes "1024x768@60" "1024x768@43" "1024x768@70" "1152x864@75" "1024x768@75" "1280x960@60" "1024x768@85" "1280x1024@60" "832x624@75" "1400x1050@60" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
Saturday, February 2, 2008
User Agent Switcher
https://addons.mozilla.org/en-US/firefox/addon/59
http://chrispederick.com/work/user-agent-switcher/
(taken from http://www.mydigitallife.info/2006/10/18/bypass-and-crack-megaupload-and-sexuploader-download-slots-and-size-limit-with-alexa-toolbar-hack/)
- Download and install the User Agent Switcher extension for FireFox.
- Restart the FireFox web browser after installation ended.
- Go to Tools -> User Agent Switcher -> Options.
- Then click on User Agents and then click on Add.
- Key in the following information:
Description: MegaUpload
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Alexa Toolbar) - Exit by clicking on OK twice.
- Whenever you want to download from MegaUpload or SexUploader, go to Tools -> User Agent Switcher and select MegaUpload as FireFox’s temporary user agents.
- After downloading the files, you may want to switch back to original user agents, by selecting Default.
Sunday, December 16, 2007
Migrating from Fedora 4 to Ubuntu 7.10
$sudo apt-get install lvm2
And then I followed the instructions on:
http://pissedoffadmins.com/index.php?entry=entry070507-105201
Now, just add at the bottom of /boot/grub/menu.lst the following lines to
title Fedora Core 4
root (hd0,1)
chainloader +1
boot
save the file and reboot! See this
To change the console font (when one gives Ctrl+Alt+F1) add the vga=771 to the corresponding line in /boot/grub/menu.lst. For example:
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=44d34aca-a862-4a4c-99b8-b2ba480527cb ro quiet vga=771
initrd /boot/initrd.img-2.6.22-14-generic
quiet
The table of resolutions is: from http://ubuntuforums.org/showthread.php?t=123920
640x480 800x600 1024x768 1280x1024 1600x1200
---------------+-------+-------+--------+---------+---------
256 (8 bit) | 769 771 773 775 796
32,768 (15 bit)| 784 787 790 793 797
65,536 (16 bit)| 785 788 791 794 798
16.8M (24 bit) | 786 789 792 795 799
I "installed the super user". To do this, I just did:
$sudo passwd root
And I assigned a password to root
I removed the NDIVIA logo at startup: Edit /etc/X11/xorg.conf and change the corresponding lines to:
Section "Device"
...
Driver "nvidia"
...
Option "NoLogo" "true"
EndSection
The KDM has a keyboard configuration in English. But my keyboard has a german distribution. This makes it problematic to ingress passwords. To change the keyboard edit /etc/X11/xorg.conf and change the correponding line
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection
DO NOT run
$ sudo dpkg-reconfigure -phigh xserver-xorg
as it is recommended in the comments of that file!
To install the mouse in the console mode (Ctrl+Alt+F1) do
$ sudo apt-get install gpm
and then reboot the computer.
Friday, May 4, 2007
Commands
http://tuxdom.org/getting_started_ubuntu_7_04_feisty_fawn
http://www.ubuntugeek.com/how-to-install-beryl-with-latest-nvidia-drivers-in-ubuntu-feisty-fawn.html
http://www.arsgeek.com/?p=1313
http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu
Adding Source list
you need to edit /etc/apt/sources.list file
sudo vi /etc/apt/sources.list
Add the following line for the latest beryl (Both i386&64 bit)
deb http://ubuntu.beryl-project.org feisty main
Save file and exit
Copy the key file using the following command
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- sudo apt-key add -
Now you need to update the source list using the following command
sudo apt-get update
Tuesday, April 10, 2007
How to associate the Start key in KDE
$ xev
And obtain the corresponding info. Example:
eyPress event, serial 30, synthetic NO, window 0x3e00001,
root 0x60, subw 0x0, time 5783328, (-83,158), root:(594,323),
state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x3e00001,
root 0x60, subw 0x0, time 5783427, (-83,158), root:(594,323),
state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
Execute in console (or put in .bashrc)
$ xmodmap -e "keycode 115 = F13" #esto es para que StartKey sea F13
$ xmodmap -e "keycode 91 = 46" #esto es para que la coma del teclado numerico, sea un punto
This is for making StartKey behave like F13
Now, in Control Center -> Regional & Accesibility -> Keyboard Shortcuts -> Global Shortcuts ->
Popup Launch Menu -> change Alt+F1 to F13, simply pressing the StartKey
DONE
Tricks for Maria
$ xmodmap -e "keycode 96 = minus" #F12 se vuelve minus
$ xmodmap -e "keycode 96 = underscore" #F12 se vuelve underscore
$ xmodmap -e "keycode 61 = space" #minus se vuelve space
Sunday, March 25, 2007
Samba tips
smbstatus to see who is connected in the samba network to my computer... and to see which file that person is actually checking.
Thursday, March 15, 2007
Going from Fedora to Ubuntu
Instead of executing su, we have to execute sudo; this command will ask you a password. Just introduce the user password. If you want to be root you have to make
$ sudo su
Basically instead of yum we have another command, namely apt-get. Its use is as follows (more details executing $ man apt-get):
sudo apt-get install nameprogram
sudo apt-get remove nameprogram
sudo apt-get search nameprogram
sudo apt-get update nameprogram
examples:
$ sudo apt-get install thunderbird
$ sudo apt-get install ubuntu-desktop #do this if you are using kubuntu, to install gnome
$ sudo apt-get dist-upgrade #this command updates all the packages of the system
apt-get requires a list of the sources. You can edit it:
$ kdesu kedit /etc/apt/sources.list
Some other packages that are worth to install are:
adept, kpackage #those are similar to yumex
to execute:
$ kdesu adept
amarok
kdm libdvdread3 #I don't remember what is "kdm"
libxine-extracodecs
koffice
Some pages that contain useful information:
https://help.ubuntu.com/6.10/book/book/ubuntubook-ch3-html/UsingUbuntuontheDesktop.html
https://help.ubuntu.com/6.10/book/book/ubuntubook-ch6-html/SupportandTypicalProblems.html
https://help.ubuntu.com/6.10/book/book/ubuntubook-ch7-kubuntu/Official-Ubuntu-Book-Kubuntu-Chapter.html
Finally, a good forum is www.kubuntuforums.net