Shortcuts
A computer savvy can be quickly recognized by the shortcuts he/she uses
Favorite Firefox shortcuts
F6: select location bar
Page Info: Ctrl+I
Page Source: Ctrl+U
Zoom In: Ctrl++
Zoom Out: Ctrl+-
Zoom Reset: Ctrl+0
Find As You Type Link: ‘
Find As You Type Text: /
Web Search: Ctrl+K
Open Address in New Tab (from Location Bar or Search Bar): Alt+Enter
Error Console: Ctrl+Shift+J
Full Screen: F11
Ctrl+y (ctrl+j in windows) will open the download window
Favorite nautilus-gnome shortcuts
Ctrl-t : move to trash
F9 : toggle side-pane
Alt-home : jump to home folder
Alt-enter : file / folder properties
Open Office
ctrl+shift+space: default formatting
ctrl+shift+b: sub script
ctrl+shift+y: super script
ctrl+shift+space: default formating
ctrl+shift+s: special charaters
F7: spellcheck
F11: Styles and formatting
F12: Numberinf On/Off
shift+F12: Bullets On/Off
ctrl+e: centered
ctrl+l: align left
ctrl+r: align left
ctrl+F7: Thesaurus
ctrl+F12: Table
ctrl+Backspace: Delete word
ctrl+shift+j: Full Screen
Shortcuts in OpenOffice can be found in Tools/Customize/Keyboard
Tools/AutoCorrect/Options tab
Commands for Evolution
ctrl+n: new message
ctrl+m: insert attachment
f9: send/receive
ctrl+enter: send
Commands within the terminal
To customize, go to: Edit/Keyboard Shortcuts
The followings are by default
ctrl + l: Clear screen
ctrl + u: Place cursor at the end, and it’ll clear the current line
ctrl + r: Recursive finder
More shortcuts
ctrl+alt+f1: Start a virtual Console
ctrl+alt+f7: back to graphical mode
http://ubuntuforums.org/showthread.php?t=50794
http://www.cyberciti.biz/faq/howto-create-keyboard-shortcuts-in-gnome/
Tips and additional tools
How to connect to a Linksys router
Merge pdf files
sudo apt-get install pdftk
If you ever had the problem that you can’t print a file because the computer does not recognize the format of the file, next time save your document as a PDF file, it can be opened and printed in almost any computer
C section
GCC and G++ are running by default in Ubuntu and most Linux distributions.
However, base on your software sources, these compilers may not included. To solve this issue type in the terminal:
sudo apt-get install build-essential
Compiling and running C, C++ programs with gcc and g++ respectively
If there is a Makefile file just type: ‘make’ . Otherwise:
Compile: gcc -o program_name program_name.c (cc compiler can also be used)
Run: ./program_name
gcc: warning messages
These usually appear because of missing libraries
http://www.joeandmotorboat.com/2005/06/30/gcc-error-warning-implicit-declaration-of-function/
To use excpl function in c, it must include the path of the command to use. To find out such path use whereis command
http://www.opengroup.org/onlinepubs/000095399/functions/exec.html
Regular Expressions in C++ using Netbeans and Boost
Linking with external libraries
http://www.network-theory.co.uk/docs/gccintro/gccintro_17.html
http://tldp.org/HOWTO/Program-Library-HOWTO/index.html
How to run a c++ executable program in a machine that does not have c++ installed?
Answer: Link its libraries statically, therefore it’s translated into assembly
I use the following instructions:
g++ -Wall -g -c program_name.cpp -o program_name.o
g++ -g -o program_name_static program_name.o -L. /path/library.a
C help
http://www.cplusplus.com/doc/tutorial/
http://www.skytopia.com/project/articles/compsci/c-help.html
The Code Linux
IBM Linux ad: Prodigy
Linux advertisement from IBM, released in September …
-
Archives
- February 2009 (1)
- November 2008 (11)
- October 2008 (4)
- September 2008 (8)
- August 2008 (10)
- June 2008 (2)
- May 2008 (1)
- April 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS