Thursday, June 7, 2007

Remove startup program manually

When you change something that you shouldn't at Beryl, like the Rendering Platform option...

The programs that you have added manually from this menu:












Are available at your ~/.config/autostart directory.



Use Ctrl + Alt + F1 to open a new terminal, logon and remove the program that is causing the problem.

Sunday, June 3, 2007

From Windows to Ubuntu... CLI...

Interesting...

Windows

Linux

What it does?

dir

ls -lah

List files on a directory in a human view

copy

cp

Copy files

move

mv

Move Files

cls

clear

Clear screen

md

mkdir

Create folder

rd

rmdir

Remove folder

del

rm

Remove a file

deltree

rm -r

Remove a folder and its contents

CPU scaling

When you are using a laptop CPU scaling helps you to save power on batteries or give you better performance when connected to AC power.

Just add the applet to some of your gnome panels and change the permissions of file /usr/bin/cpufreq-selector with this command:

sudo chmod +s /usr/bin/cpufreq-selector

Then you will get this icon showing you the processor speed...



Clicking over it you can choose the best profile to use.








Is this information useful?? So remember to Thumb it up!!!

Friday, June 1, 2007

Cedilla / Cedilha Problem (ć to ç)

a very common problem to Brazilian users with U.S. International keyboard. Still with the problem on Feisty...
When you press ' + c you get ć instead of ç.


Edit as super user the file "
/etc/gtk2.0/gtk.immodules" and replace

"cedilla" "Cedilla" "gtk+" "/usr/share/locale"
"az:ca:co:fr:gv:oc:pt:sq:tr:wa"

with

"cedilla" "Cedilla" "gtk+" "/usr/share/locale"
"az:ca:co:fr:gv:oc:pt:sq:tr:wa:en"




Great Programs to start

Some programs to make the system usable.

beryl emerald emerald-theme - Graphical enhancements;
tilda - Amazing terminal program that brings you the terminal with a single keystroke;
amarok - Music Player;
k3b - CD/DVD burner;
wine - Run your Windows programs on Linux;
vlc - Video Player;
beagle - Desktop search engine;
checkgmail - Stay up-to-date with your Gmail messages;

To install any of these programs
sudo aptitude update sudo aptitude install "program"

Or, to install them all!
sudo aptitude install beryl emerald emerald-theme tilda amarok k3b wine vlc beagle checkgmail

Remember to put tilda, beryl-manager and checkgmail commands on System / Preferences / Sessions / Startup Programs. This will make these programs to start after reboot.

Useful files

Some files used to configure your system. This list will be increased soon...

Software Sources
Add or remove your software repositories.
/etc/apt/sources.list

Grub Loader
With this you can change your boot order.
/boot/grub/menu.lst

Environment variables

Paths, proxies and misc. variables usable globally. (i.e.: "PATH=/bin")
/etc/environment

Partitions
File used to configure the mount of your disk partitions
/etc/fstab

Make wget, apt-get and aptitude use a proxy server

Just add this lines to your /etc/environment file...

http_proxy="http://ip address:ip port"
ftp_proxy="http://
ip address:ip port"

then run this command to apply the changes:

source /etc/environment

Startup - Like autoexec.bat :)

This script will run before the graphical interface appears...

1. Make the script with desired commands.
vi file.sh

2. Copy the script to /etc/init.d
cp file.sh /etc/init.d/file.sh

3. Change permission to allow execution
chmod +x /etc/init.d/file.sh

4. At /etc/init.d Link it!
sudo update-rc.d file.sh start 99 2 .
(do not forget the "." at the end of the command)


If you need to disable this script in a near future:
sudo update-rc.d -f file.sh remove