Adding to right click menu "Open in Terminal" in Fedora Core 15

Open a new Terminal Window Type the following command to install nautilus-open-terminal yum install nautilus-open-terminal Log out and login again and when you right click on the Desktop or in your Home folder you will see that Open in Terminal will appear on the right click menu

April 7, 2018 · 1 min · 47 words · icarnaghan

Amarok loops through all items in playlist when trying to play mp3's using Ubuntu 9.04

When adding new items to Amarok in Ubuntu 9.04 the items do not want to play and Amarok only loops through the whole playlist and no sound is heard. Follow the steps below in order to solve the problem STEP 1 Remove GStreamer ffmepeg video plugin, GStreamer extra plugins and Movie Player (GStreamer) via Add/Remove (Applications -> Add/Remove) STEP 2 Open a new Terminal session and type in the following command to install phonon-backend-xine: sudo apt-get install phonon-backend-xine ...

April 7, 2018 · 1 min · 101 words · icarnaghan

Blank User Name. Type a valid user name when adding new Email Account

Blank User Name. Type a valid user name when adding new Email Account on my Blackberry? This needs to be your Blackberry username and password and not your Email details

April 7, 2018 · 1 min · 30 words · icarnaghan

Changing the Screen Brightness on a Laptop with Ubuntu

NOTE: Tested with Ubuntu 9.10 Click on **System->Preferences->Screensaver ** Click on **Power Management ** Under the heading Display adjust the slider next to the label Set display brightness to: in order to adjust the brightness of the screen.

April 7, 2018 · 1 min · 38 words · icarnaghan

CPanel: Script timed out before returning headers: index.php

Script timed out before returning headers: index.php is sometimes caused by a badly written script, or the script took to long to execute. To solve this problem on a CPanel server you have to slightly increase the TimeOutdirective using Web Host Manager “WHM”. To do this visit WHM > Apache Configuration > Global Configuration Search for TimeOut and slightly increase it’s value in seconds. If the error still exist, slightly increase this value until the problem is resolved. Once fixed, try to re-look at your script. ...

April 7, 2018 · 1 min · 86 words · icarnaghan

Creating Aliases in Ubuntu

How to create Aliases in Ubuntu? If you have a command that you run all the time in Ubuntu like pwd to print your working directory, you can create an alias for that specific command. In otherwords a shorter version for the pwd command. Open a Terminal Window (CLI = Command Line Interface) Type the command cd to take you to your home directory. Now you need to edit the .bashrc file. To edit the .bashrc file, type in the following command: gedit .bashrc This will open the .bashrc file in GEdit for editing. Now we want to assign a alias for the pwd command. We want to name the alias"p" Add the following line at the bottom of the .bashrc file: alias p=‘pwd’ Close GEdit. Log out and log in again to make the alias active. Type in p in the command line and it should give the same results as pwd.

April 7, 2018 · 1 min · 153 words · icarnaghan

Downloading Files and Directories recursively using Linux Centos 6.3

Install ncftp using yum sudo yum install ncftp Execute the following command, just replace details with the relevant ones ncftpget –R –v –u ftpusername ftpserver /copying/to/directory /copying/from/directory -R = Recursive mode; copy whole directory trees -v = Use progress meters -u = FTP username -ftpusername = Replace with your FTP username -ftpserver = Add your server in here -/copying/to/directory - Directory to copy to -/copying/from/directory - Directory to copy from ...

April 7, 2018 · 1 min · 70 words · icarnaghan

Editing the pg_hba.conf file on a PostgreSQL database server so that a specific (other) server will be able to connect to the PostgreSQL database server

Editing the pg_hba.conf file on a postgresql database server so that a specific (other) server will be able to connect to the postgresql database server. Example: Say I have a server where all of my postgresql databases are running and I have an application on another server that needs to access a database from the database server. To make this possible I need to edit the pg_hba.conf file to allow access to the application server. ...

April 7, 2018 · 2 min · 298 words · icarnaghan

Eliminating duplicate rows from result-set using PostgreSQL

Use the DISTINCT ON keyword in your query To do a case-insensitive search do the following query SELECT DISTINCT ON(upper(surname)) surname FROM employees ORDER BY upper(surname) This will return non-duplicate surnames.

April 7, 2018 · 1 min · 31 words · icarnaghan

ERROR: permission denied for sequence

Problem: PHP Warning: pg_query(): Query failed: ERROR: permission denied for sequencename in PostgreSql Solution: To fix this problem, change the owner to the role that needs to access this sequence ALTER TABLE sequencename OWNER TO rolename; Change sequencename to your sequence name and rolename to the owner

April 7, 2018 · 1 min · 47 words · icarnaghan