Oct 13 2011

Going back to Gnome Classic on Ubuntu 11.10

Good Night!

Everybody probably knows that today Ubuntu 11.10 Oneiric Ocelot was released. I just finish my installation and I couldn't find the Gnome Classic option. Then I remembered somebody told me I need to install "gnome-session-fallback" to get it again.

Use:

$ sudo apt-get install gnome-session-fallback

Logout. Press the gear and choose Gnome Classic.

That is it!
Matheus

Apr 28 2011

Installing Flash Player on Ubuntu 11.04 – 64 bits

Hello,

Just installed my Ubuntu 11.04 - 64 bits, and decided to install flash. I thought to install the Romeo-Adrian Cioaba script that I published as
Install Flash in Ubuntu 10.04 - 64 Bits.

I decided to update the script to install the last available flash version. The newer version that I found is Flash Player Square 10.2.p3.

Native Flash Player 10.2 Preview 3 installer
Native Flash Player 10.0.45.2 installer (Recommended, seems more stable)

Give it, execution permission:

$ chmod +x native-64bit-flash-installer.sh

-

Execute it.

$ ./native-64bit-flash-installer.sh

I commented the line that create a symbolic link to XUL-Runner, because I couldn't find it on my computer. If you have any problem, let me know.

Tested and working!

There is a Flash version on Ubuntu repository. (It is older and I can't guarantee anything about it. But it is there)

$ sudo apt-get install flashplugin-installer

Best Regards,
Matheus

References:
http://www.myscienceisbetter.info/install-native-64bit-flash-player-10-on-linux.html

Apr 28 2011

Remove or Disable Overlay Scrollbar – Ubuntu 11.04

Hello,

I like the normal scrollbars. So when I installed Ubuntu 11.04, I didn't like the new type of scrollbars. If you want to remove it:

$ sudo apt-get remove overlay-scrollbar

If this doesn't work, try this (tips from Joonas)

$ sudo apt-get remove liboverlay-scrollbar-0.1-0

Or if you just want to disable it (I think it is betters), do this:

$ sudo echo "export LIBOVERLAY_SCROLLBAR=0" > /etc/X11/Xsession.d/80overlayscrollbars

Reboot your system.

That is it!
Matheus

References:
http://www.webupd8.org/2011/04/how-to-disable-overlay-scrollbars-in.html
http://ubuntu4beginners.blogspot.com/2011/04/disable-overlay-scrollbars-in-ubuntu.html

May 14 2010

Install Flash in Ubuntu 10.04 64bits

Hello,

The classic problem when you install some new Ubuntu 64 bits version, how to use flash/

I found a script in internet that do it automaticlly for you, native flash installer (64 bits)

Close FIREFOX!

Download it

$ wget http://www.myscienceisbetter.info/flash-player/native-64bit-flash-installer.sh

Give execussion permission

$ chmod +x native-64-bit-flash-installer.sh

Execute it

$ ./native-64-bit-flash-installer.sh

Matheus

Reference:
http://mattrudge.wordpress.com/2010/05/03/installing-flash-player-on-ubuntu-10-04-64-bit/

May 14 2010

Update the buttons position in the upper bar in Ubuntu 10.04

Hello,

If you want to change the position of the buttons in windows. The buttons that I mean is, close, maximize, minimize.

To change it use ALT+F2 and type gconf-editor

gconf-editor

Press enter, open the tree APP and search for metacity, search for the button_layout.

metacity

Change it to "menu: maximize,minimize,close" remember to update the order of the words to get the default way. "menu:minimize,maximize,close"

Matheus

Reference: http://www.howtogeek.com/howto/13535/move-window-buttons-back-to-the-right-in-ubuntu-10.04/

Aug 17 2009

Install Ubuntu 9.10 Alpha 4 from Pendrive

Hello,

Just to report how I installed Ubuntu 9.10 Alpha 4 using my Pendrive. First I download it from http://cdimage.ubuntu.com/releases/karmic/alpha-4/

After this I used the "System - Administration - USB Startup Disk Creator", choosed the image that you want and press "Make Startup Disk".

Than just boot from the PenDrive and install normally.

Matheus

Aug 16 2009

Install NVIDIA Graphic Card in Ubuntu

Good Night,

If you want to install NVIDIA proprietary driver. First of all see if you don't have any other version installed. Using Ubuntu go to: System - Administration - Hardware Drivers. Disable it if you want.

To verify the newest version http://www.nvnews.net/vbulletin/showthread.php?t=122606

1. Download the version that you want to install.

2. Access console pressing ctrl+alt+f1 (Don't do it know!)

3. $ cd /download/place/

4. Close the GDM (Gnome Desktop Manager) using: sudo /etc/init.d/gdm stop

5. Run the installer: $ sudo sh ./Nxxx.run (maybe you will need to use chmod +x Nxxx.run)

6. During the installation choose "Update xorg.conf automaticlly..

7. Reboot your system: sudo reboot

In the portuguese version this is almost a translation of http://ubuntuforums.org/showthread.php?t=990978

Matheus

Jul 06 2009

Serial Mouse with Scroll on Ubuntu 9.04

Hello,

Just changed my mouse to a Serial one, and the Scroll don't work. So what to do?

Edit /etc/X11/xorg.conf and add this lines:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "Mouse"
Option "CorePointer"
Option "Device" "/dev/ttyS0"
Option "Protocol" "IntelliMouse"
Option "ZAxisMapping" "4 5"
EndSection

Remember that your Protocol can be other, so verify it typing:

$ inputttach --help

Best Regards,
Matheus

Apr 26 2009

Ubuntu 9.04, 64 Bits with Java.

Hi,

I was trying to access my back account but I could not due to problems with the java. Talking with a friend, he told me what i have to install to get it working. If you want to use Java in Ubuntu 64bits you have to use "sun-java-plugin". To install it use this command:

sudo apt-get install sun-java6-plugin

See you,
Matheus

PS: Forgive me for publishing just a little. I was traveling and now I have some tests in university.

Apr 25 2009

Ubuntu 9.04, reducing your boot time.

Hey, searching around the internet, i find some ways to decrease the boot time. All of them were for older versions, tham i decided to try it in new Ubuntu 9.04 (Jaunty Jackalope) and i get 22seconds boot time.

I used the bum (sudo apt-get install bum) to remove some things that i don't use.
This thins are:
acpid - Controls energy/buttons in pc/Laptop. If you don't use notebook or a keyboard with hotkeys you can remove it.
acpi-support - Like above.
hotkey-setup - Similar above.
anacron - This system runs processes periodically. You could remove it, and use cron.
atd - Like cron, Task Scheduler.
bluetooth - Bluetooth support
usplash - Without this, you don't see a beautifull loading screen when booting.
dns-clean - Used by dial-up connections.
pppd-dns - Used by dial-up connections.
saned - A lib for scanners.

Remember, i removed this things, like bluetooth and acpid because i don't use it. You shouldn't remove it, if you use. You must choose what item to remove according to your system.

Use:
$ sudo pico /boot/grub/menu.lst
and remove splash.

kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=5be10a48-2c12-4165-8957-81c7a15274e5 ro quie splash
turned
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=5be10a48-2c12-4165-8957-81c7a15274e5 ro quie

Reboot the system and executed the profiler. Press "e" in grub to edit, add to line that starts with "kernel" the word profile (add it in the end). Press "B" to boot. Wait a while, your boot is going to be slow. After this, reboot and see your boot time in bootchart.

If you want you can use Concurrent boot. To use it you have to edit /etc/init.d/rc
$sudo pico /etc/init.d/rc

And change
CONCURRENCY=none
to
CONCURRENCY=shell

Save and restart. Verify your boot time and decide if you want to use it or not. (Probabily if you don't change boot order in rcX.d, You will not see difference.)

Usei o sudo bum (apt-get install bum) para remover algumas coisas que eu não usava.
As coisas removidas foram as seguintes:
acpid - Serve para gerenciar a energia/controles do pc/laptop. Se você não usa um notebook ou teclado com teclas te atalho pode remover.
acpi-support - Para notebooks. Como o de cima.
hotkey-setup - Semelhante ao anterior.
anacron - Este sistema roda processos periodicamente. Você pode remove-lo e colocar serviços criticos para cron
atd - Como o cron, esse também é um agendador de tarefas.
bluetooth - Suporte a Bluetooth
usplash - Remove a tela bonitinha de loading, aparecendo um monte de mensagens na tela. (remover splash da grub tbm. Abaixo)
dns-clean - Utilizado para conexões dial-up.
pppd-dns - Utilizado para conexões dial-up.
saned - Biblioteca para scanners.

Lembrando que removi pois não utilizava certos dispositivos, como bluetooth, agendador de tarefas e notebook. Voce deve ver se remove ou não de acordo com seu sistema.

For now just this, but when i have time I want to rebuild my kernel and see the diferences. Stay calm, i will keep you informed.

Matheus Bratfisch

References:
http://www.extremetech.com/article2/0,2845,2114124,00.asp
http://wiki.ubuntu-br.org/AcelerandoBoot#head-c8957311083b70f08301d9339d1dea3c54c1c9ae
http://caarlos0.wordpress.com/2009/02/09/boot-do-ubuntu-intrepid-em-20-segundos-d/