But you could if you run a simple file in terminal. Here is how you could do it.
Create a file named normal.sh in your Desktop with the following contents:
#!/bin/bash
xrandr -s 0
Save it on a place where you can open it easily. Make the file Executable to run it in a terminal. See this post to see how you could make a file executable.
... [READ MORE]How To Log Out Using Terminal in Ubuntu Linux
There is no specific command to logout in an Ubuntu system.
Why ?
Here’s how it works. The desktop you’re seeing is a separate software. They are called Desktop Environments (DE). The default DE of Ubuntu is Unity from Ubuntu’s 11.04 versions. Before it was GNOME. There are many DEs for Ubuntu. Some of them are :
- Openbox
- XFCE
- LXDE
and many more.. There are also separate Login Managers to provide the login screen while Ubuntu is loaded. When you log in, the Login Manager starts the default DE set up on your system and when this DE program is closed or terminated, it will go back to the Login Screen or Login Manager.
... [READ MORE]How to edit/clear Ubuntu Terminal commands history ?
Open the file /home/user/.bash_history (Replace red text with your username.
To make it simple Go to your home folder and Press CTRL + H. It will show hidden files.
search for the file .bash_history
Edit the file.
You can see all the commands you entered in Terminal.
Remove what you don’t want and save.
Updating site in App Fog on Linux / Uploading site files to App Fog Server
sudo apt-get install ruby
sudo apt-get install gem
sudo gem install af
... [READ MORE]
How to increase your apt cache limit
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing riece (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_universe_binary-i386_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
... [READ MORE]
sudo gedit /etc/apt/apt.conf.d/70debconf
phpMyAdmin – A software to manage MySql Database
<h2 id="require" style="font-family: sans-serif; max-width: 70em;">
Requirements
</h2>
<ul style="font-family: sans-serif; margin: 1em; max-width: 70em;">
<li style="margin-top: 0.5em;">
<b>PHP</b> <ul style="margin: 1em 1em 0px; max-width: 70em;">
<li style="margin-top: 0.5em;">
You need PHP 5.2.0 or newer, with <tt>session</tt> support and the Standard PHP Library (SPL) extension.
</li>
<li style="margin-top: 0.5em;">
To support uploading of ZIP files, you need the PHP <tt>zip</tt> extension.
</li>
<li style="margin-top: 0.5em;">
For proper support of multibyte strings (eg. UTF-8, which is currently default), you should install mbstring and ctype extensions.
</li>
<li style="margin-top: 0.5em;">
You need GD2 support in PHP to display inline thumbnails of JPEGs ("image/jpeg: inline") with their original aspect ratio
</li>
<li style="margin-top: 0.5em;">
When using the "cookie" authentication method, the <tt>mcrypt</tt> extension is strongly suggested for most users and is <b>required</b> for 64–bit machines. Not using mcrypt will cause phpMyAdmin to load pages significantly slower.
</li>
<li style="margin-top: 0.5em;">
To support upload progress bars.
</li>
</ul>
</li>
<li style="margin-top: 0.5em;">
<b>MySQL</b> 5.0 or newer (details);
</li>
<li style="margin-top: 0.5em;">
<b>Web browser</b> with cookies enabled.
</li>
</ul>
sudo apt-get install phpmyadmin
... [READ MORE]
How to take a screenshot in Ubuntu/Linux
- Use shortcut keys
To take a screenshot, use the following shortcut keys:
Default Shortcut Keys |
... [READ MORE]
Know/Check Ram Type in Linux
sudo dmidecode –type 17
Type your password and press Enter. The details of your ram will be shown.