-->
Home » , » Ubuntu 14.04 “Trusty Tahr”: Tips and Troubleshooting.
Thursday
3 July 2014

Ubuntu 14.04 “Trusty Tahr”: Tips and Troubleshooting.

1.- Run Command.

You can run any application in your path using the Run Command. Use Alt+F2.

2.- Turn off Hot Keys.

This is the most evil option on any operating system, in my opinion. A mis-stroke enables any number of random events. Unfortunately, this problem is pervasive in operating systems and is difficult to turn off.

Menu -> System -> Administration-> Advanced -> Input Actions -> General Settings -> check "Disable KHotKeys daemon"
Menu -> System -> Administration-> Advanced -> Input Actions -> Gestures Settings -> check "Disable mouse gestures globally"

If you wish to be selective about it (this doesn't often work, however), start by disabling unnecessary desktop hotkeys.

Menu -> System -> Administration-> Advanced -> Keyboard & Mouse –> Keyboard
tips-and-tricks
3.- Shortcuts.

Also, you may want to deactivate linking gestures to sticky and slow keys:

Menu -> System -> Administration -> Accessibility -> Activation Gestures -> uncheck "Use gestures for activating sticky keys and slow keys"

Note: You probably will have to disable hotkeys in many applications, as well.

Hotkeys from the Synaptics Touchpad can be selectively turned off using this information from the Ubuntu documentation.
4.- Associate default applications.
  • To assign the default DVD player (make sure you have enabled DVD playback capability first:
Menu -> System -> Administration-> Advanced -> File Associations -> x-content -> video-dvd -> Applications Preference order -> Add...
then choose your favourite media player. There are similar options for Blu-Ray (video-bluray) and HD DVD (video-hddvd). Set each individually.
  • To assign the default player for playing mpegs (or other video formats):
Menu -> System -> Administration-> Advanced -> File Associations -> video -> mpeg -> Applications Preference order -> Add...
then choose your favourite media player. You can do this for a host of video file formats, including .wmv (x-ms-wmv, or Microsoft WMV format), .flv (x-flv, or Flash video), quicktime, and so on.
  • To assign .pls audio streams to play through Audacious:
Menu -> System -> Administration-> Advanced -> File Associations -> audio -> x-scpls -> Applications Preference order -> Move Audacious to the top (or Add... it).
Make sure *.pls appears in the Filename Patterns section.
5.- Automatic user login.
  • To accomplish this (yet still require a user password):
Menu -> System -> System Settings -> Login Manager -> Convenience -> Enable Auto-Login (ticked) -> Lock session (ticked)
-> Pre-select user: Specified: Choose primary user
  • This ought to be combined with a password-protected screensaver.

6.- Autostart a program at bootup.

Any program (or script) can be made to Autostart at bootup by creating a symbolic link to that program (or script) in the ~/.config/autostart folder.

For example, to start Firefox at bootup, create a symbolic link:

sudo ln -s /usr/bin/firefox ~/.config/autostart

Choose Bootup/Startup services.

Preventing unneeded or unwanted services from loading at startup can improve system performance.

  • Install the GTK-based Bootup-Manager: sudo apt-get install bum
  • Run Bootup-Manager: Menu -> System -> Bootup-Manager
7.- Run a script from a menu item.

It is possible to place a short script in a menu item / shortcut to answer an interactive query (such as a password query). Here is an example that is used to enter a password during an SSH negotiation. First, install the utility expect:

sudo apt-get install expect

The use a command in the Menu Item / Shortcut similar to:

expect -c 'spawn ssh -l sshuser -L 5900:127.0.0.1:5900 remoteserver.remotedomain.org -p 22 ; expect assword ; send "sshpassword\n" ; interact'

In this example the password sshpassword is returned when the ssh program requires a password. Expect waits for some text to be displayed in the command-line terminal then returns text in return. The Menu Item must be "Run in terminal", therefore.

source: Ubuntuland & The Dream Valley

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

0 commenti:

Post a Comment

Random Posts

  • Mapivi, photo viewer and organizer with emphasis on IPTC fields.
    29.09.2010 - 0 Comments
    Martin's Picture Viewer (Mapivi) is a cross-platform, open source picture manager and organizer. It is a standalone tool and does not use a separate web server, online access or a database.This application copes admirably with EXIF data (like…
  • Benchmarks Of Fedora 9 Performance
    17.06.2009 - 0 Comments
    Last week we delivered benchmarks comparing the performance of Ubuntu 9.04 vs. Fedora 11and found for the most part that these two incredibly popular Linux distributions had performed about the same, except for a few areas where there notable…
  • Top 10 blog posts for January 2014 from Linuxlandit & The Conqueror Penguin.
    10.02.2014 - 0 Comments
    1.- How Torrents Have Affected the Music Industry. The use of torrents is a popular means of getting downloads of music and other forms of multimedia for the file-sharing online community. All you have to do is downloading a torrent client,…
  • MySQL Client-Side Scripts and Utilities
    12.05.2009 - 0 Comments
    Overview of the Client-Side Scripts and UtilitiesAll MySQL clients that communicate with the server using the mysqlclient library usethe following environment variables:Name DescriptionMYSQL_UNIX_PORT The default socket; used for connections to…
  • Concalc is a calculator for the Linux console.
    29.03.2014 - 0 Comments
    Concalc is a calculator for the Linux console. It should also work on all other unix systems. Concalc is just the parser-algorithm of extcalc packed into a simple console program. You can use it if you have need a calculator in your shell. This…
  • FreeBSD® is an advanced operating system for modern server, desktop, and embedded computer platforms
    30.11.2009 - 0 Comments
    FreeBSD is a UN*X-like operating system for the i386, IA-64, PC-98, Alpha/AXP, and UltraSPARC platforms based on U.C. Berkeley's "4.4BSD-Lite" release, with some "4.4BSD-Lite2" enhancements. It is also based indirectly on William Jolitz's port of…
  • Panorama Tools provides a powerful framework for re-projecting and blending multiple source images into immersive panoramics of many types.
    28.06.2012 - 0 Comments
    Panorama Tools (also known as PanoTools) are a suite of programs and libraries originally written by the German physics and mathematics professor Helmut Dersch. Panorama Tools provides a powerful framework for re-projecting and blending multiple…
  • Maria is a reachability analyzer for concurrent systems that uses Algebraic System Nets.
    08.07.2014 - 0 Comments
    Maria is a reachability analyzer for concurrent systems that uses Algebraic System Nets (a high-level variant of Petri nets) as its modelling formalism. It has been written in C++, and its is freely available under the terms of the GNU General…
  • Aseprite is an open source program to create animated sprites & pixel: Context Bar.
    15.11.2015 - 0 Comments
    Animations and visual effects are nowadays used to enhance nearly every form of multimedia, including video games. These are created by combining multiple images and effects, with an abundance of applications at your disposal. Aseprite is one of…
  • Convert Audio / Video Files With Selene Media Encoder.
    13.08.2014 - 0 Comments
    Selene is an audio/video converter for converting files to OGG/OGV/ MKV/MP4/WEBM/OPUS/AAC/FLAC/MP3/WAV formats. It aims to provide a simple GUI for converting files to popular formats along with powerful command-line options for…

Recent Posts

Recent Posts Widget

Popular Posts

Labels

Archive

page counter follow us in feedly
 
Copyright © 2014 Linuxlandit & The Conqueror Penguin
-->