Thursday, 24 May 2012

Gnome Resources

This is just going to be a blog post for myself that will help me navigate and setup my work environment each time I code. It will be edited with new information as I go along and can be a good source for beginners. 


Table of Contents

1. Compiler Codes
2. Important Resources
3. File Locations
4. Terminal Shortcuts
5. Gnome Shortcuts


Compiler Codes

For C:
gcc filename.c `pkg-config --cflags --libs gtk+-3.0` -o filename
./filename
For Vala:
valac --pkg gtk+-3.0 filename.vala 
./filename
For Python:
python filename.py


Important Resources

Developer Documentation Wiki

Includes: tutorials, checkboard


Simple Git Tutorial

http://spheredev.org/wiki/Git_for_the_lazy


Html, CSS, XML Tutorials

http://www.w3schools.com/html/html_css.asp


Devhelp online

http://developer.gnome.org/gtk3/stable/


Location of Certain Files

Pages

/gnome-devel-docs/platform-demos/C/

Samples

/gnome-devel-docs/platform-demos/C/samples/

Media/Images

/gnome-devel-docs/platform-demos/C/media/


Terminal Shortcuts


sudo yum update -- updates linux

yelp <page file>--shows page
gedit <filename>--shows file in gedit ("notepad program")

cd .. --goes back to previous directory
cd <directory item> --change directory
ls -- shows everything in current directory
pwd --present working directory
ctrl + c --cancel current action in terminal
tab -- completes the rest of the command
mkdir <folder name> -- creates a new folder

fpaste <filename> -- pastes your code to fpaste

Gnome Shortcuts


ctrl + alt +shift + down/up -- moves current window to the workspace below or above
ctrl + alt + down/up -- navigates to the workspace below or above
clicking on name in top right + later holding alt -- shows the shut off option!

0 comments:

Post a Comment