Archives For November 30, 1999

gpaste for gnome

Gpaste is a clipboard manager allows you to keep a trace of what you’re copying and pasting. It is really useful when you go through tons of documentation and you want to keep around a bunch of functions you might want to use, for example. The clipboard manager will store a history of everything you do, so that you can get back to older copies you now want to paste.

Gpaste 3.2.2 and the couple of following ones (3.3 and maybe 3.4) are the last releases supporting GNOME <3.10. Gpaste 3.3 will add an Ubuntu Unity applet.

What’s New in Gpaste 3.2.2:

  • “Paste and Pop” is now only “Pop”
  • Fix SEGV at startup
  • Fix SEGV when deleting last item of history
gpaste extension in Ubuntu 13.10 gnome shell

gpaste extension in Ubuntu 13.10 gnome shell

Install Gpaste entension for Gnome Shell in Ubuntu 13.10

Ubuntu Gnome 13.10 uses GNOME 3.8, so your can run commands below one by one in terminal (Ctrl+Alt+T) to install paste 3.2.2:

sudo add-apt-repository -y ppa:webupd8team/gnome3

sudo apt-get update

sudo apt-get install gnome-shell-extensions-gpaste

Then log out and back in. Enable this extension in Gnome Tweak Tool:

enable gpaste in gnome shell

enable gpaste in gnome shell

Install TV-MAXE in Ubuntu 13.10 or Linux Mint 16

Last updated: October 31, 2013

tv-maxe ubuntu 13.10

TV-MAXE is an app to watch TV stations and listen radio via different streams, such is SopCast. Now it’s available for Ubuntu 13.10, Linux Mint 16 in its PPA.

TV-MAXE has a large number of channels, both romanian and international:

ABC,    Acasă,    A and E TV,     Alfa Omega Movies,
Alfa Omega TV,     Alfa Omega Youth TV,
Animal Planet,    Antena 1,     Antena 2,
Antena3,    AXN,     AXN Crime,     AXN Sci-Fi
B1 TV,   BBC News,    BBC World
Biography channel,     Boomerang
Cartoon Network,   CBS,     CNBC,      CNN
Comedy Central,   Cosmos TV,       Dance TV
Digi Sport Plus,    Discovery Channel,    Discovery Science
Discovery Travel&Living,     Discovery World
Discovery ID,    Disney Channel,      DIVA International
DR1,     ESPN,    Eurosport,    Eurosport 2
Film4,     FOX 43,    FOX Sports,     France 24
France 24 (english),     GSP TV,    HBO
History Channel,    Hit Music TV,    Iaşi TV Life
Jurnal TV,  Kanal D,    KISS TV,    Lifetime Movie Network
Musicbox,    NatGeo Wild,   National Geographic
Naţional TV,    Nickelodeon,     OTV,     Prima TV
ProCinema,    Pro TV,    Pro TV Internaţional
Publika MD,     Realitatea TV,      Romstyle TV
Sony Entertainment,     Sport.ro,      Taraf TV
TBS,      TCM,      Tele'M Iaşi,     TNT
TV 1000,    TVM Piatra Neamţ
TVR 1,     TVR 2,     TvRM Cultural,     TvRM Educaţional
USA,    UTV,    Wgal 8

Also TV-MAXE allows you to listen to the following radio channels: BBC Radio 2
Europa FM, Impact FM, Kiss FM, Magic FM, Naţional FM, PRO FM, Radio Iaşi, Radio Intens, Radio România Actualităţi, Radio România Cultural, Radio Vocea Evangheliei, Radio ZU, Rock FM, Sky FM Dance, Sky FM Top Hits, Vibe FM.

Install TV-MAXE via PPA:

The latest TV-MAXE now is available in its PPA for Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10 and their derivatives, such as Linux Mint and Elementary OS.

To add the ppa, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command below:

sudo add-apt-repository ppa:venerix/pkg

Then update system package lists and install the app:

sudo apt-get update; sudo apt-get install tv-maxe
tv-maxe in ubuntu 13.10

tv-maxe in ubuntu 13.10

Nginx, php, mysql

This tutorial shows you how to install LEMP stack in Ubuntu 13.10. LEMP stands for Linux, Nginx (pronounced “engine x”), MySQL and PHP. The nginx project started with a strong focus on high concurrency, high performance and low memory usage. So it’s a good alternative to Apache webserver for building websites on low memory hosts.

Tutorial Objectives:

  • Install Nginx, Php5, MySQL (LEMP) in Ubuntu 13.10 Server
  • Enjoy!

To get started, first login your Ubuntu Server and follow the steps below:

1. Intall MySQL

MySQL is a database management system which stores and organizes references to the information the webserver needs.

To install it, run command:

sudo apt-get install mysql-server mysql-client

While the installing process, you’ll be asked to type a password for MySQL root user.

2. Install Nginx

Nginx is available in Ubuntu’s repository, run command below to install it:

sudo apt-get install nginx

Or you can install the latest stable version from Nginx PPA:

sudo apt-get install python-software-properties

sudo add-apt-repository ppa:nginx/stable

sudo apt-get update

sudo apt-get install nginx

Once installed, start Nginx by:

sudo service nginx start

To check out if nginx is working, go to http://serverip:

nginx is working ubuntu 13.10

nginx is working ubuntu 13.10

3. Install PHP5

PHP is a reflective programming language, which makes it possible for all these different parts to work together.

We can make PHP5 work in nginx through PHP-FPM, which is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

Run command below to install php5-fpm:

sudo apt-get install php5-fpm

4. Setup Nginx

The nginx configuration is in /etc/nginx/nginx.conf, read this configuration example.

Now, let’s modify the default site example:

sudo vi /etc/nginx/sites-available/default

Here you can define root directory (to put WordPress files there), your site domain, as well as other settings. See the example below:

server {
	listen 80 default_server;
	listen [::]:80 default_server ipv6only=on;

	root /usr/share/nginx/html;
	index index.php index.html index.htm;

	# Make site accessible from http://localhost/
	server_name localhost;

	location / {

		try_files $uri $uri/ /index.php;

	}

	location /doc/ {
		alias /usr/share/doc/;
		autoindex on;
		allow 127.0.0.1;
		allow ::1;
		deny all;
	}

	#
	error_page 500 502 503 504 /50x.html;
	location = /50x.html {
		root /usr/share/nginx/html;
	}

	location ~ \.php$ {

		# With php5-fpm:
                try_files $uri =404;
		fastcgi_pass unix:/var/run/php5-fpm.sock;
		fastcgi_index index.php;
		include fastcgi_params;
	}

	# deny access to .htaccess files, if Apache's document root
	# concurs with nginx's one
	#
	location ~ /\.ht {
		deny all;
	}
}

After that, reload Nginx:

sudo service nginx reload

4. Check out if PHP is working

Create the test file:

sudo vi /usr/share/nginx/html/info.php

Add following lines and save the file:

<?php
phpinfo();
?>

Go to http://serverip/info.php in client’s web browser and you’ll see:

php is working

php is working

5. Get MySQL working with PHP

Install Xcache, a free and open PHP opcode cacher for caching and optimizing PHP intermediate code, as well as other PHP modules:

sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-xcache

Then restart php5:

sudo service php5-fpm restart

Now reload http://serverip/info.php page and scroll down to find out if there’s a section about MySQL:

mysql is working with php

mysql is working with php

Now your LEMP server is up and running, see how to install wordpress on Ubuntu 13.10

Firefox 25

Mozilla Firefox 25 has been released with new features, improvements and bugfixes. See What’s New in Firefox 25:

  • Web Audio support
  • The find bar is no longer shared between tabs
  • If away from Firefox for months, you now will be offered the option to reset it to its default state while preserving your essential information
  • Resetting Firefox no longer clears your browsing session
  • CSS3 background-attachment:local support to control background scrolling
  • Many new ES6 functions implemented
  • iframe document content can now be specified inline
  • Blank or missing page thumbnails when opening a new tab
  • Security fixes can be found here

Firefox 25 has been made into Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 and their derivatives.

To upgrade to Firefox 25:

1. First install Synaptic Package Manager from Ubuntu Software Center.

2. Open Synaptic and Click Reload button to update package lists.

3. Search firefox and choose it from the list, click “Mark for Upgrade” in its context menu.

4. Finally click Apply button.

upgrade to firefox 25

upgrade to firefox 25

LAMP ubuntu 13.10This tutorial show you how to install LAMP in Ubuntu 13.10 Server. LAMP stands for Linux, Apache, MySQL, and PHP. It is a combination of these 4 that suitable for building high-availability heavy-duty dynamic web sites.

Linux is a Unix-like and POSIX-compliant operating system. Ubuntu is one of popular Linux distributions.

Apache is a HTTP web server, the most popular in use. It serves webpages when they’re requested by the web browsers. When you type an URL on your web server and press Enter, the pages you see on screen is most likely served by Apache webserver.

MySQL is a database management system now owned by Oracle Corporation. It stores and organizes references to the information the webserver needs.

PHP is a reflective programming language, which makes it possible for all these different parts to work together.

Tutorial Objectives:

  • Install LAMP Stack in Ubuntu 13.10 Server
  • Enjoy!

To get started, run single command below to install them:

sudo apt-get install lamp-server^

While the installing process, you’ll be prompt to set a password for MySQL root user.

To check out if Apache is working, type http://ubuntuserverip in client web browser or localhost in the local browser:

apache is working

apache is working

To check out if PHP is working, run command below to create a test php file in root of Apache webserver directory:

sudo vi /var/www/info.php

Press i to start editing, and type in following lines:

<?php
phpinfo();
?>

After that, press Esc to exit editing. Press Shift + : and followed by wq and Enter to save the changes.

Now, type http://ubuntuserverip/info.php in client’s browser or localhost/info.php in local browser, you’ll see:

php & mysql is working

php & mysql is working

Scroll down to find out if there’s a section about Mysql, it means that Mysql is working too!

Now your LAMP server is up and working, see how to install wordpress in Ubuntu 13.10.

How to Install WordPress in Ubuntu 13.10 Server

Last updated: October 29, 2013

install wordpress ubuntu 13.10

If you’ve already installed LAMP (Linux, Apache, MySQL, PHP) or LNMP in Ubuntu Server, now it’s time to install wordpress on Ubuntu and get your site running!

WordPress is a popular blogging tool and a content management system (CMS) based on PHP and MySQL. It’s free and open-source. In the steps below the lines that the user needs to enter or customize will be in red in this tutorial!

1. Create MySQL Database and User for WordPress

If you’re using LAMP, install PhpMyAdmin to get a graphical way setting your MySQL Database.

To install PhpMyAdmin, run command below in Ubuntu server:

sudo apt-get install phpmyadmin

Choose apache2 webserver while the installing process and say NO to “Configure database for phpmyadmin with dbconfig-common?”

Once installed, run commands below to get it working:

sudo sh -c 'echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf' && sudo service apache2 restart

Now, go to http://UBUNTUSERVERIP/phpmyadmin/ in your client’s browser and type in root and the password you set when MySQL was installed to login.

phpmyadmin login

phpmyadmin login

Follow the steps below to create Database and user:

Step 1 – Click on Users then click Add User.
Step 2 – Type in your desired User name (wordpress is a good one) and ensure Use text field is selected. Ensure Host is set to Local from the drop down list and the text box will change to localhost and enter a Password and then confirm it in the Re-type box. Ensure the Password Use text field is also selected.
Step 3 – Click on Create database with same name and grant all priviliges.
Step 4 – Click on Go.

phpmyadmin create user and database

phpmyadmin create user and database

If you’re using LNMP (Linux, Nginx, MySQL, PHP), follow the steps below to create user & database (both are wordpress in commands below).

Step 1 – Run command in Ubuntu Server to log into MySQL Shell with MySQL root password:

mysql -u root -p

Step 2 – Create database, here I named it wordpress:

CREATE DATABASE wordpress;

Step 3 – Create a new user also named wordpress:

CREATE USER wordpress@localhost;

Step 4 – Set a password for this user:

SET PASSWORD FOR wordpress@localhost= PASSWORD("12345678");

Step 5 – Grant all privileges to the new user:

GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY '12345678';

Step 6 – Refresh MySQL:

FLUSH PRIVILEGES;

Exit MySQL shell:

exit

2. Download WordPress

On Ubuntu Server, run command below to download the latest wordpress package from its official site:

cd && wget http://wordpress.org/latest.tar.gz

Then uncompress it via command below:

tar -xzvf latest.tar.gz 

3. Setup WordPress Configuration

First copy the sample wordpress configuration file into a new config file:

cd && cp wordpress/wp-config-sample.php wordpress/wp-config.php

Then edit the file with command below:

vi wordpress/wp-config.php

Find the section that contains the field below and substitute in the correct name for your database, username, and password:

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘wordpress‘);

/** MySQL database username */
define(‘DB_USER’, ‘wordpress‘);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘12345678‘);

Press i to start editing, and Esc to end editing. Finally press Shift+: followed by wq and Enter to save and exit the file.

4 Copy the files

Now move WordPress files to webserver root directory:

For LAMP:

cd && sudo rsync -avP wordpress/ /var/www/

For LNMP:

cd && sudo rsync -avP wordpress/ /usr/share/nginx/html/

Give ownership of the directory to the apache/nginx user:

cd /var/www/  ###For nginx: cd /usr/share/nginx/html/

sudo chown www-data:www-data * -R 

sudo usermod -a -G www-data www-data

5. Install WordPress:

Now in your client’s web browser go to http://UBUNTUSERVERIP/wp-admin/install.php and install your wordpress site:

installing wordpress

installing wordpress

Once done, if you still get “It Works!” Apache page. Run command below to edit dir.conf:

sudo vi /etc/apache2/mods-enabled/dir.conf

You will see a line of index files (index.html, index.php, index.cgi, etc) under the DirectoryIndex setting. Add index.php as the first item in the list.

After that, restart Apache server by:

sudo service apache2 restart

Now you can access your new website:

wordpress site

wordpress site

Nightingale ubuntu 13.10

Nightingale is an open source media player based on Songbird and focused on Linux. It’s a good alternative to Songbird since the Songbird for Linux discontinued.

This tutorial shows you how to install Nightingale media player in Ubuntu 13.10 Saucy Salamander & Linux Mint 16 Petra.

Nightingale ubuntu13.10 unity

Nightingale ubuntu13.10 unity

There are two ways:

1. You can download Nightingale with GNOME/Unity integration and directly start the executable from extracted folder:

cd ~/Downloads/Nightingale/ && ./nightingale

I’ve tested in Ubuntu 13.10 64-bit and I got “Message: Unity Integration: loading Segmentation fault” error while launching the player. If it works for you, see this post to create a launcher for Nightingale.

2. You can also install the nightly build from PPA repository. Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one and finally launch the player from Unity Dash.

sudo add-apt-repository ppa:nightingaleteam/nightingale-nightly

sudo apt-get update

sudo apt-get install nightingale

Mixxx ubuntu 13.10

Mixxx is a digital DJ system, where Wave, Ogg, FLAC and MP3 files can be mixed on a computer for use in live performances. Filters, crossfader, and speed control are provided. Mixxx can sync the 2 streams automatically, using an algorithm to detect the beat.

The default Mixxx in Ubuntu repository is v1.10 while the latest has reached v1.11.0 with many great new features, bug fixes and performance improvements! This tutorial shows you how to install Mixxx 1.11.0 in Ubuntu 13.10 Saucy Salamander or Linux Mint 16 Petra via PPA.

Here’s the skinny on all the new features in Mixxx 1.11.0:

  • Colored, 3-band Waveforms
    • Don’t miss a beat. These waveforms make every kick, snare, and thumping beat stand out.
  • Brand New Beat Detector
    • With a brand new beat detection system based on the latest academic research at Queen Mary University, Mixxx’s beat detection is now deadly accurate. This means your loops, hotcues, and beatsyncing will be spot-on.
  • HID and Bulk Controller Support
    • Mixxx now supports non-MIDI devices using its powerful scripting system.
    • Mixxx 1.11.0 comes with HID presets for the following devices:
      • EKS Otus
      • Traktor Kontrol F1
      • Hercules DJ Console Mk1
      • Hercules DJ Console Mk2
      • Hercules DJ Control MP3 e2 (driver no longer necessary on Linux)
      • Nintendo Wiimote
      • Pioneer CDJ 850/900/2000
      • Sony SixxAxis
  • Session History
    • Whether you need to report your setlists to ASCAP or just remember the tracks you played last night, the new Session History feature keeps track of every tune you drop so that you don’t have to.
  • Beatloop Rolls
    • This stunning new effect works just like a beatloop except when you release the button the deck jumps to where it would have been if you hadn’t started the loop. Try it out by right-clicking on a beat-loop button.
  • Preview Deck
    • A highly-requested feature, the new preview deck allows you to preview tracks in your headphones without having to load them into a main deck. Just click preview on any track in the library and it will start to play in your headphones.
  • Advanced Search
    • The library search box received some much-needed love. Try out these example queries:
      • bpm:100-120 rating:>4
        • All tracks between 100 and 120BPM with rating greater than 4.
      • artist:”Aphex Twin”
        • All tracks with “Aphex Twin” in the artist column.
      • genre:electro bpm:>115
        • All Electro tracks with BPM greater than 115.
    • For full details, see the Mixxx manual.
  • Improved AutoDJ
    • Now you can customize the crossfade period, re-queue tracks instead of removing, and more.
  • Point-and-Click MIDI Mapping
    • Getting your controller mapped is now easier than ever. Just click on the button or knob you want to map in Mixxx and then wiggle the control on your MIDI controller to wire it up.
  • New Sample Grid skin
    • With 16 sample decks, this skin is perfect for radio DJs and advanced beat-jugglers alike.
  • Time Widgets
    • Skins now show the time so you can keep your eye on the clock while in full-screen.
  • Sample Deck Improvements
    • Sample decks now have sync buttons.
    • When there is room skins now include more sample decks.
  • New and Improved User Manual
  • New Controller Support
    • Mixxx Certified Support
      • Allen & Heath Xone K2
      • EKS Otus
      • Keith McMillen Instruments QuNeo
      • Vestax VCI-400
    • Mixxx Community Support
      • Akai LPD8
      • American Audio VMS2
      • Behringer BCD2000
      • DJ-Tech CDJ-101
      • DJ-Tech DJM-101
      • DJ-Tech Mixer One
      • DJ-Tech Kontrol One
      • Gemini FirstMix
      • Hercules DJ Console Mk1
      • Hercules DJ Console 4-Mx
      • Hercules DJ Control AIR
      • Hercules DJ Control Instinct
      • Kontrol Dj KDJ500
      • Korg nanoKONTROL
      • Korg nanoKONTROL 2
      • Korg nanoPAD2
      • MixVibes U-Mix Control 2
      • MixVibes U-Mix Control Pro 2
      • Nintendo Wiimote
      • Novation Dicer
      • Novation Launchpad
      • Numark DJ2Go
      • Numark MIXTRACK Pro
      • Numark N4
      • Numark Omni Control
      • Numark V7
      • Reloop Terminal Mix 4
      • Sony Sixxaxis
      • Traktor Kontrol F1
      • Vestax VCI-100 3DEX Edition
      • Vestax VCI-300
  • Other Highlights
    • Hamster / Reverse mode for the crossfader now supported.
    • Track analyzer has better prioritization of work and feedback.
    • Controller presets now include wiki/forum links, authorship info and a description.
    • The View menu toggles for skin elements (Vinyl Control, Microphone, Samplers, etc.)
    • View settings are now saved across restarts.
    • New latch mode for microphone talk-over button and kill switches.
    • Removed tracks now appear in the “Hidden Tracks” section of the library.
    • Locale selectable via preferences.
    • MixVibes support for Vinyl Control.
    • Quick Links section in Browse mode allows you to save favorite browse locations.
    • The –controllerDebug command-line option auto-reloads controller scripts when they change.
  • Hundreds of bug fixes and performance improvements!

Install Mixxx:

Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:mixxx/mixxx

sudo apt-get update

sudo apt-get install mixxx

These commands also install latest mixxx in Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Ubuntu 10.04 and their derivatives.

cinelerra 4.5

Cinelerra, a professional video editing and compositing software designed for the GNU/Linux now reached v4.5. Here’s how to install it in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 and Linux Mint.

What’s New in Cinelerra 4.5:

  • Speed curves mainly for video & in degraded quality for audio.
  • Some control over whether automation follows edits.
  • Ability to transfer keyframes between audio and video tracks.
  • Motion temporaries are stored in /tmp/m and /tmp/r files.
  • Time Avg clears the accumulator on keyframes.

Install Cinelerra 4.5:

The DEB installer for Ubuntu is available at this page. Download & installed the cinelerra-data_4.5-dmo1_all.deb & cinelerra_4.5-dmo1_amd64 (or i386).deb

You can also download and build the source code.

If you’d like to install Cinelerra CV (community version of Cinelerra which adds new enhancements to the official source code.), run commands below in terminal one by one (Ctrl+Alt+T):

sudo add-apt-repository ppa:cinelerra-ppa/ppa

sudo apt-get update

sudo apt-get install cinelerra-cv

Ubuntu 13.10 Server gui

I’ve written about how to install Ubuntu 13.10 Server. If you’re not familiar with command console you can install GUI on Ubuntu Server:

  • Desktop Environment on local server
  • Webmin on remote server.

Install Desktop Environment in Ubuntu 13.10 Server:

Before getting started, update system package lists by running the command below:

sudo apt-get update

1. To install Ubuntu Unity Desktop, run:

sudo apt-get install ubuntu-desktop

For ‘minimal’ install without all the desktop add-on and other things that come with Ubuntu Desktop Edition, run:

sudo apt-get install --no-install-recommends ubuntu-desktop

Once installed, restart Ubuntu server and you’ll see the graphical login screen. Or run command below to start without reboot:

startx

2. To install the light weight desktop Xfce, run:

sudo apt-get install xubuntu-desktop

3. To install KDE, run:

sudo apt-get install kubuntu-desktop

Install Webmin in Ubuntu 13.10 Server:

Webmin is a web-interface for remote users to configure Apache, DNS, FTP, and others on your Ubuntu server.

To install Webmin in Ubuntu server, run command below to download the DEB package:

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.660_all.deb

Then install it as well as the dependencies:

sudo dpkg -i webmin_1.660_all.deb; sudo apt-get -f install

Once installed, go to https://your-ubuntu-serverip:10000 on your client PC’s web browser and login with Administrator account:

webmin login ubuntu server