Wednesday, September 6, 2017

The vi arrow keys not working in Ubuntu

The vi arrow keys not working in Ubuntu


Most people get this issue of arrow keys not working for vi in Ubuntu. Instead, it displays A, B, C, and D characters.

This is because the default vi in Ubuntu is a vi light version (that is the vim-tiny package). This does not use the arrow keys as you would expect.

If you want the arrow keys to function you have to install the full vim package. By this you not only get the arrow keys working but also other nice features such as colored syntax.

Just installing the vim package should get you fixed up. Try:

sudo apt-get install vim
or
sudo apt-get install vim-full

vim-full will install all the vim related package and the dependencies, that includes gnome libs, etc... if you dont use gnome and just want to fix this issue in the text mode you can also run :

sudo apt-get install vim-runtime

download file now

Continue reading ...

Saturday, August 26, 2017

The location of r studio R markdown template file in a Ubuntu machine

The location of r studio R markdown template file in a Ubuntu machine


This is a log for the file location. Replace this file with your template file, so every time when you start a new Rmd file, RStudio will use this template, rather than the default one.

/usr/lib/rstudio/resources/templates/r_markdown.Rmd

download file now

Continue reading ...

Friday, August 18, 2017

The Perfect Desktop Ubuntu 10 10 Maverick Meerkat

The Perfect Desktop Ubuntu 10 10 Maverick Meerkat


This tutorial is the textversion of the original found here:  link


This tutorial shows how you can set up an Ubuntu 10.10 (Maverick Meerkat) desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge.
I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

1 Preliminary Note

To fully replace a Windows desktop, I want the Ubuntu desktop to have the following software installed:

Graphics:

  • The GIMP - free software replacement for Adobe Photoshop
  • F-Spot - full-featured personal photo management application for the GNOME desktop
  • Google Picasa - application for organizing and editing digital photos

Internet:

  • Firefox
  • Opera
  • Flash Player 10
  • FileZilla - multithreaded FTP client
  • Thunderbird - email and news client
  • Evolution - combines e-mail, calendar, address book, and task list management functions
  • aMule - P2P file sharing application
  • Transmission BitTorrent Client - Bittorrent client
  • Vuze - Java Bittorrent client
  • Empathy IM Client - multi-platform instant messaging client
  • Skype
  • Google Earth
  • Xchat IRC - IRC client

Office:

  • OpenOffice Writer - replacement for Microsoft Word
  • OpenOffice Calc - replacement for Microsoft Excel
  • Adobe Reader
  • GnuCash - double-entry book-keeping personal finance system, similar to Quicken
  • Scribus - open source desktop publishing (DTP) application

Sound & Video:

  • Amarok - audio player
  • Audacity - free, open source, cross platform digital audio editor
  • Banshee - audio player, can encode/decode various formats and synchronize music with Apple iPods
  • MPlayer - media player (video/audio), supports WMA
  • Rhythmbox Music Player - audio player, similar to Apples iTunes, with support for iPods
  • gtkPod - software similar to Apples iTunes, supports iPod, iPod nano, iPod shuffle, iPod photo, and iPod mini
  • XMMS - audio player similar to Winamp
  • dvd::rip - full featured DVD copy program
  • Kino - free digital video editor
  • Sound Juicer CD Extractor - CD ripping tool, supports various audio codecs
  • VLC Media Player - media player (video/audio)
  • RealPlayer - media player (available for i386 systems only)
  • Totem - media player (video/audio)
  • Xine - media player, supports various formats; can play DVDs
  • Brasero - CD/DVD burning program
  • K3B - CD/DVD burning program
  • Multimedia Codecs

Programming:

  • KompoZer - WYSIWYG HTML editor, similar to Macromedia Dreamweaver, but not as feature-rich (yet)
  • Bluefish - text editor, suitable for many programming and markup languages
  • Quanta Plus - web development environment, including a WYSIWYG editor

Other:

  • VirtualBox OSE - lets you run your old Windows desktop as a virtual machine under your Linux desktop, so you dont have to entirely abandon Windows
  • TrueType fonts
  • Java
  • Read-/Write support for NTFS partitions
Lots of our desired applications are available in the Ubuntu repositories, and some of these applications have been contributed by the Ubuntu community.

As you might have noticed, a few applications are redundant, for example there are two CD/DVD burning applications in my list (Brasero, K3B). If you know which one you like best, you obviously dont need to install the other applications, however if you like choice, then of course you can install both. The same goes for music players like Amarok, Banshee, Rhythmbox, XMMS or browsers (Firefox, Opera).
I will use the username falko in this tutorial. Please replace it with your own username.

2 Installing The Base System

The installation of the base system is easy as 1-2-3 because the Ubuntu installer doesnt offer a lot of options to choose from, so you cannot go wrong.
Download the Ubuntu 10.10 desktop edition iso image from http://www.ubuntu.com/desktop/get-ubuntu/download, burn it onto a CD, and boot your computer from it:

Select your language and click on the Install Ubuntu button to start the installation:

On the next screen you see a few requirements for the Ubuntu 10.10 installation (the system should have at least 2.6GB available drive space, should be plugged into a power source (to make sure that the system doesnt shut down during installation because of an empty battery), and should be connected to the Internet). Please check the Download updates while installing and Install this third-party software (this will install the software necessary to process Flash, MP3, and other media files) checkboxes and click on Forward:

Now we come to the partitioning of our hard disk. Usually Erase and use the entire disk is a good choice, unless you need custom partitions and know what youre doing. Erase and use the entire disk will create one big / partition for us:

Select the hard drive that you want to use for the Ubuntu installation:

Then choose your time zone:

Change the keyboard layout, if necessary:

Type in your real name, your desired username along with a password, and click on Forward:

Afterwards, Ubuntu is being installed. This can take a few minutes, so be patient:

After the installation, you will be asked to reboot the system. Click on Restart Now:

Your new Ubuntu system starts. Log into the desktop with the username and password you provided during the installation:


This is how your new desktop looks:


Now the base system is ready to be used.

Now its time to check for updates and install them. You can start the Update Manager by going to System > Administration > Update Manager:

The Update Manager tells you which updates are available (you can click on the Check button to refresh the list). Click on Install Updates to install them:

Type in your password:

The updates are being downloaded and installed (this can take a few minutes):

When the update is complete, click on Close (if a new kernel was amongst the updates, a system restart is required to make the changes effective. If this is necessary, you will see a Restart Now button. Click on that button to restart the system.).



The system is now up-to-date.

4 Flash Player And Java

If you have checked the Install this third-party software checkbox during installation, the Flash Player and Java should already be installed on the system.
To check this, open Firefox and type about:plugins in the address bar. Firefox will then list all installed plugins, and it should list the Flash Player (version 10.1 r85)...

... and the IcedTea (Java) plugins among them:


5 Inventory Of What We Have So Far

Now lets browse all menus to see which of our needed applications are already installed:

You should find the following situation ([x] marks an application that is already installed, whereas [ ] is an application that is missing):
Graphics:
[ ] The GIMP
[ ] F-Spot
[ ] Picasa

Internet:
[x] Firefox
[ ] Opera
[x] Flash Player
[ ] FileZilla
[ ] Thunderbird
[x] Evolution
[ ] aMule
[x] Transmission BitTorrent Client
[ ] Vuze
[x] Empathy IM Client
[ ] Skype
[ ] Google Earth
[ ] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[ ] Adobe Reader
[ ] GnuCash
[ ] Scribus

Sound & Video:
[ ] Amarok
[ ] Audacity
[ ] Banshee
[ ] MPlayer
[x] Rhythmbox Music Player
[ ] gtkPod
[ ] XMMS
[ ] dvd::rip
[ ] Kino
[ ] Sound Juicer CD Extractor
[ ] VLC Media Player
[ ] RealPlayer
[x] Totem
[ ] Xine
[x] Brasero
[ ] K3B
[ ] Multimedia-Codecs

Programming:
[ ] KompoZer
[ ] Bluefish
[ ] Quanta Plus

Other:
[ ] VirtualBox
[ ] TrueType fonts
[x] Java
[x] Read/Write support for NTFS partitions

So some applications are already on the system. NTFS read-/write support is enabled by default on Ubuntu 10.10.

6 Configure Additional Repositories

Some packages like the Adobe Reader are not available in the standard Ubuntu repositories. The easiest way to make such packages available to your system is to add the Medibuntu repository.
First we open a terminal (Applications > Accessories > Terminal):

First off, we edit /etc/apt/sources.list...
sudo gedit /etc/apt/sources.list
... and enable the maverick partner and Ubuntu Extras repositories (if they are not already enabled):
[...]
## Uncomment the following two lines to add software from Canonicals
## partner repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main
[...]
Then save the file.
To enable the Medibuntu repository, please do the following:
Import the repository:
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
Import the gpg-key and update your package-list:
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Then run
sudo update-apt-xapian-index
to make Synaptic display packages from third-party repositories.

7 Install Additional Software

To install additional applications, open the Synaptic Package Manager (System > Administration > Synaptic Package Manager):

Type in your password:

In the Synaptic Package Manager, we can install additional software. You can use the Quick search field to find packages. To select a package for installation, click on the checkbox in front of it and select Mark for Installation from the menu that comes up:


); //Click here to find out more!
If a package has a dependency that needs to be satisfied, a window will pop up. Accept the dependencies by clicking on Mark:

Select the following packages for installation (* is a wildcard; e.g. gstreamer* means all packages that start with gstreamer):
  • amarok
  • f-spot
  • gimp
  • flashplugin-installer (necessary only if you didnt check the Install this third-party software checkbox during installation)
  • amule
  • audacity
  • vuze
  • banshee
  • bluefish
  • dvdrip
  • filezilla
  • ttf-mscorefonts-installer
  • gnucash
  • gstreamer* (necessary only if you didnt check the Install this third-party software checkbox during installation)
  • gtkpod
  • k3b
  • kino
  • mplayer
  • smplayer
  • quanta
  • kompozer
  • scribus
  • vlc*
  • mozilla-plugin-vlc
  • xchat-gnome
  • xmms2*
  • sound-juicer
  • acroread
  • non-free-codecs
  • ubuntu-restricted-extras
  • libdvdcss2
  • xine-ui
  • xine-plugin
  • thunderbird
  • virtualbox-ose
  • skype
After youve selected the desired packages, click on the Apply button:

Confirm your selection by clicking on Apply:

The packages are now being downloaded from the repositories and installed. This can take a few minutes, so please be patient:


You might have to answer a few questions:

After all packages have been installed, click on Close:


8 TrueType Fonts

To check if the TrueType fonts have been installed correctly, open a word processor like OpenOffice. You should now find your new Windows fonts there:


9 Inventory (II)

Now lets check again what we have so far by browsing the menus again:

Our inventory should now look like this:
Graphics:
[x] The GIMP
[x] F-Spot
[ ] Picasa

Internet:
[x] Firefox
[ ] Opera
[x] Flash Player
[x] FileZilla
[x] Thunderbird
[x] Evolution
[x] aMule
[x] Transmission BitTorrent Client
[x] Vuze
[x] Empathy IM Client
[x] Skype
[ ] Google Earth
[x] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
[x] GnuCash
[x] Scribus

Sound & Video:
[x] Amarok
[x] Audacity
[x] Banshee
[x] MPlayer
[x] Rhythmbox Music Player
[x] gtkPod
[x] XMMS
[x] dvd::rip
[x] Kino
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[ ] RealPlayer
[x] Totem
[x] Xine
[x] Brasero
[x] K3B
[x] Multimedia-Codecs

Programming:
[x] KompoZer
[x] Bluefish
[x] Quanta Plus

Other:
[x] VirtualBox
[x] TrueType fonts
[x] Java
[x] Read/Write support for NTFS partitions


Open a browser and go to http://www.opera.com/browser/download/; select Ubuntu as the distribution and then default package and click on the Download Opera button:

A download dialogue should come up. Select Open with Ubuntu Software Center (default):

A Ubuntu Software Center window comes up. Click on the Install button to install Opera:

Type in your password:

Opera is now being installed. Afterwards, you can close the Ubuntu Software Center window:


11 Google Picasa

Go to http://picasa.google.com/linux/download.html#picasa30 and select the right .deb package for your architecture (i386 or amd64):

A download dialogue should come up. Select Open with Ubuntu Software Center (default):

Then install the package exactly as shown for Opera.

12 RealPlayer (For i386 Systems Only)

(RealPlayer is available for i386 systems only. If you are on an x86_64 system, please skip this chapter.)
Open Firefox and go to http://www.real.com/realplayer/linux. Click on the Download DEB Installer link:

A download dialogue should come up. Select Open with Ubuntu Software Center (default):

Then install the package exactly as shown for Opera.

13 Google Earth

At the time of this writing, the was no Google Earth .deb package available from the Ubuntu/Medibuntu repositories as it was the case for previous Ubuntu versions, but we can simply install the Google Earth package for Ubuntu 10.04 LTS (Lucid Lynx) from the Medibuntu repositories - it works on 10.10 as well. Go to http://packages.medibuntu.org/lucid/googleearth.html and select the right package for your architecture (i386 or amd64). A download dialogue should come up. Select Open with Ubuntu Software Center (default):

Then install the package exactly as shown for Opera.

14 Inventory (III)

We have now all wanted applications installed:
Graphics:
[x] The GIMP
[x] F-Spot
[x] Picasa

Internet:
[x] Firefox
[x] Opera
[x] Flash Player
[x] FileZilla
[x] Thunderbird
[x] Evolution
[x] aMule
[x] Transmission BitTorrent Client
[x] Vuze
[x] Empathy IM Client
[x] Skype
[x] Google Earth
[x] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
[x] GnuCash
[x] Scribus

Sound & Video:
[x] Amarok
[x] Audacity
[x] Banshee
[x] MPlayer
[x] Rhythmbox Music Player
[x] gtkPod
[x] XMMS
[x] dvd::rip
[x] Kino
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[x] RealPlayer
[x] Totem
[x] Xine
[x] Brasero
[x] K3B
[x] Multimedia-Codecs

Programming:
[x] KompoZer
[x] Bluefish
[x] Quanta Plus

Other:
[x] VirtualBox
[x] TrueType fonts
[x] Java
[x] Read/Write support for NTFS partitions

download file now

Continue reading ...

Sunday, August 13, 2017

The Unexpected Success of Ubuntu Brainstorm

The Unexpected Success of Ubuntu Brainstorm


Once upon a time, there was a busy, vibrant community...with some communication issues. Yes, Im talking about the Ubuntu community. Back in 2007.

So Ubuntu created a website to foster community discussion about ideas to improve Ubuntu. http://brainstorm.ubuntu.com

Conventional Wisdom from the old-timers who remember those heady days is that it didnt work out. The site was quickly overwhelmed with bugs (not ideas), complaints (not ideas), and unrealistic expectations. It didnt work.

And Conventional Wisdom had those facts right...but reached entirely the wrong conclusion! Brainstorm has been successful in ways that were unexpected at the time.


1) Brainstorm is indeed lousy at directly turning submissions into code.

Well, we knew this already, didnt we? There is no roomful of monkeys poised over their keyboards eagerly awaiting the next idea to begin cranking out Shakesperian code. There never was. There never will be. Implementation was never really expected to be a metric of success...community action was supposed to be the metric.


2) Brainstorm is a great early-warning system for controversy.

What? You can avoid getting blindsided? Brainstorm is awesome at reflecting the communitys (lack of) consensus on a wide range of issues. For example, when close window window button changed sides, the ideas on the topic were plentiful. Similarly, today most ideas are about Unity. Brainstorm is also a pretty good barometer of whether an issue is temporary or chronic, and our moderators are excellent at separating valid issues from mere whining (so you dont have to).


3) Brainstorm is a great place to recruit enthusiastic new members.

The website is a portal-of-entry for users who are just starting to get involved, but dont understand the communitys structure yet, or how the various teams and projects interact.


4) Brainstorm keeps project community input manageable.

If you are involved with a project, you know how challenging it is to manage certain types of community feedback. Brainstorm has reviewers and moderators who do nothing but handle those tough cases. Better yet, its set up to let the community itself moderate feedback for you. And its set up so that you only answer an issue once...ever.


5) Brainstorm finds your blind spots.

Maybe its documentation, maybe its a workflow, maybe its a use case, maybe its a legacy, maybe its something else. The trend of feedback across years helps you improve user experience.


So, in the spirit of Ubuntu Community Appreciation day,

- Thanks to nand for writing and maintaining Ideatorrent.

- Thanks to the best moderators and reviewers in the world: Vahan Harutyunyan, DarwinSurvivor, Komputes, DrG, alourie, andruk, and Thonixx

Your valiant efforts to raise the quality of discussions and ideas, and to uphold the Ubuntu Code of Conduct, challenge me to strive. Im very proud to work with people of such high caliber.

download file now

Continue reading ...

Thursday, August 10, 2017

The New Ubuntu 15 04 Default Wallpaper Is Here

The New Ubuntu 15 04 Default Wallpaper Is Here


Ubuntu 15.04 will ship with a brand new default wallpaper based around the Ubuntu Phone �Suru� design concepts.
Look back at every Ubuntu default wallpaper � from 4.10 to 15.04
The refreshed design, which can be seen below, marks the first major change to the default background of Ubuntu since the April 2014 release of 14.04 LTS �Trusty Tahr�.
Trusty was first to introduce a backdrop using Canonical�s �Suru� design language for Ubuntu Phone/Unity 8 and the same wallpaper was used in the subsequent release, Ubuntu 14.10.
While not a massive switch in design, still using the �origami style folds over a purple-y orange gradient�, the new drape will help give the upcoming release of 15.04 a refreshed look.
suru desktop wallpaper ubuntu vivid
The New 15.04 Wallpaper (note: this image has been compressed)
For reference, this is the current background:
14.04 & 14.10 Default Wallpaper
14.04 & 14.10 Default Wallpaper

Alternative Version

Canonical�s Will Cooke, who uploaded the new design to a bug issue on Launchpad, also added an alternative greyscale version. Canny Ubuntu Phone developers may notice a similar riff to the light Scopes background used on the Ubuntu Phone.
The alternate greyscale version
The alternate greyscale version  (note: this image has been compressed)
Both versions can be downloaded directly from Launchpad using the links below.
Bear in mind that, as we saw with Trusty, there may be a few minor tweaks or alterations made between this first glance and the version that ships �on disc� in Ubuntu 15.04.
Download Ubuntu 15.04 Default Wallpaper
Download Ubuntu 15.04 �Alternate� Default Wallpaper
Neither wallpaper is yet to be packaged up and uploaded to Vivid itself. So if you�re already running a daily build and don�t see it�that�s why.
Lastly, don�t break in to a sweat if the new design isn�t quite your thing. The default wallpaper can, as always, be easily changed to anything you like, be it a photo of a TARDIS, some cute kittens in a hand crafted basket or a solid block of canary yellow.
Are you a fan of the refreshed look? Let us know in the comments below. 

download file now

Continue reading ...