ponedjeljak, 23. siječnja 2012.

mounting local directory to a remote directory with sshfs

sshfs usage
you can use this command for mounting local directory to a remote directory..

open CLI, terminal, terminator;

first install sshfs

$ sudo apt-get install sshfs
$ sshfs -o nonempty /home/user/Desktop/mountdirectory -p 22 root@remotehost:/home/user/Desktop/

nedjelja, 22. siječnja 2012.

Solved problem with Xubuntu Weather plugin

Xubuntu xfce4 Weather plugin
Xfce (Xubuntu 11.10)

open CLI, terminal, terminator;

$ sudo add-apt-repository ppa:lordnightcon/xfce4.8-weather-plugin
$ sudo apt-get update
$ sudo apt-get install xfce4.8-weather-plugin


or you can go to this site, download plugin, and install;
https://launchpad.net/ubuntu/+archive/primary/+files/xfce4-weather-plugin_0.7.4-3_i386.deb


https://launchpad.net/ubuntu/+source/xfce4-weather-plugin

nedjelja, 25. prosinca 2011.

Check your battery and system temperature in Terminal CLI...

Check your battery and system temperature in Terminal CLI...

First install acpi
open CLI, Terminal, Terminator or Konsole;

$ sudo apt-get install acpi

$ sudo acpi -V

my example;
Battery 0: Charging, 90%, 02:26:34 until charged
Battery 0: design capacity 4400 mAh, last full capacity 2061 mAh = 46%
Adapter 0: on-line
Thermal 0: ok, 40.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 82.0 degrees C
Thermal 1: ok, 45.0 degrees C
Thermal 1: trip point 0 switches to mode critical at temperature 85.0 degrees C
Cooling 0: Processor 0 of 3
Cooling 1: Processor 0 of 3

subota, 24. prosinca 2011.

To install the latest Firefox on Ubuntu 11.04/11.10/12.04, you can use this PPA...

To install the latest Firefox on Ubuntu 11.04/11.10/12.04, you can use this PPA...

First open CLI, Terminator or Terminal, and put the lines in it;

$ sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
$ sudo apt-get update
$ sudo apt-get install firefox

petak, 23. prosinca 2011.

Window Manager is not available and Workspaces are also ineffective

In xfce4 (Xubuntu) when the Window Manager is not available and Workspaces are not active, type this command in CLI (Terminator or Terminal);

$ xfwm4 --replace &

četvrtak, 24. studenoga 2011.

Shell command to shutdown or reboot Ubuntu

Open shell or terminal in Ubuntu;

Alt+F2 > Terminal

To shutdown or poweroff Ubuntu

Type the command:

$ sudo shutdown -h now
or
$ sudo halt

-----------------

To reboot Ubuntu

Type the command:

$ sudo reboot

-----------------

utorak, 22. studenoga 2011.

Linux Directory Structure

Directory    Description

/bin/         User commands and binaries.
/boot/       Files used by the boot loader.
/dev/         Device files.
/etc/          System configuration files.
/home/      User’s home directories.
/lib/           Shared libraries and kernel modules.
/media/     Removable media is usually mounted here.
/mnt/        Temporary mounted file systems are usually mounted here.
/opt/         Add-on application software packages.
/proc/       Kernel and process status data is stored in here in text-­ file format.
/root/       The root user’s home directory.
/sbin/        System binaries.
/srv/         Data for services provided by this host.
/tmp/        Directory for temporary files.
/usr/         User utilities, libraries, and applications.
/var/         Variable or transient files and data, for example logs, mail queues, and print jobs.