Important links to work with your Vega and themes

1- my monitor 
this link is very important for disable monitor of laptop and adjust my monitor with it’s resolution

Have to create a script in /etc/X11/Xsession.d/ called “45custom_xrandr-settings”
in my case I wrote


xrandr –output $INTERNAL_OUTPUT –off –output $EXTERNAL_OUTPUT –auto

in sudo gedit /usr/sbin/lightdm-session

xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr –addmode VGA1 1920x1080_60.00
xrandr –output VGA1 –mode 1920x1080_60.00

2- Flat Theme



virtual host on ubuntu

1- copy file from old one 
sudo cp /etc/apache2/sites-available/oldwebsite.com.conf /etc/apache2/sites-available/newwebsite.com.conf
2- edit it and replace all oldwebsite to new website and change the path 
sudo gedit /etc/apache2/sites-available/newwebsite.com.conf
3- enable it 
sudo a2ensite newsite.com.conf
4- restart apache 
sudo service apache2 restart
sudo gedit /etc/hosts
you know what will you do . Right ?

example of file is 

 ServerAdmin localhost@localhost.com
 DocumentRoot "/mnt/programming/www/hamed/laravel/deals/public
 ServerName deals.com
 ServerAlias www.deals.com
 ErrorLog ${APACHE_LOG_DIR}/error.log
 CustomLog ${APACHE_LOG_DIR}/access.log combined

<VirtualHost *:80>
 ServerAdmin localhost@localhost.com
 DocumentRoot "/var/www/html/site/public"
<Directory /var/www/html/site/public>
 AllowOverride All
 Order allow,deny
 allow from all
 ServerName site.com
 ServerAlias www.site.com
 ErrorLog ${APACHE_LOG_DIR}/error.log
 CustomLog ${APACHE_LOG_DIR}/access.log combined


come back to my lovely blog again

today I decided to come back to my blog again . my main problem now  is organizing my thoughts . any way I will do my best . now I have more to say which I hope it will be useful for some people . also I hope to add new category about laravel framework . I hop e it will be a daily blogs for month from now even it’s only contain few words .