sâmbătă, 29 decembrie 2012

...ce ar mai fi de facut dupa instalarea lui ubuntu 12.04

De facut dupa instalarea Ubuntu 12.04 sau derivate
un mic plagiat luat de aici :

http://debianhelp.wordpress.com/2012/11/09/to-do-list-after-installing-ubuntu-12-04-lts-aka-precise-pangolin/

muta butoanele in coltul de sus dreapta

gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'

traceroute

sudo apt-get install traceroute

Grub Customizer

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

sudo apt-get update
sudo apt-get install grub-customizer

“Fallback” Desktop

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell
sudo apt-get install gnome-session-fallback
sudo apt-get install indicator-applet-appmenu
sudo apt-get install gnome-tweak-tool
sudo apt-get dist-upgrade

Python Script: Postinstalare ...atentie dureaza mai mult de o ora dar se merita :)

cd Desktop
wget http://debianhelp.files.wordpress.com/2012/11/ubuntu-1204-post-install1-tar-gz.doc
cp ubuntu-1204-post-install1-tar-gz.doc ubuntu-1204-post-install1-tar.gz
tar -xvf ubuntu-1204-post-install1-tar.gz
sudo chmod a+x ubuntu-12.04-postinstall.py

apoi pt sisteme pe 32

sudo ./ubuntu-12.04-postinstall.py -c mycfg32.cfg

sau 64

sudo ./ubuntu-12.04-postinstall.py -c mycfg64.cfg

gdebi

sudo apt-get install gdebi

Adobe flash player

sudo apt-get install flashplugin-installer gsfonts-x11

pachete medibuntu

wget -q "http://packages.medibuntu.org/medibuntu-key.gpg" -O- | sudo apt-key add -
sudo add-apt-repository "deb http://packages.medibuntu.org/ $(lsb_release -sc) free non-free"
sudo apt-get update
sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu

sudo /usr/share/doc/libdvdread4/./install-css.sh

Terminator

sudo apt-get install terminator

SMPlayer

sudo apt-get install smplayer

java

sudo apt-get install openjdk-7-jre icedtea-7-plugin

Google Chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable

MultiGet

sudo apt-get install multiget

Adobe Reader

sudo apt-get install acroread

GEDIT

sudo apt-get install gedit gedit-plugins gedit-developer-plugins

Geany

sudo apt-get install geany geany-plugins

google office

sudo add-apt-repository ppa:tombeckmann/ppa
sudo apt-get update && sudo apt-get install gwoffice

inkscape

sudo apt-get install inkscape

RAW file viewers/editors/plugins for SLR Digital Photography

sudo apt-get install libraw-bin ufraw ufraw-batch and gimp-ufraw rawtherapee

PhotoFilmStrip

sudo apt-get install photofilmstrip

visio

sudo apt-get install dia

Screenlets

sudo apt-add-repository ppa:screenlets/ppa
sudo apt-get update
sudo apt-get install screenlets

ipod

sudo apt-get install gtkpod

k3b

sudo apt-get install k3b k3b-data libk3b6

Kdenlive, Kino, Openshot, Pitivi Video Editors

sudo apt-get install kdenlive kino pitivi
sudo apt-get install avidemux avidemux-common avidemux-plugins-common avidemux-plugins-gtk

openshot

sudo add-apt-repository ppa:openshot.developers/ppa
sudo apt-get update
sudo apt-get install openshot frei0r-plugins
sudo apt-get install ffmpeg x264 libx264-dev libavcodec-extra-53 libavformat-extra-53 libavutil-extra-51

VideoLAN Movie Creator (VLMC)

sudo add-apt-repository ppa:webupd8team/vlmc
sudo apt-get update
sudo apt-get install vlmc frei0r-plugins

AcidRip

sudo apt-get install acidrip

dvd::rip

sudo apt-get install dvdrip

k9copy

sudo apt-get install k9copy

calibre

sudo apt-get install calibre

AutoCAD

sudo apt-get install libxcb-render-util0
sudo apt-get install libdirectfb-extra

adobe air

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin -O AdobeAIRInstaller.bin
sudo chmod +x AdobeAIRInstaller.bin
sudo ./AdobeAIRInstaller.bin

sudo rm /usr/lib/libgnome-keyring.so.0
sudo rm /usr/lib/libgnome-keyring.so.0.2.0

sopcast player

echo "deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CD30EE56

sudo apt-get update && sudo apt-get install sopcast-player

Ubuntu Tweak

sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update
sudo apt-get install ubuntu-tweak

users management

 sudo apt-get install gnome-system-tools

marți, 25 decembrie 2012

eroare skype

...dupa instalarea SKYPE in ubuntu 12.04.1 x64 ... m-am trezit ca defapt nu porneste ... iar la comanda skype in terminal afiseaza: /bin/bash: n LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype: No such file or directory asa ca am rezolvat-o astfel: 1-am tras scurtătura pe desktop 2-click dreapta pe scurtătura 3-click pe propietați 4-la căsuța "comanda" am scris : /usr/bin/skype %U acum îmi pornește și lucrează normal... bănuiesc ca problema a fost ca am instalat v4l după Skype...

luni, 19 noiembrie 2012

despre swap ...


What is swappiness and how do I change it?
The swappiness parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory.

swappiness can have a value of between 0 and 100
swappiness=0 tells the kernel to avoid swapping processes out of physical memory for as long as possible
swappiness=100 tells the kernel to aggressively swap processes out of physical memory and move them to swap cache
The default setting in Ubuntu is swappiness=60. Reducing the default value of swappiness will probably improve overall performance for a typical Ubuntu desktop installation. A value of swappiness=10 is recommended, but feel free to experiment. Note: Ubuntu server installations have different performance requirements to desktop systems, and the default value of 60 is likely more suitable.

To check the swappiness value

cat /proc/sys/vm/swappiness
To change the swappiness value A temporary change (lost on reboot) with a swappiness value of 10 can be made with

sudo sysctl vm.swappiness=10
To make a change permanent, edit the configuration file with your favorite editor:

gksudo gedit /etc/sysctl.conf
Search for vm.swappiness and change its value as desired. If vm.swappiness does not exist, add it to the end of the file like so:

vm.swappiness=10
Save the file and reboot.

What is the priority of swap containers?
The Linux kernel assigns priorities to all swap containers. To see the priorities that the Linux Kernel assigns to all the swap containers use this command.

cat /proc/swaps
Priorities can be changed by using the swapon command or defined in /etc/fstab. Consult the manual page of swapon for more info

man swapon
Should I reinstall with more swap?
Definitely not. With the 2.6 kernel, "a swap file is just as fast as a swap partition."(Wikipedia:Paging, LKML).

Why is my swap not being used?
My swap is not being used! When I issue the free command, it shows something like this:


tom@tom:~$ free
             total       used       free     shared    buffers     cached
Mem:        515980     448664      67316          0      17872     246348
-/+ buffers/cache:     184444     331536
Swap:       674688          0     674688
Note: This regards mainly swap on hard disk partitions, but it could help anyway. In these examples /dev/hda8 is considered as swap.

Swap may not be needed

Start many memory consuming applications (e.g. Gimp, web browsers, OpenOffice etc) and then issue the free command again. Is swap being used now?

Ubuntu Desktop uses Swap to Hibernate (PC off, no power needed, program states saved). If Hibernation is important to you, have more swap space than ram + swap overflow.

Is there a swap partition at all?

Use this command to see all partitions

sudo fdisk -l
You should be able to see something like this in the output

/dev/hda8            4787        4870      674698+  82  Linux swap / Solaris
If not, you either need to create a swapfile or create a swap partition. To create a swap partition you can

boot from your Ubuntu install CD, create a swap partition out of the free space on your hard disk and then interrupt your installation.
use Cfdisk.

Enabling a swap partition

In case you do have a swap partition, there are several ways of enabling it.

Use the following command

cat /etc/fstab
Ensure that there is a line link below. This enables swap on boot.

/dev/hda8       none            swap    sw              0       0
Then disable all swap, recreate it, then re-enable it with the following commands.

sudo swapoff -a
sudo /sbin/mkswap /dev/hda8
sudo swapon -a
Empty Swap
Even if you have lots of RAM and even if you have a low swappiness value, it is possible that your computer swaps. This can hurt the multitasking performance of your desktop system.

You can use the following script to get the swap manually back into RAM:

place the script e.g. /usr/local/sbin:

gksudo gedit /usr/local/sbin/swap2ram.sh
copy&paste the script into the file:



#!/bin/sh

mem=$(free  | awk '/Mem:/ {print $4}')
swap=$(free | awk '/Swap:/ {print $3}')

if [ $mem -lt $swap ]; then
    echo "ERROR: not enough RAM to write swap back, nothing done" >&2
    exit 1
fi

swapoff -a &&
swapon -a
save and close gedit
make the script executable:

sudo chmod +x /usr/local/sbin/swap2ram.sh
execute:

sudo /usr/local/sbin/swap2ram.sh

luni, 5 noiembrie 2012

Xubuntu task manager... refresh

ctrl+alt+del    combinație pentru task manager.... copy paste in terminal

xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/<Primary><Alt>Delete" -t string -s "xfce4-taskmanager"


ctrl+alt+r   combinație pentru refresh... copy paste in terminal

xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/<Primary><Alt>r" -t string -s "xfwm4 --replace"











miercuri, 24 octombrie 2012

comenzi terminal 001

muta butoanele din coltul stanga sus...in dreapta

gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'

echivalentul lui pathping din win este traceroute

sudo apt-get install traceroute

deci in terminal puteti scrie ex:
traceroute google.com
 alte comenzi de retea
 ping -c 4 google.com
ifconfig
route -n
Netstat
 If you want to see Routing Tables,all open ports,all listen ports netstat -nr -n means return numeric output (ie, IP address instead of hostname) -r means print the routing table find all open ports 
netstat -a
 find listening ports
 netstat -l

Config Printers

 system-config-printer

 Ubuntu Tweak
 sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update
 sudo apt-get install ubuntu-tweak

 User & group management ...old for >11.10
 sudo apt-get install gnome-system-tools
launch it from Unity Dash or by pressing Alt + F2 and type in the following command. 
users-admin

setari intel gpu

sudo apt-get -y install driconf

configurarea imprimantelor in ubuntu 12.04 poate fi o problema... pagina comfigurare imprimante 12.04 deschide un browser si la adresa tastează:
 http://localhost: 631

posturi TV romanești cu tv-maxe

sudo add-apt-repository ppa:venerix/blug

 sudo apt-get update
sudo apt-get install tv-maxe

 sursa sopcast

https://launchpad.net/~ferramroberto/+archive/sopcast

 schimbare parola

 root sudo passwd root

install canon mf4010

luni, 22 octombrie 2012

Recent a fost lansata ultima versiune a lui Ubuntu.... adica 12.10 mai jos in lista de link-uri am atasat doua ...referitoare la configurarea lui.. de exemplu dupa instalarea lui fallback... am dorit butoanele din coltul sus stanga...in coltul sus dreapta....ce sa-i faci ...am imbatranit ...si sunt conservator... copy-paste in terminal comanda de mai jos:






 gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'