Linux Guides, How-To, Tips & News

Ubuntu 16.04 LTS

Ubuntu/ Linux Video Tutorials !

Thursday, March 10, 2016

Posted by Unknown 3:12:00 AM No comments

Things to do After installing Lubuntu 14.04 LTS


Please Donate Here!

When we need to write some command in Lubuntu , we will from Terminal commands to introduce color Terminal are:



Open Terminal:

Home> Accessories> LXTerminal 

If we want LXTerminal 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 with the command:

exit
Update Repositories The first is to upgrade the system. We're going to



Home> System Tools> Software Update

Before upgrading we will check that all repositories are enabled.


Repositories are deposits which are stored and maintained applications and installation packages. To manage them , click on the "Settings" button in the window "Software Update" and will open a new window with the following tabs: - --- Software Lubuntu Software and updates We find the following official repositories and maintained by the community which must be always activated ( v ): free software and open maintained by Canonical (main) free Software and open maintained by the community (universe) proprietary drivers for devices (restricted) Software restricted by copyright or legal issues (multiverse) source Code (No need to check this box) Download from: here we have to choose the download server (personally I always choose the main server) - ---- Other software CD-ROM with Lubuntu 14.04 LTS ... I do not activate it . partners Canonical software packaged by Canonical for its members (proprietary software. Not free), (Sun Java JRE, Acroread ...), although there are free applications that supplement (OpenJDK, pdf viewer ...) and we can keep it off if you 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 others) Independent (source Code) Powered by outside software developers (No need to check this box) Clicking on the button add, it opens a window where you can enter the full line of APT repository you want to add as software source 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 if we need additional drivers will 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


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


Home> Accessories> LXTerminal 

Once opened LXTerminal 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

Please Donate Here!


Let's go to:

Home> Preferences> Language Support

He verify that the "Spanish" language is fully installed and configured system - wide: Let System Configuration> Language Support ", check the state and if something is missing, we say that is not all installed support and click install. In tabs "languages" and "language Support" click on "Apply to the entire system."  Change language keyboard if the keyboard is not in our Spanish language we go to the Taskbar press the button right on the distinctive language in this, we get a pop -up window, we'll agent Configuration keyboard, despinchamos, maintain system distributions click on


+ Add

We seek our distribution "is" "Spanish" select it and press the button

Accept

select distribution "is" and click on the button

Go up

Other languages ​​if not we use, select them and click on

- Remove

We can also customize the layout selecting Picture, Custom Image or Text Then hit

Close
Installing codecs The Lubuntu-restricted-extras package 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 video common 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 Lubuntu-restricted-extras package: Installation from Terminal:

sudo apt-get install lubuntu-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

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 LXTerminal:

sudo apt-get install x264

Now you can watch movies and videos in HD from Ubuntu.

 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 LXTerminal we 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 LXTerminal 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
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 user file / / Optimize Firefox Internet connections high speed


user_pref ( "browser.bookmarks.restore_default_bookmarks", false); 
user_pref ( "browser.cache.disk.capacity", 358400); 
user_pref ( "browser.cache.disk.smart_size.first_run", false); 
user_pref ( "browser. cache.disk.smart_size_cached_value ", 358400); 
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.places.smartBookmarksVersion", 2); 
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. com / "); 
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 LXTerminal 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 Lubuntu open LXTerminal 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 tab, activate (it Supplements v ):
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 LXTerminal 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. Initially it would be a "mod" Age of Empires II can be installed from center software From Terminal 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 LXTerminal 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 ...).
____________________

Please Donate Here!



Psensor

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

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. Go LXTerminal and type these commands to see if it is enabled

sudo laptop_mode

If not installed: Install Laptop Mode Tools from Lubuntu software center. In terminal:

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 (to 1 ):

ENABLE_LAPTOP_MODE_TOOLS = 1

In the configuration file there is a line that serves to enable laptop mode when we are connected to the power grid Default is set to 0 and it would be put in one for the laptop does not overheat if you are not using the battery but taking current La Linea is this:

ENABLE_LAPTOP_MODE_ON_AC = 0

We change the 0 by one being this:

ENABLE_LAPTOP_MODE_ON_AC = 1

And with that the laptop mode will work even when we are working on the laptop without battery System Restart
 ____________________

shutter Shutter is a program screenshot with many features screenshot of a specific area, window, full screen, or even a page web to install shutter will LXTerminal and type these commands:

sudo apt-get install shutter
____________________

Plank
Dock bar to launch applications, its simplicity makes it a very stable software installation: We're going to LXTerminal 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 configure a little edit the file: .config / plank / dock1 / settings We will LXTerminal and type:

leafpad ./.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 = 2

Being:

0 left 
1 right 
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: ____________________  
Startup Applications in Lubuntu If we need a application or process starting at the beginning of the session, copy the application folder, from:

Applications

until

Autostart

In PCManFM Manager (Explorer folder) we will:

/ Usr / share / applications

We seek the application you want to copy and then go to:

/.config/autostart

Where we stuck the application you want to start at the beginning
____________________  

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

sudo apt-get install gnome-system-monitor
____________________  

Security and privacy activity-log-manager, it 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
____________________  

Applet network-manager applet network-manager , graphical desktop application that allows network selection and configuration of Network Manager Network Manager is a program that provides detection systems and automatic configuration to connect to the network
In the event that the applet network-manager (the opposing arrows in the toolbar) not being executed we will:

Home> Preferences> Default Applications LXSession

It opens a window, in the menu list on the left, click on:

Autostart

In the right pane where it says:

Manual applications autostarted

We have a locker where we write:

nm-applet

Click on the button:

+ Add

We closed the window we have open and restart your computer Once we start the computer, see the applet network-manager in the taskbar, where we can choose our wireless network
 ____________________  

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 Lubuntu 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 solve it we can ask the system to create that record again. 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 more rápido.

Please Donate Here!

0 comments:

Post a Comment

Search