Showing posts with label Customization. Show all posts
Showing posts with label Customization. Show all posts

2008-02-17

My fonts @ Arch Linux

Screenshot:



Need to install:

pacman -S artwiz-fonts ttf-ms-fonts
# artwiz-fonts is not really necessary but is a 'nice pack'.


Attention:
Installing ttf-ms-fonts gives me a damm big bug! My fonts at the login became huge. Size 100 at lest. Use at you own risk...

2007-12-17

Alias - how to

Definition (alias [ˈeiliəs] noun):
a false name

Example: What alias did the crook use this time?
Arabic: إسْم مُسْتَعَار
Chinese (Simplified): 化名
Chinese (Traditional): 化名
Czech: falešné jméno
Danish: alias; dæknavn
Dutch: alias
Estonian: valenimi
Finnish: peitenimi
French: faux nom
German: der Deckname
Greek: ψευδώνυμο
Hungarian: álnév
Icelandic: falskt nafn, tökuheiti
Indonesian: nama palsu, nama lain
Italian: pseudonimo

Japanese: 偽名, 通称
Korean: 별명
Latvian: pieņemts vārds
Lithuanian: slapyvardis, pravardė
Norwegian: dekknavn
Polish: pseudonim, fałszywe nazwisko
Portuguese (Brazil): pseudônimo
Portuguese (Portugal): pseudónimo
Romanian: supranume
Russian: кличка; прозвище
Slovak: falošné meno
Slovenian: lažno ime
Spanish: seudónimo
Swedish: alias
Turkish: sahte a
source: dictionary.com


Alias command definition:

Alias is a built-in shell command that allows you create shortcuts/synonyms for other shell commands.

How to make an alias:
  • Sintax
alias [name=['command']]
  • example - make an alias for clear command:
$ alias cl='clear'
  • description: now when you type cl at your terminal, is the same thing as type clear. This can be used for more and/or long stings..
  • other alias:
$ alias p='pwd'

$ alias x="exit"

$ alias folderx='cd /home/your_user/Desktop/folderx'


How to remove an alias:

  • Sintax
unalias [alias_name]
  • example - remove an alias for clear command:
$ unalias cl

Note:

When the computer is rebooted all alias will be lost.
How to prevent it? All alias must be added to .bashrc file located at your user folder (example: /home/uterrorista/.bashrc)
  • example:
$ gedit /home/uterrorista/.bashrc
  • paste:
alias cl='clear'
etc...
  • now you have to 'compile' your .bashrc file
$ source .bashrc
  • Now cl alias it's saved..
My tutorial:

Make an alias to create other alias..
  • Edit .bashrc
$ cd
$ gedit .bashrc

  • and paste (replace your_user_name with your nick session):
## Add new alias and compile i
alias aalias='gedit /home/
your_user_name/.bashrc && source /home/your_user_name/.bashrc'
  • compile
$ source .bashrc
  • Now you can add the alias you want just simple doing:
$ aalias
  • add (for example. you can make now your desired alias):
## One folder up
alias up='cd ..'

## Clear screen
alias cl='clear'

alias ff='find . -name $*'
alias untar='tar zxvf'
alias p='pwd'

alias ls="ls --color=auto"
alias ll="ls -l --color=auto"
alias la="ls -l -a --color=auto"

alias x="exit"

alias compilar='sudo ./configure && sudo make && sudo make install'

alias apti='sudo apt-get install'
alias aptud='sudo apt-get update'
alias aptug='sudo apt-get upgrade'

alias aptar='sudo apt-get autoremove'
alias aptr='sudo apt-get remove'

alias aptc='sudo apt-get clean'
alias aptac='sudo apt-get autoclean'


function today {
echo "Today's date is:"
date +"%A, %B %-d, %Y"
}


  • Note: you if have noticed i have a function on my .bashrc file - function today. To run it type: today.
  • to remove an alias: just edit the .bashrc file (aalias) and remove/delete the alias you don't need anymore..
Be free to submit a comment and post your alias..

2007-11-11

Gnome-art

Today I found a very simple way to personalize our Gnome.
I've discovered Gnome-art.

Screenshot:



Description:
This is the graphical frontend for art.gnome.org. Backgrounds and all themes can be downloaded and previewed. Backgrounds, icon themes and splash screens can be installed directly.

Under the menu Art we can find:
> Backgrounds
>> Gnome
>> Other
>> All

> Desktop theme
>> Application
>> Window Border
>> Icon

> Other Themes
>> Login Manager
>> Splash Screens
>> GTK + Engine


Instructions:
Just select one of the Art's categories. Then gnome-art starts caching thumbnail previews. Now we can choose, preview and install whet we want/like. Very simple to use.
Note: Caching thumbnails can take some minutes.

Installing (3 methods)
  • (1)direct link
install
  • (2)console
$ sudo apt-get install gnome-art
  • (3)synaptic package manager
gnome-art


2007-06-02

A Better Looking Firefox



  • Open the Terminal and type:
$ wget http://users.tkk.fi/~otsaloma/art/firefox-form-widgets.tar.gz

$ tar -xvzf firefox-form-widgets.tar.gz

$ sudo cp /usr/lib/mozilla-firefox/res/forms.css /usr/lib/mozilla-firefox/res/forms.css.bak

$ cat firefox-form-widgets/res/forms-extra.css | sudo tee --append /usr/lib/mozilla-firefox/res/forms.css > /dev/null

$ sudo cp -r firefox-form-widgets/res/form-widgets /usr/lib/mozilla-firefox/res

$ rm -rf firefox-form-widgets
  • Reboot Firefox if open..

2007-05-29

Change your mouse cursor

Ubuntu comes by default with a 'classic' white cursor.
After a while it becomes boring. Let's change it!

Go to Gnome-Look and e.g. download the FedoraCore6 cursor.

Install mouse cursor:
  • Extract the zip/tar.gz content to the folder /home/'your username'/.icons
  • Then go to System » Preferences » Mouse
  • Go to Pointers tab (just like the picture) and select the new pointer/cursor.
If you know more cool cursors, please submit a comment.

2007-05-19

Did you liked my fonts at the previously post?

My fonts are:

To install Lucinda Grande font (Mac font):
  1. Go here and download them;
  2. Extract the zip content;
  3. Open Terminal and go to the folder that you extracted the zip content and type:
$ sudo mkdir /usr/share/fonts/truetype/ttf
$ sudo cp *.ttf /usr/share/fonts/truetype/ttf
$ sudo cp *.TTF /usr/share/fonts/truetype/ttf
  1. Then go to System » Preferences » Font and select the fonts/font_rendereing/size just like my image, if you wish so.
That's all...

Improved subpixel font rendering for Feisty

First of all, you can the final results:

Image Hosted by ImageShack.us

So, if you like it, let's start:
  1. Open a Terminal
  2. WindowType the following

$ sudo gedit /etc/apt/sources.list

  1. Add the following lines to the end of the file:
deb http://www.telemail.fi/mlind/ubuntu feisty fonts
deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts


for amd64 binaries use RAOF's repository:
deb http://raof.dyndns.org/falcon feisty experimental

deb-src http://raof.dyndns.org/falcon feisty experimental

  1. Save and Exit Gedit
  2. Run from the terminal window
$ sudo aptitude update
$ sudo aptitude install libfreetype6 libcairo2 libxft2

  1. Config: (my settings: Native, Automatic, No bitmapped)
$ sudo dpkg-reconfigure fontconfig-config
$ sudo dpkg-reconfigure fontconfig


Source/Support: Ubuntuforums.org