Friday, 12 May 2017

How to open file and folder as administrator in Ubuntu ?


How to open file as administrator ?

To open a file as administrator you have to install GUI interface for this.

To install GUI Interface open Ubuntu Center and search for gksu


Open-as-Administrator in Ubuntu

To install Open-as-Administrator in Ubuntu open Terminal  and paste the following commands in the terminal:


sudo add-apt-repository ppa:noobslab/apps

sudo apt-get update

sudo apt-get install open-as-administrator
nautilus -q
Reboot
Ubuntu 16.04
sudo apt-get install -y nautilus-admin
Then
nautilus -q
 

Saturday, 24 December 2016

Find location of php.ini using Terminal

To get Location of php.ini file using terminal






Run the following command in terminal


php --ini


if php is install this command will run

else you have to run first this one

sudo apt-get install php5-cli

then run

php --ini

it will give result as

Configuration File (php.ini) Path: /etc/php5/cli
Loaded Configuration File:         /etc/php5/cli/php.ini
Scan for additional .ini files in: /etc/php5/cli/conf.d
Additional .ini files parsed:      /etc/php5/cli/conf.d/pdo.ini




Tuesday, 6 December 2016

IPTUX to run in background by mistake.


IPTUX to run in background by mistake.



Steps to resolve this

#1 show hidden files
#2 open %gconf.xml file located on

home/xxxx/.gconf/apps/iptux/%gconf.xml

Now find for "hide_startup" and change

name="hide_startup" mtime="xxxxxxxxxx" type="bool" value="true"

to

name="hide_startup" mtime="xxxxxxxxxx" type="bool" value="false"