Linux Guides, How-To, Tips & News

Ubuntu 16.04 LTS

Ubuntu/ Linux Video Tutorials !

Thursday, March 10, 2016

Posted by Unknown 3:07:00 AM No comments

Things to do After installing Xubuntu 14.04 LTS



Please Donate Here!

With the installation of Xubuntu I've been pleasantly surprised, long time since not installed


When we need to write some command in Xubuntu, we will from Terminal Emulator commands to enter in Terminal Emulator Color are:



Open Terminal:

Home> Accessories> Terminal Emulator

If we want the Terminal Emulator icon on the desktop, on the launcher press right mouse button and select appear:

Add to Desktop

Having put the commands that we find used, we will leave Terminal Emulator with the command:

exit
____________________  

Update and Repositories The first is to upgrade the system. We will:


Home> All> Manager config ...

It will open the Settings window, where you will find in the System section, the icon:

Software & Updates

Before upgrading we will check that all repositories are enabled

Repositories are deposits which are stored and maintained applications and installation packages the following tabs: ----- Software Xubuntu Software and updates We find the following official repositories and maintained by the community that should always be activated ( v ): free software and open maintained by Canonical (main) free software and open community maintained (universe) proprietary drivers for devices (restricted) Software restricted by copyright or legal issues (multiverse) source Code (No need to activate this box) Download from: here we have to choose the download server (personally I always choose the main server) ----- Other Software

CD-ROM with Xubuntu 14.04 LTS ... not activate Partners Canonical Software packaged by Canonical for its members (proprietary software. No free) (Sun Java JRE, Acroread ...), although there are free applications that supplement (OpenJDK , pdf viewer ...) and we can keep it off if we will not use. partners Canonical (source Code) software packaged by Canonical for its members (no need to check this box) Independent Powered by outside software developers (or third) Independent (source Code) Powered by outside software developers (No need to check this box) by pressing the add button, it opens a window where we can introduce the full line of APT repository you want to add as the source software the APT line includes the type, location and components of a repository for example: deb http://archive.ubuntu.com/ubuntu main trusty other options we can leave and come home in the event that additional Drivers need we go to the tab:

additional drivers

Select the driver you want or need and press the button:

apply changes

Additional Drivers may be proprietary (owners), open or proprietary code tested advise using open source  
Note: To create Live System. It is recommended not to have installed the drivers owners of video cards because if we distribute it to a machine with another card, these drivers may not be valid. Then we hit:

Close

We inform that the information about available software is obsolete, so to recharge information will press on:

Recharge

We will update the system if new updates

-----
Software Update To update the software in Xubuntu will not:

Home> All> Manager config ...

It will open the Settings window, where you will find in the System section, the icon:

Software update

-----
Update system can also be done from Terminal to open the Terminal we will

Home> Accessories> Terminal Emulator 

Once opened Terminal Emulator We put the following commands: Update list of repositories:

sudo apt-get update

Update the system:

sudo apt-get upgrade
____________________  

Install the language for the entire system

Verify that the "Spanish" language is completely installed and configured for the entire system, we will:

Home> All> Manager config ...

It will open the Settings window, where we find in the Personal section, the icon:

Language Support

It will check the status and if something is missing, we say that is not all installed support and click install in the tabs "Languages" and "Language Support" click on "Apply to the entire system."
 ____________________

Installing codecs The Xubuntu- package restricted-extras, it contains all packages and codecs with proprietary licenses or restricted as Java, Flash, mp3, avi, mpeg, TrueType fonts Microsoft, w32codecs, w64codecs, codecs for audio files and common video except for one package : libdvdcss. Note: Please note that some packages are restricted by copyright or legal issues in some countries. View Information: http://www.ubuntu.com/about/about-ubuntu/licensing Install the xubuntu-restricted-extras package: Installation from Terminal:

sudo apt-get install xubuntu-restricted-extras

When asked for the password ([sudo] password) will the login user in which we are, typing the password in Terminal not see anything but this writing and will press the Enter keyboard Note: Among the packages will be installed, are the sources of micro $ oft (ttf-mscorefonts) and you have to accept the license and EULA. If you do it from the terminal, the cursor does not work, stand "OK" (1 license) or "Yes" (2nd license) by pressing the Tab key, when it is red, press the Enter key. Then to add to all applications update the cache with:

sudo fc-cache
____________________

 Install libdvdcss2 libdvdcss - to see DVD's / CD's original or commercial: Install the package "curl" to download the public key:

sudo apt-get install curl

Download and install the public key repositories Videolan:

curl ftp://ftp.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add -

Add Videolan repositories:

echo "deb ftp://ftp.videolan.org/pub/debian/stable ./" | sudo tee /etc/apt/sources.list.d/libdvdcss.list

Update list of repositories:

sudo apt-get update

Install libdvdcss2:

sudo apt-get install libdvdcss2
____________________

Please Donate Here!

 Y PPA Manager

With Y PPA Manager we can find and remove duplicate repositories, add additional repositories, download packages from a repository without adding and look for packages in Launchpad PPA. Other features include: Installation: Install Repository:

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

Library update packages:

sudo apt-get update

Install Y PPA Manager:

sudo apt-get install y-ppa-manager
____________________
 Watch movies and videos in HD Installing from Terminal Emulator:

sudo apt-get install x264

Now we can watch movies and videos in HD from Xbuntu.
____________________

 Change RAM use swappiness

The SWAP memory used by the computer when RAM becomes scarce. The kernel is configured by default to work with servers with large amount of work and limited RAM. We can change the percentage of swap memory to use so to hurry the RAM usage before you start using the swap (swap). swappiness: . This is the use of swap memory in relation to the ram If you have lots of RAM is advisable to use it therefore to do the following changes: We consult swappiness the initial configuration (default 60%) with:

sudo cat / proc / sys / vm / swappiness

If the value is 60, it must change, and if it goes 10 already have (no need to do anything else). We wrote (the change is temporary basis)

sudo sysctl -w vm.swappiness = 10

We open some applications, if the result is satisfactory, keep the permanence of the setting. To save the settings, enter the file with

sudo nano /etc/sysctl.conf

In the last line we write (down with the arrow keys)

vm.swappiness = 10

Where we can change the "10" for the optimal value you want (testing to see which is the best performance). Save the changes with:

Control + or

Press Enter Close to:

Control + x

Press Enter Exit Terminal with:

exit
____________________
 Change RAM cache use pressure

The kernel is configured by default to work with servers with large amount of work and limited RAM. On a desktop system is quite common actions like opening files, directories, searches and similar cache pressure: cache pressure is similar to swappiness in swappiness memory sWAP uses the computer when RAM becomes scarce. cache pressure controls how aggressively swaps kernel to its cache, but only for file systems. the cache is largely responsible for the storage of virtual data , so it can be retrieved when needed. it is faster for the system to extract data from RAM that the hard disk cache pressure default is 100, ie 100% on performance in managing files the disc. Putting cache pressure to 50, reduces by 50% the use of cache on your hard disk to use directly in RAM This is recommended for computers that are not to be used as servers. we can change the percentage of cache pressure to use, so use the RAM usage before starting to use the file management on the hard disk. This is the use of swap memory in relation to the ram. If you have lots of RAM is recommended use therefore we must make the following changes: we consult cache_pressure the initial configuration (default 100%) with:

sudo cat / proc / sys / vm / vfs_cache_pressure

If the value is 100, must change, and if it goes 50 already have (no need to do anything else). We wrote (the change is temporary basis)

sudo sysctl -w vm.vfs_cache_pressure = 50

We open some applications, we look for files, we copy and paste files, open PDF documents, open games and play as example . 0ad (game strategy) if the result is satisfactory, keep the permanence of the configuration To save the configuration, entered the file with

sudo nano /etc/sysctl.conf

In the last line we write (down with the arrow keys)

vm.vfs_cache_pressure = 50

Where we can change the "50" for the optimal value you want (testing to see which is the best performance). Save the changes with:

Control + or

Press Enter Close to:

Control + x

Press Enter Exit Terminal with:

exit
____________________  

Preload function preload more or less corresponds to the function prefetch Windows. Preload automatically scans applications when they are executed, so that the next time you run load libraries needed before prompted by the application. In Terminal emulator write

sudo apt-get install preload

Thereafter, the system will not boot faster, but the application load will be faster.

____________________

Prelink Any executable that makes heavy use of shared libraries can benefit from Prelinking. Prelinking resolves addresses shared library beforehand reducing the number of relocations. Prelink is also useful in the context of security and we can say prelink to load libraries in random directions until they pass next to prelink. This is useful because libraries not loaded on fixed addresses on all systems. We can install prelink with the following command:

sudo apt-get -y install prelink

Change a line in the configuration file:

sudo nano / etc / default / prelink

From

PRELINKING = unknown

to

PRELINKING = yes

The remaining default options work well. We keep the changes:

Control + or

Press Enter Close to:

Control + x

Press Enter Exit Terminal with:

exit

We will Prelinking for the first time:

sudo /etc/cron.daily/prelink

The Prelink daemon runs periodically to optimize its newly installed executables. ----------  

NOTE: If we do not like the performance of prelink, we can do

sudo nano / etc / default / prelink

In the line that reads: PRELINKING = yes, and we modified it : PRELINKING = no. We run again:

sudo /etc/cron.daily/prelink
____________________
LibreOffice

To install LibreOffice we go to Terminal Emulator and put the following commands:

sudo apt-get install libreoffice libreoffice-l10n-es libreoffice-help-es

To install the Spanish dictionary, and correct misspellings:

sudo apt-get install myspell-es

Accelerate LibreOffice

LibreOffice Open LibreOffice Writer (word processor) We will:

Tools> Options> Memory

We must edit the following values ​​as well: Within the program in the window that has been opened: In Picture Cache Use for LibreOffice put:

150 MB

In: Memory for Object put:

21 MB

Click on the OK button and close LibreOffice Writer When opened again see that it is faster
____________________  
Super fast Firefox users

Please Donate Here!


To have a faster navigation, we have to change a number of parameters super - fast firefox can be done differently in which change one at each parameter. But this is the best way to do so, since the change all at once this way can be done both Firefox and Iceweasel To access the Profiles folder: In the menu bar of the browser choose Help, get a peelable first option from top to bottom is Help Firefox the fourth option information for troubleshooting, you click on that option a tab is opened in the browser, look where it says in bold Basic configuration of the application will see a button that says Open directory, you click on the a window with folders and files (this is the Profiles folder) opens Look for the file named prefs.js, open it and paste down the entire contents of "user" ( this is the name I give to the configuration accelerated) you close the Firefox browser and then closed, close the file named prefs.js and you click on save after closing the previously opened folder (the folder Profiles) "user"
// This is the file user
// Optimize Firefox Internet connections high speed

user_pref ( "browser.bookmarks.restore_default_bookmarks", false);
user_pref ( "browser.cache.disk.capacity", 358,400);
user_pref ( "browser.cache.disk.smart_size.first_run", false);
user_pref ( "browser.cache.disk.smart_size_cached_value", 358,400);
user_pref ( "browser.cache.memory.capacity", 65536);
user_pref ( "browser.display.show_image_placeholders", false);
user_pref ( "browser.feeds.showFirstRunUI", false);
user_pref ( "browser.newtab.url" "https://www.google.es/");
user_pref ( "browser.preferences.advanced.selectedTabIndex", 3);
user_pref ( "browser.rights.3.shown", true);
user_pref ( "browser.sessionstore.interval", 90000);
user_pref ( "browser.startup.homepage" "https://www.google.es/");
user_pref ( "browser.syncPromoViewsLeft", 0);
user_pref ( "config.trim_on_minimize", true);
user_pref ( "content.interrupt.parsing", false);
user_pref ( "content.max.tokenizing.time" 1500000);
user_pref ( "content.maxtextrun", 8191);
user_pref ( "content.notify.backoffcount", 5);
user_pref ( "content.notify.interval" 500000);
user_pref ( "content.notify.ontimer", true);
user_pref ( "content.switch.threshold" 250000);
user_pref ( "dom.ipc.plugins.enabled", true);
user_pref ( "general.smoothScroll", true);
user_pref ( "network.cookie.prefsMigrated", true);
user_pref ( "network.dns.disableIPv6", true);
user_pref ( "network.dnsCacheEntries", 100);
user_pref ( "network.dnsCacheExpiration", 360);
user_pref ( "network.ftp.idleConnectionTimeout", 60);
user_pref ( "network.http.connect.timeout", 30);
user_pref ( "network.http.keep-alive.timeout", 30);
user_pref ( "network.http.max-connections-per-server", 48);
user_pref ( "network.http.max-connections", 256);
user_pref ( "network.http.max-persistent-connections-per-proxy", 24);
user_pref ( "network.http.max-persistent-connections-per-server", 12);
user_pref ( "network.http.pipelining", true);
user_pref ( "network.http.pipelining.maxrequests", 30);
user_pref ( "network.http.proxy.pipelining", true);
user_pref ( "network.http.proxy.pipelining.ssl", true);
user_pref ( "network.http.request.max-start-delay", 5);
user_pref ( "nglayout.initialpaint.delay", 0);
user_pref ( "privacy.clearOnShutdown.offlineApps", true);
user_pref ( "privacy.clearOnShutdown.passwords", true);
user_pref ( "privacy.clearOnShutdown.siteSettings", false);
user_pref ( "privacy.donottrackheader.enabled", true);
user_pref ( "privacy.sanitize.didShutdownSanitize", true);
user_pref ( "privacy.sanitize.migrateFx3Prefs", true);
user_pref ( "privacy.sanitize.sanitizeOnShutdown", true)
user_pref ( "security.warn_viewing_mixed", false);
user_pref ( "ui.submenuDelay", 0);
____________________

 Reset Firefox to its default state If you have serious problems that can not be resolved, restart again with the essential information only. Back Firefox to its original state, as newly installed: In the menu bar of the browser choose Help, get a peelable seeks information for troubleshooting, you click on that option a tab is opened in the browser, look in the upper right corner of the page, where it says in bold: Reset Firefox to its default state , click on the button Reset Firefox is open a small window, saying that Firefox will try to keep: -Historial navigation and markers -Passwords saved -Historial saved form -cookies Firefox will be established and everything else will be removed to continue, click on the Reset Firefox button.
 ____________________  

partition Editor Gparted

GParted is a free partition editor for graphically manage disk partitions with GParted can resize, create, delete, copy , and move partitions without data loss. Create space for new operating systems you can be installed from the Software Center or from Terminal Emulator with the following commands: Update Library packages:

sudo apt-get update

Install Gparted:

sudo apt-get install gparted
____________________
 gedit

gedit is a text editor small and light for the GNOME desktop that is installed by default in Ubuntu If we want to have it installed on Xubuntu open Terminal Emulator and type the following commands: Update Library packages:

sudo apt-get update

Install gedit:

sudo apt-get install gedit gedit-plugins

We accelerate opening gedit

To create a new document we will:

Home> Accessories> gedit

It has opened an untitled document Once opened we go to the toolbar> Edit> Preferences, a window opens, we should be on the Accessories tab, activate (v) at:

fast opening

We close the window by clicking the close button
____________________
 SMPlayer YouTube Browser

With SMTube we can search, play and download videos from Youtube Movies are played by a media player (default SMPlayer) instead of a flash player, this allows better performance, especially with HD content Installation: Install Repository:

sudo add-apt-repository ppa: rvm / smplayer

Library update packages:

sudo apt-get update

Install SMTube-SMPlayer:

sudo apt-get install smplayer smtube smplayer-themes

To exit Terminal will always triumph with:

exit
____________________
 Install tools to compress and decompress From Terminal Emulator with:

sudo apt-get install rar unrar unzip zip unace p7zip-full p7zip-rar arj sharutils mpack cabextract file-roller uudeview
____________________

 VLC Media Player multimedia files as well as DVD, protocols Audio CD, VCD and various streaming .. Install VLC:

sudo apt-get install vlc vlc-plugin-pulse libvlc5
____________________

 0ad game RTS open source. At first it would be a "mod" Age of Empires II can be installed from center software From Terminal Emulator with:

sudo apt-get install 0ad
____________________

My-Weather-Indicator My-Weather-Indicator, not in the official repositories of Ubuntu, but you can install for all versions of Ubuntu including Trusty Tahr from the following repository, updating and installing, running the following commands, Installation : Install Repository:

sudo add-apt-repository ppa: atareao / atareao

Library update packages:

sudo apt-get update

Install my-weather-indicator:

sudo apt-get install my-weather-indicator
____________________

 Lm-sensors Tools read information from the temperature sensors, voltage , and fan Install lm-sensors We'll Terminal Emulator and put:

sudo apt-get install lm-sensors

Now we are looking sensors system:

sudo sensors-detect sensord

We tell all that "yes".

Y

If you notice, all the questions given default response YES, except the last. But this also have to make YES. Once you have it configured, you must restart the service, to be available all sensors and watch them with Psensor. For this you execute the following command in the terminal:

sudo service module-init-tools start

Restart the computer. After restarting, we go back to our terminal and we:

sensors

We will all temperatures (microprocessor cores of the CPU, graphics ...).
____________________  
Psensor

Psensor is a graph temperature monitor for Linux Install psensor from Lubuntu software center in Terminal Emulator with:

sudo apt-get install psensor

Set according to data from terminal by:

sensors
____________________

 Laptop Mode Tools too much Laptop Heat Solution: The problem is that the kernel does not recognize that is installed on a laptop and it gets too hot. We'll Terminal Emulator and type these commands to see if it is enabled:

sudo laptop_mode

If not installed: Install Laptop Mode Tools from the software center Xubuntu. In Terminal Emulator with:

sudo apt-get install laptop-mode-tools

After relocating to check:

sudo laptop_mode

If given as enabled ready if given disable follow:

sudo gedit /etc/laptop-mode/laptop-mode.conf

Search and is connected (1):

ENABLE_LAPTOP_MODE_TOOLS = 1

Reboot
____________________
 System Monitor Gnome system monitor shows the active processes on the system can access the graphical - use, CPU, memory can also see what concerns us space the file system to install we go to Emulator Terminal and write the following commands:

sudo apt-get install gnome-system-monitor
____________________

 Security and privacy activity-log-manager, serves as a record of global activity and also makes it possible to determine the relationships between items based on usage patterns is a service that records user activity and events (files open, web sites visited, conversations with other people, etc.) and makes the relevant information available to other applications Erases activity history Install activity-log-manager:

sudo apt-get install activity-log-manager
____________________

 Synaptic Package Manager Synaptic Package Manager Synaptic is a graphical application that provides a greater amount of information, is a manager very complete package, we have better control over management packages can be installed from the Software Center or from Terminal emulator with the following commands: Update library packages:
sudo apt-get update

Install Synaptic:

sudo apt-get install synaptic
____________________

Please Donate Here!


 Plank
Dock bar to launch applications, its simplicity makes it a very stable software installation: We're going to Terminal Emulator and type the following commands: Install Repository:

sudo add-apt-repository ppa: ricotz / docky

Library update packages:

sudo apt-get update

Install plank:

sudo apt-get install plank

Configuring Plank: Place icons: When you open any application we will show an icon in the dock, click on the icon with the right mouse button and the left button Hold on the dock To remove icons on the icon you want remove despinchamos Keep in dock to set a slightly more (after opening) edit the file:

.config / plank / dock1 / settings

We go to Terminal Emulator and type:

mousepad ./.config/plank/dock1/settings

We will open the file to edit We can change the size of icons on:

#The Size of dock icons (in pixels).
IconSize = 48

The number 48 is the size of the icons, we can put that want can change the position of the dock in:

#The Position for the dock on the monitor. 
Position = 3

Being:

0 left
1 derecha
2 above
3 below

To install any topic we need to download it, unzip it and the resulting files:

dock.theme and hover.theme

The paste into usr / share / plank / themes folder, create a folder with the name of the theme topics for plank //www.deviantart.com/?q=plank+themehttp: ____________________
Systemback

Systemback, application to back up and restore the system with additional features are additional features such as copy of the system, system installation and creation live system (LiveCD or LiveUSB installed system) can include / home installation: install Repository:

sudo add-apt-repository ppa: nemh / systemback

Library update packages:

sudo apt-get update

Install Systemback:

sudo apt-get install systemback

To exit Terminal will always triumph with:

exit

With Systemback you can create a custom Live CD as we have the system at the time of creation, to use it on any PC without installation To create a Live system or live:

Create Live System with Ubuntu 14.04
create Live System. It is recommended not to have installed the drivers owners of video cards because if we distribute it to a machine with another card, these drivers may not be valid.
____________________

Make new profile ureadahead in Xubuntu 14.04 ureadahead is a tool that keeps a record certain files of the boot process, so that when you start Ubuntu, the system reads the record, not looking for files, the boot is made ​​faster. as the months pass, the starting time of the system becomes longer. to fix can ask the system to create that record again. to start ureadahead, which for some reason is not initiated in xubuntu, run in Terminal Emulator:

sudo ureadahead

To make a new profile, run in Terminal:

sudo rm / var / lib / ureadahead / pack

Restart the computer. When you delete the old profile, we managed to ureadahead the remake from scratch. We will notice that it is working because after reboot will take much longer to boot. After this reboot, the system will start much faster.

Please Donate Here!

0 comments:

Post a Comment

Search