Install And Configure LTSP Server In Ubuntu 12.04 with Dnsmasq

LibreOffice 4.0.4 Has Been Released. Install It On Ubuntu 13.04 , 13.10

Install Skype 4.2 in Ubuntu 13.10/13.04/12.10 and 12.04

Skype allows people to communicate with each other by messaging, voice calling and video calling over internet. Skype also provides services for phone calls on the telephone networks ....

Display Username On Unity Panel In Ubuntu 13.04 and Ubuntu 13.10

Showing posts with label ubuntu. Show all posts

AddMeFast Youtube Video Likes iMacros Bot Script 2013

Hey guys, here is another iMacros script that will like Youtube videos on AddMeFast. I have tested this and 100% working.

You can also check our previously released auto facebook likes script 2013.

Copy and paste the below code and save it as youtube-likes.iim (or anyname.iim) in iMacros folder.

If you are using Ubuntu or any other Linux systems, put the below script in

~/iMacros/Macros

VERSION BUILD=7500718 RECORDER=FX
SET !ERRORIGNORE YES
URL GOTO=http://addmefast.com/free_points/youtube_likes.html
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
URL GOTO=http://addmefast.com/free_points/youtube_likes.html
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
URL GOTO=http://addmefast.com/free_points/youtube_likes.html
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=ID:watch-like
WAIT SECONDS=2
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS=4
TAB T=1

AddMeFast Facebook Likes iMacros Script Bot 2013

Hello guys, here is another iMacros script that will like Facebook pages on AddMeFast. I have tested this and 100% working.

Checkout the new youtube video likes script 2013

If you dont have iMacros already, click here to download it.

Please remember, while you are using it with firefox, set the speed to Medium in iMacros options, otherwise your facebook account will be banned.
Copy and paste the below code and save it as facebook.iim (or anyname.iim) in iMacros folder.

If you are using Ubuntu or any other Linux systems, put the below script in

~/iMacros/Macros/

SET !ERRORIGNORE YES
URL GOTO=http://www.addmefast.com/free_points/facebook_likes.html
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS
TAB T=1
WAIT SECONDS=3.0
TAG POS=1 TYPE=A ATTR=TXT:Like
TAB T=2
FRAME F=0
TAG POS=1 TYPE=LABEL ATTR=ID:timelineHeadlineLikeButton
TAB T=1
TAB CLOSEALLOTHERS

How to deactivate or disable Bluetooth on Ubuntu system startup


Folllow the below steps to deactivate or disable Bluetooth on Ubuntu system startup

Open a Terminal by pressing Alt+Ctrl+T

Run sudo gedit /etc/rc.local and add this before line with exit 0:

rfkill block bluetooth

Save and close the file.


You should still be able to enable Bluetooth through the top bar applet.

This should work for most systems but it looks like there are a few bugs lurking in the kernel's ACPI for Thinkpads. If you're on a Thinkpad, add the following to
/etc/rc.local:

sudo gedit /etc/rc.local

paste the following line

echo disable > /proc/acpi/ibm/bluetooth

Save and close the file.

If you have any problem turning on bluetooth and wifi after using this trick, just open the terminal and run the following command to check which device is being blocked:

sudo rfkill list all

Best PHP Editors For Ubuntu 13.10, 13.04, 12.10, 12.04 And Linux Mint 14, 15


Here is the list of PHP editors that we can install it on Ubuntu.

Image courtesy: Linuxforu

 gPHPedit

 

gPHPedit is a small UTF-8 compatible text editor for the GNOME desktop environment, built using Scintilla. It was originally written by Andy Jeffries, and is currently being maintained by Anoop John. It is similar to gedit with the difference that it is designed for PHP and HTML text editing. It is free software licensed under the terms of the GNU General Public License (GPL),

* Syntax highlight PHP, CSS, HTML.
* Auto complete function names, parameters and variables.
* Syntax checking (lint).
* Integrated help inside the editor.

Install gphpedit by executing following command.

sudo apt-get -y install gphpedit

Geany 


Geany is a lightweight cross-platform GTK+ text editor based on Scintilla and including basic Integrated Development Environment (IDE) features. It is designed to have short load times, with limited dependency on separate packages or external libraries. It is available for a wide range of operating systems, such as BSD, Linux, Mac OS X, Solaris and Windows. Among the supported programming languages and markup languages are C, C++, C#, Java, JavaScript, PHP, HTML, LaTeX, CSS, Python, Perl, Ruby, Pascal, Haskell, Erlang, Vala and many others.
In contrast to traditional Unix-based editors like Emacs or Vim, Geany more closely resembles programming editors available for Microsoft Windows such as Programmer's Notepad or Notepad++, both of which also use Scintilla.

Install Geany

sudo add-apt-repository ppa:geany-dev/ppa
sudo apt-get update
sudo apt-get install geany geany-plugins

Bluefish


Bluefish is a powerful editor targeted towards programmers and webdevelopers, with many options to write websites, scripts and programming code. Bluefish supports many programming and markup languages. Bluefish is a multi-platform application that runs on most desktop operating systems including Linux, FreeBSD, MacOS-X, Windows, OpenBSD and Solaris.

Install Bluefish

sudo add-apt-repository ppa:klaus-vormweg/ppa
sudo apt-get update
sudo apt-get install bluefish

screem

 

SCREEM (Site CReating and Editing EnvironMent) is not an HTML editor. Well, it is an editor now, but the plan although somewhat vague at the moment, is to make it much more than an HTML editor. The authors are aiming to make it and entire web production environment.Some of the highlights of screem.

* Link validation.
* Auto completion, high level tree view of functions and variables.
* DTD checking and suggesting html that is compatible with current DTD.
* Plugin support or helper applicaitons. eg: HTMLTidy to clean up code.
* Automatically close tags.
* Preview page.
* Page template support.
* Auto sync with remote site.
* Spell checker.
* Task management to track status of your project using TODO comments.
* Wizards to simplify code generation.
* PHP function reference.

Install screem 

sudo apt-get -y install screem

Quanta plus

 

 Quanta Plus, originally called Quanta, is a web Integrated development environment (IDE) for HTML, XHTML, CSS, XML, PHP and any other XML-based languages or scripting languages. It is part of KDE, a Linux desktop environment, released in the Kdewebdev package. Quanta was licensed under GPL before the release of version 2.0 final.

* Syntax coloring.
* Auto complete.
* Integrated source-control support system.
* Remote site sync.

Install quanta

sudo apt-get -y install quanta

kate , gedit

 

Kate is a powerful text editor that can open multiple files simultaneously.
With a built-in terminal, syntax highlighting, and tabbed sidebar, it performs as a lightweight but capable development environment. Kate's many tools, plugins, and scripts make it highly customizable.
 

Kate's features include:


* Multiple saved sessions, each with numerous files
* Scriptable syntax highlighting, indentation, and code-folding
* Configurable templates and text snippets
* Symbol viewers for C, C++, and Python
* XML completion and validation This package is part of the KDE 4 Base applications module.

Install kate

sudo apt-get install kate

Install gedit

sudo apt-get install gedit

gvim / vim

 


Vim is a text editor written by Bram Moolenaar and first released publicly in 1991. Based on the vi editor common to Unix-like systems, Vim is designed for use both from a command line interface and as a standalone application in a graphical user interface. Vim is free and open source software and is released under a license that includes some charityware clauses, encouraging users who enjoy the software to consider donating to children in Uganda.[3] The license is compatible with the GNU General Public License.

* Has support for plugins and has many plugins available to support php.
* Integrated debugging via a plugin.
* Or any other thing you are dreaming of.

Install vim

sudo apt-get -y install vim


Install RecordMyDesktop on Ubuntu 12.04 and Linux Mint 14, 15


RecordMyDesktop is a free and open source desktop screencasting software application written for GNU/Linux. The program is separated into two parts; a command line tool that performs the tasks of capturing and encoding, and an interface that exposes the program functionality graphically. There are two front-ends written in python with pyGtk (gtk-recordMyDesktop) and pyQT4 (qt-recordMyDesktop). RecordMyDesktop also offers the ability to record audio through ALSA, OSS or the JACK audio server. RecordMyDesktop only outputs to Ogg using Theora for video and Vorbis for audio.


Features


* Freeware: Distributed as freeware for business or personal use. However if you want to redistribute Wink, you need to get permission from the author.

* Cross-Platform: Available for all flavors of Windows and various versions of Linux (x86 only).

* Audio: Record voice as you create the tutorial for explaining better.

* Input formats: Capture screenshots from your PC, or use images in BMP/JPG/PNG/TIFF/GIF formats.

* Output formats: Macromedia Flash, Standalone EXE, PDF, PostScript, HTML or any of the above image formats. Use Flash/html for the web, EXE for distributing to PC users and PDF for printable manuals.

* Multilingual support: Works in English, French, German, Italian, Danish, Spanish, Serbian, Japanese, Brazilian Portuguese and Simplified/Traditional Chinese.

* Smart Capture Tools: Capture screenshots automatically as you use your PC, based on mouse and keyboard input (great time saver and generates professional captures).

* Performance/Quality: Creates highly compressed Flash presentations (few kbs to few hundreds of kbs, much smaller than competing commercial products) ideal for using on the web.

Open terminal paste the following commands to install recordmydesktop

sudo add-apt-repository ppa:webupd8team/gtk-recordmydesktop

sudo apt-get update

sudo apt-get install gtk-recordmydesktop

Install and Configure Apache Traffic Server on Ubuntu Server 12.04


Apache Traffic server is a reverse proxy, cache proxy and forward proxy. Web proxy caching enables you to store copies of frequently accessed web objects and then serve this information to users on demand. It improves performance and frees up Internet bandwidth for other tasks.


Installation


Installation of Apache Traffic Server is bit tricky on Ubuntu due to absence of standard apt-get easy installer package. Well but its not that difficult though. I am writing down step by step process for easy understandability.

Download latest tar.bz2 from apache website and put that on Ubuntu server any directory.

wget http://www.apache.org/dyn/closer.cgi/trafficserver/trafficserver-4.0.1.tar.bz2

tar xf trafficserver-4.0.1.tar.bz2

cd trafficserver-4.0.1

 sudo apt-get install g++ libssl-dev tcl-dev libexpat1-dev libpcre3-dev libcap-dev libcap2

 ./configure

 $ make

 $ sudo make install

Server level configuration

 

After successful installation, open ld.so.conf (sudo vi /etc/ld.so.conf) and add following line.
include /usr/local/libexec/trafficserver

Run the following command: 
sudo ldconfig

Steps for Start and stop


To start Traffic Server manually, issue the following command, passing in the attribute start. This command starts all the processes that work together to process Traffic Server requests as well as manage, control, and monitor the health of the Traffic Server system.

sudo service trafficserver start/stop

All the configuration parameter related to cache are located in /usr/local/etc/trafficserver/records.config file after making any configuration changes do run command traffic_line -x to apply the configuration changes.

Installation Directories


When we install traffic server, we had not provide the installation directories for config files and executable. These stuffs has been placed with default conventions.

All configurations files :

/usr/local/etc/trafficserver/

All executables :

/usr/local/libexec/trafficserver

Important Configuration Files & Usage

 

sudo vi /usr/local/etc/trafficserver/records.config

For changing default port as well as connection time out etc. related data.
Don't forget to execute following command in case of minor rule change:

sudo traffic_line -x

In case of severe change like port etc please make sure you had restarted the server:

sudo service trafficserver restart

For Configuring the mapping 

 

sudo vi /usr/local/etc/trafficserver/remap.config

In the above file, we can provide as many map, reverse map, redirect, reverse redirect configurations.

Apache Virtual Host Specific Configuration

 

Step 1:
sudo vi /usr/local/etc/trafficserver/records.config

In the file make following changes so config read like below
CONFIG proxy.config.reverse_proxy.enabled INT 1
CONFIG proxy.config.url_remap.pristine_host_hdr INT 1 (It make sure host name in http header doesn't change)
CONFIG proxy.configurl_remap.remap_required INT 1

Step 2:
sudo traffic_line -x

Step 3:
sudo vi /usr/local/etc/trafficserver/remap.config

Step 4:
sudo traffic_line -x
Above configuration is sufficient for setting the initial reverse proxy to listen on default port and serve the request based on domain name from provider (Apache)


Cache Configuration


CONFIG proxy.config.cache.ram_cache.size INT -1 (default value 1 MB per 1 GB Disk Space, alternatively you can set 20971520 (20 MB))

Monitoring Traffic & Log File


Log file location - var/log/trafficserver

Command-line Torrent Client With Deluge-console On Ubuntu 13.10, 13.04, 12.10, 12.04 and Linux Mint 14, 15


Deluge-console

 

Deluge is a full featured bit torrent client for Linux, OS X, Unix and Windows. It uses libtorrent in its backend and features multiple user-interfaces including; GTK,Web and console. It has been designed using the client server model with a daemon process that all the bittorrent activity. The deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform.


Features 


*  Core/UI split allowing Deluge to run as a daemon
*  Connect remotely to the Deluge daemon
*  Web UI
*  Console UI
*  GTK+ UI
*  BitTorrent Protocol Encryption
*  Mainline DHT
*  Local Peer Discovery(aka LSD)
*  FAST protocol extension
*  uTorrent Peer Exchange
*  UPnP and NAT-PMP
*  Proxy support
*  Web seed
*  Private Torrents
*  Global and per-torrent speed limits
*  Configurable bandwidth scheduler
*  Password protection
*  RSS(via Plugin)

Open a terminal and paste the following command to install deluge-console

sudo apt-get install deluge-console && sudo apt-get install deluged

Setup Deluge Console 


Start the console interface

Enter the deluge console:

deluge-console

Connect to your daemon (your daemon port can be found on your slot info page):
connect 127.0.0.1:{{DELUGEDPORT}}

Commands


Help commands can be displayed for each command using the --help flag.

add

 

Add a torrent
Usage: add [-p <save-location>] <torrent-file> [<torrent-file> ...]
Options:
-p PATH, --path=PATH  save path for torrent

cache

 

Show information about the disk cache
Usage: cache

config

 

Show and set configuration values
Usage: config [key1 [key2 ...]]
config --set key value
Options:
-s SET, --set=SET  set value for key

connect

 

Connect to a new deluge server.
Usage: connect <host[:port]> <username> <password>

debug

 

Enable and disable debugging
Usage: debug [on|off]

del

 

Remove a torrent
Usage: rm <torrent-id>
Options:
--remove_data  remove the torrent's data

exit

 

Exit from the client.
Usage: exit

halt

 

Shutdown the deluge server.
Usage: halt

help

 

displays help on other commands
Usage: help [command]

info

 

Show information about the torrents
Usage: info [<torrent-id> [<torrent-id> ...]]
You can give the first few characters of a torrent-id to identify the torrent.
Options:
-v, --verbose - shows more information per torrent
-i, --id - use internal id instead of torrent name
--sort=SORT - sort items.  Possible keys: state, save_path, tracker,
tracker_status, next_announce, name, total_size,
progress, num_seeds, total_seeds, num_peers,
total_peers, eta, download_payload_rate,
upload_payload_rate, ratio, distributed_copies,
num_pieces, piece_length, total_done, files,
file_priorities, file_progress, peers, is_seed,
is_finished, active_time, seeding_time
--sort-reverse=SORT_REV - sort items in reverse order.  Same keys allowed as for --sort.

pause

 

Pause a torrent
Usage: pause [ * | <torrent-id> [<torrent-id> ...] ]

plugin

 

Manage plugins with this command
Usage: plugin [ -l | --list ]
plugin [ -s | --show ]
plugin [ -e | --enable ] <plugin_name>
plugin [ -d | --disable ] <plugin_name>
Options:
-l, --list - lists available plugins
-s, --show - shows enabled plugins
-e ENABLE, --enable=ENABLE - enables a plugin
-d DISABLE, --disable=DISABLE - disables a plugin

quit

 

Exit from the client.
Usage: quit

recheck

 

Forces a recheck of the torrent data
Usage: recheck [ * | <torrent-id> [<torrent-id> ...] ]

resume

 

Resume a torrent
Usage: resume [ * | <torrent-id> [<torrent-id> ...] ]

rm

 

Remove a torrent
Usage: rm <torrent-id>
Options:
--remove_data - remove the torrent's data

[How To] Display A Message At Terminal login On Ubuntu


If you want to see the message when you open the terminal or after you are login in tty1-6, just put this line at the end of ~/.bashrc file (open it from terminal with gedit ~/.bashrc):

echo "Welcome $USER, today's date is $(date +"%A, %d-%m-%y")"

If you want to see the message after you are login in GUI, do the following:


Create a new file name_and_date.sh:

gedit ~/bin/name_and_date.sh

Put next 2 lines inside:

#!/bin/bash

notify-send "Hello" "Hello $USER, today's date is $(date +"%A, %d-%m-%y")"

Save the file and close it.

Make the file exacutable:

chmod +x ~/bin/name_and_date.sh

Search in Dash for Startup Applications, open it and click Add.

Under name type "Show my name and date" or something you will recognise.

Under command type: /home/$USER/bin/name_and_date.sh (change $USER with your user name).

Under comment (if you want), type a brief description.

[How To] Install Varnish Reverse Proxy On Ubuntu 13.10, 13.04, 12.04


Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.

Varnish is distributed in the Ubuntu package repositories, but the version there might be out of date, and generally recommend using the packages provided by varnish-cache.org.

To use the varnish-cache.org repository, do the following

Open a Terminal and paste the following commands one by one.
curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-3.0" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install varnish

Here is a small diagram that simply shows how Varnish works.

[How To] Lock Terminal size or Change Any Other Application behaviour in Ubuntu using devilspie


devilspie, a non-gui utility that lets you make applications start in specified workplaces, in specified sizes and placements, minimized or maximized and much more based on simple config files.



To install devilspie you can use Ubuntu Software Center or run the following command in terminal:
sudo apt-get install devilspie

You can start in terminal devilspie with:
devilspie

Now we are going to configure devilspie to lock gnome-terminal size:



Create a new directory to store your new devilspie-related configuration file:

mkdir ~/.devilspie

Create a new custom configuration file; for example:
gedit ~/.devilspie/gnome-terminal.ds

Paste in the following configuration code to your new file:
(if (is (application_name) "Terminal")
    (begin
    (undecorate)      
        (geometry "730x450")
        (center)
    )
)

There are some more examples:


Example 1


Move Firefox to workspace 2 and maximize it:
(if
    (is (application_name) "firefox-bin")
    (begin
       (set_workspace 2)
       (maximize)
    )
)

Example 2


Pin the Gaim Buddylist to all workspaces, with a size of 340×630 pixels and at position (4,150):

(if
    (and
        (is (application_name) "gaim")
        (is (window_name) "Buddy List")
    )
    (begin
        (pin)
        (geometry "340x630+4+150")
    )
)

Example 3


Move Skype to workspace 1, set its size to 300×600 pixels, center it, make it “always on top” and let it skip pager and tasklist:
(if
    (matches (application_name) "^Skype")
    (begin
        (geometry "300x600")
        (center)
        (above)
        (skip_pager)
        (skip_tasklist)
    )
)

Example 4


Move a gaim window that is neither the buddy list nor an IRC conversation:
(if
    (and
        (is (application_name) "gaim")
        (not (is (window_name) "Buddy List"))
        (not (contains (window_name) "#"))
    )
    (geometry "+0+313")
)

Example 5


Remove the window decoration from all windows:
(undecorate)
Combine two rules into one file:
(begin
    (if
        (is (application_name) "firefox-bin")
        (begin
            (set_workspace 2)
            (maximize)
        )
    )
    (if
        (and
            (is (application_name) "gaim")
            (not (is (window_name) "Buddy List"))
            (not (contains (window_name) "#"))
        )
        (geometry "+0+313")
    )
)

[How To] Install OpenShot Video Editor In Ubuntu 13.10,13.04,12.10,12.04 and Linux Mint 15,14


OpenShot is a Linux based application, it is also a open source video editor. It is licensed with GPL, version 3.0 and built with Python, GTK, and the MLT Framework. By using application you can feed your favorites on the Operating System like; videos, photos, and music files etc. Some applications are too difficult to install and use in other operating systems but in OpenShot, you can easily import and use sub-titles, transitions, effects, and then export your film to DVD, YouTube, Video, Xbox 360, and many other common formats.



Features

 

*  Support for many videos, audio and image formats
*  Gnome integration
*  Unlimited tracks and layers
*  Chip resizing, scaling, trimming, snapping, and cutting
*  Video transitions with real time previews
*  Compositing, image overlays, watermarks
*  Title templates, title creation, sub-titles
*  3D Animated Titles
*  Solid color clips (including alpha compositing )
*  Support for Rotoscoping / Image sequences
*  Advanced Timeline (including Drag & drop, scrolling, panning, zooming, and snapping)
*  Video encoding (based on FFmpeg )
*  Key Frame animation
*  Digital zooming of video clips
*  Speed changes on clips (slow motion etc)
*  Audio mixing and editing
*  Presets for key frame animations and layout
*  Ken Burns effect (artistic panning over an image)
*  Digital video effects , including brightness, gamma, hue, greyscale, chroma key (bluescreen / greenscreen) , and over 20 other video effects

How to Install OpenShot on Ubuntu

 

Open the terminal then type the commands

sudo apt-get install openshot openshot-doc



Ubuntu Forums Hacked


It has been confirmed that the official Ubuntu Forums have been hacked. At the moment there are not many details but what is confirmed is that the hackers have been successful in their attempts to gain access and they have managed to get every users username, password and email address.




For the time being the Ubuntu Forums have been taken down and have been replaced with a simple splash page with the latest information on what is happening.

According to latest news, hackers have gotten every user’s username, password (NOT stored in plain text) and email address from Ubuntu Forum’s database. It is advised that if you use the same password on similar service (such as email), you better change the password as a precautionary message. Canonical has assured that other Canonical services such as Launchpad and Ubuntu One accounts are safe.

[How To] Install Nemo File Manager In Ubuntu 13.10, 13.04, 12.10, 12.04

Nemo is a complete fork of Nautilus 3.4 and its goal is to extend the Cinnamon user experience to desktop and file management.


It has many features:


    * Compact view
    * All desktop icons,  these are missing in nautilus 3.6 vervion
    * Open terminal and open as root
    * Copy or move files shows percentage and details while file operation
       progress
    * Better search
    * It has a cute and nice bookmark management
    * It has UP, FORWARD, BACK and REFRESH buttons
    * Proper status bar
    * Better widgets

And NEMO offeres these too :-


* It has built in "Open as root" context menu item
* Detachable tabs
* You can add/remove the up icon, refresh icon, toggle button for the location 
   bar or path bar, home icon, computer icon and search icon.
* Title bar and tab bar contains a option to show the full path.
* If it running as root, it display the elevated privileges
* It built "Open in terminal" context menu item
* It add a new option on the context menu ("set as wallpaper")
* It add GTK bookmark with move to/copy to option to context menus
* Have switch view button on the toolbar for Grid, List and compact views
* sidebar with collapsable category
* It support sidebar for drag and drop bookmark
* Sidebar indicates under each drive and display the free or used space
* It is very supportive to sending files via Thunderbird and xdg-email
* It improved the properties for image
* Memory leaks fixes

To install the stable version of Nemo:


sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install nemo

To install the bleeding edge version:


sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightly
sudo apt-get update
sudo apt-get install nemo

[How To] Install Sublime Text 2 On Ubuntu 13.10, 13.04, 12.10, 12.04 and Linux Mint 14, 15

Sublime Text is a sophisticated text editor for code, markup and prose. Its a closed source editor. The first version of sublime was released in five years ago. It is very extensibility and cross platformability, this means you can use this on ubuntu on the desktop, OS X on the laptop, Windows at work and have the same theme, plugin, and keybinding across all platforms.

Features of sublime text 2


      * Autosave
      * Bookmark within files
      * Multi-panel editing
      * Ability to select multiple sections of code
      * It has a Minimap. It show the full source code
      * It has native support for 27 programming languages included,
         with additional available
      * It has a custom key for binding
      * Brace matching, autocomplete
      * Support for macros and python-based plugins
      * RegEx-based find and replace
      * Fully customizable syntax highlighting

Install Sublime text 2 on Ubuntu/Linux Mint


Open Terminal and follow the commands to install Sublime Text 2.  
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

[How To] Install uTorrent On Ubuntu 13.10, 13.04, 12.10, 12.04 And Linux Mint 14, 15

uTorrent is a lightweight and efficient BitTorrent client, currently there is only command-line version of Utorrent for Ubuntu. uTorrent work as a web server in Linux. You can access uTorrent from your browser after you started uTorrent using command in Terminal.


Install uTorrent Client on Ubuntu/Debian/Linux Mint 


Please run the below command to install the dependency library first.
sudo apt-get install libssl0.9.8:i386
Now Open a Terminal(Alt + Ctrl + T) and paste the following command to download the uTorrent server.
wget http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz
Then use the following command to move the file to /opt
sudo mv utorrent-server-3.0-25053.tar.gz /opt/
Now move to the opt directory to extract the tar file.
cd /opt/
sudo tar -xvf utorrent-server-3.0-25053.tar.gz
Then remove the source file.
sudo rm -rf utorrent-server-3.0-25053.tar.gz
Change the permission of the extracted folder.
sudo chmod 777 -R utorrent-server-v3_0/
Create a symbolic link so that you can run the torrent server from terminal.
sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver

Our uTorrent Server is ready. Enter the following command to start the server.
utserver -settingspath /opt/utorrent-server-v3_0/ &

Access the uTorrent Server


Open a browser and type:
http://localhost:8080/gui/

Type the User Name as admin and leave the password field as empty and click Ok.


If you want to avoid every time starting uTorrent via command line, create a startup application and enter the command in command field as follows. 


[How To] Install GIMP 2.8.6 In Ubuntu 13.10, 13.04, 12.10, 12.04 and Linux Mint 14, 15

GIMP, the GNU image manipulation program is an open source photo editor will works on both Linux and windows. GIMP has tools used for image retouching and editing, free-form drawing, resizing, cropping, photo-montages, converting between different image formats, and more specialised tasks. Animated images such as GIF and MPEG files can be created using an animation plugin.
The new version of GIMP 2.8.6 have many bug fixes and new features:

    * Saving to URIs is now possible
    * Fixed the brush spacing for drawing in any direction
    * It increased the brush patterns and clipboard in maximum to 1024*1024
    * The single-window docks can't shrink smaller than their requisition
    * The application no longer crashes when dealing with unavailable fonts
    * Close Gimp click the close button of the single-window
    * Default Colour from Gradient dymanics and tool preset have been added
    * Make sure data objects are saved when only theire name was changed
    * It allow the non-generated brushes to change there space
    * Ctrl+W for close the image windows and tabs, it not for docks
    * For round the neative value correctly, add SIGNED_ROUND()
    * GIMP_PLUGIN_DEBUG for work again after GLib changed logging
    * For transperent borders add or fix the zealous crop

Install GIMP 2.8.6 on Ubuntu 13.10 and Linux Mint 15


Open Terminal and enter the following commands.
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp

[How To] Install Mozilla Firefox 22 In Ubuntu 13.10, 13.04, 12.10, 12.04 and Linux Mint 14, 15

Now Mozilla Firefox 22 is a high performance web application. Which support web applications, 3D gaming, Video calls and file sharing. It does not need any other softwares or plugins to maintain applications. Now Mozilla has a  new feature, WebRTC(Web Real-Time Communication). Which allows developers to create web apps with built-in video and audio calls, as well as file sharing without the need for any plugins or third-party software. With these additions, Firefox is better equipped than ever to challenge Chrome for the web app and gaming performance crown.

Features of Mozilla Firefox 22

    * WebRTC
    * Display scaling options for high-resolution displays (Windows only as of now)
    * Mac OS X:Download progress in dock application icon
    * Changed the HTML5 audio/video playback rate
    * Social service manager implemented in Add-ons manager
    * asm.js optimizations enabled for major performance improvements
    * Asynchronous canvas updated
    * plain text files display with word-wrap
    * for user security, object is no longer accessible from web content
    * pointer lock API used outside of fullscreen
    * CSS3 firefox implemented and enabled by default
    * Added new web notifications
    * Added clipboardData API for javascript access to a user's clipboard
    * Built-in font inspector

Install Firefox 22 in Ubuntu and Linux Mint


Open Terminal(Alt + Ctrl + T) and paste the following commands
sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa

sudo apt-get update

sudo apt-get install firefox



[How to] Install And Configure LTSP Server In Ubuntu 12.04 with Dnsmasq

The Linux Terminal Server Project adds thin client support to Linux servers. It allows you to set up a diskless workstation environment with not much effort. LTSP is a flexible, cost effective solution that is empowering schools, businesses, and organizations all over the world to easily install and deploy thin clients.
Requirements:
------------------

Ubuntu 12.04 x64 machine to act as our main LTSP server.
1 x Network switch / hub
1 x Router with internet connection
Thin client computer. This can be any network boot enabled machine.

Steps to install LTSP Server in Ubuntu
-------------------------------------------------

If you have an already installed Ubuntu machine, type the following command to install LTSP server.
sudo apt-get install ltsp-server-standalone

and build the client image
sudo ltsp-build-client

Change the Network adaptor to use Manual IP and set a new fixed IP for the adaptor and save.
sudo gedit /etc/network/interfaces


    # The primary network interface
    auto eth0
    iface eth0 inet static
            address 192.168.1.225
            netmask 255.255.255.0
            network 192.168.1.0
            broadcast 192.168.1.255
            gateway 192.168.1.1
            dns-nameservers 192.168.1.1
            dns-search home

Change 192.168.1.225 to your server IP address.

Install dnsmasq and configure dhcp server.
------------------------------------------------------
Edit the /etc/dnsmasq.d/ltsp.conf file and made the appropriate changes(dhcp range, etc) if any.

Restart the dnsmasq.
sudo service dnsmasq restart

Create a custom lts configuration file.
sudo gedit /var/lib/tftpboot/ltsp/i386/lts.conf

and add the following contents.

[Default]
SCREEN_02=shell
SCREEN_07=ldm

Set up Thin Client Admin user
---------------------------------------
sudo -s -H
chroot /opt/ltsp/i386
useradd -m <adminname> -G sudo
passwd <adminname>
exit
exit

Change <adminname> with your new administrative username.

Then update the client image
sudo ltsp-update-image

Whenever you changed the Ip address, dont forget to run
sudo ltsp-update-sshkeys
sudo ltsp-update-image

Finally, Configure client machine's BIOS to bootup using PXEboot or set first boot device as Network boot.

[How To] Install GUFW Firewall On Ubuntu 13.10 , 13.04, 12.10 and 12.04

GUI for Uncomplicated Firewall, which is shortly called GUFW, the name states, Graphical User Interface for Uncomplicated Firewall. It already provides a simple code and interfaces, it uses the UFW Python modules directly, for prevent code duplication, avoid unnecessary code and it provide a extra layer of execution. It is mainly designed for Ubuntu, and is also available for Debian based distribution and Arch Linux. It is the easy way to manage the Ubuntu Firewall.
New Features:

 * Defualt incoming policy
 * Allow/deny Incoming rules
 * IPv6
 * Enable or Disable firewall
 * Configure firewall default settings
 * Add, Edit  and Remove rules
 * Settings for some Iptables module
 * Filtering by interface
 * Reset command
 * Per rule logging
 * Reject incoming rules

Install GUFW Firewall on Ubuntu

Open terminal and paste the following commands
wget -c https://launchpad.net/gui-ufw/gufw-13.10/13.10/+download/gufw_13.10.0-0ubuntu2_all.deb
sudo dpkg -i gufw_13.10.0-0ubuntu2_all.deb
sudo apt-get install -f



LibreOffice 4.0.4 Has Been Released. Install It On Ubuntu 13.04 , 13.10

According to LibreOffice 4.0.4 releasing, it announced with lot of improvements for supporting of proprietary document format.

"LibreOffice 4.0.4 features many improvements in the area of interoperability document formats. This ongoing activty has been instrumental for the choice of LibreOffice by all major migration projects to free software since early 2012, including several central and local government in Europe and South America."

Features of LibreOffice 4.0.4

         * The animations inside SmartArt work have been fixed.
         * When saving in MSWord doc format, the table is now placed inside the frame.
         * SVG Exports no longer ignores line width
         * Comments are now readable
         * Pictures are saved in the .pptx format
         * The command line convertion to HTML no longer fails
         * Displaying the attached VSD document is now done properly
         * A missing default button in Format -> Alignment dialog(Math) has been added

Enter the following command one by one in Terminal to install LibreOffice 4.0.4

sudo add-apt-repository ppa:libreoffice/libreoffice-4-0

sudo apt-get update

sudo apt-get install libreoffice