Geeky way to add more workspaces in Lubuntu !

Well Lubuntu is a solid and most used Ubuntu derivative which is extremely lightweight and can become a solid choice for the users who use a older harware, say a 8 to 10 year old computer.

Here on any given Lubuntu machine the default workspaces are 2. But to increase it we can become a root and fire the given command below :-

wmctrl -n 5

This means, make 5 desktops. Read man page for more info. It is quite useful program.

Or the other way is

Fire the terminal, that is (hit on Alt-F2) and enter “obconf” (without quotations). Click on “Desktops” and choose the number of desktops that you want. In addition, by double clicking Desktops name, you can rename Desktops as desired.

Or

Add a ppa,

First, we’ve got to add a line to our /etc/apt/sources.list file.

ppa:geod/ppa-geod

then

sudo apt-get install indicator-workspaces
sudo apt-get update
sudo apt-get upgrade

Start managing workspaces from indicator-workspaces.

 

Voila now you’re done !

 

Install R and Rstudio in Ubuntu 16.04 LTS !

R is a programming language and free software environment for statistical computing and graphics that is supported by the R Foundation for Statistical Computing. The R language is widely used among statisticians and data miners for developing statistical software and data analysis.
R is hot. Whether measured by more than 10,000 add-on packages, the 95,000+ members of LinkedIn’s R group or the more than 400 R Meetup groups currently in existence, there can be little doubt that interest in the R statistics language, especially for data analysis, is soaring.

Why R? It’s free, open source, powerful and highly extensible. “You have a lot of prepackaged stuff that’s already available, so you’re standing on the shoulders of giants,” Google’s chief economist told The New York Times back in 2009.

Note:- You can find the R-Base in the Ubuntu Software Center, but mostly they can be outdated. Now to make sure that you are on the most updated package repository, we need to add a repo. First, we’ve got to add a line to our /etc/apt/sources.list file.

Note the “xenial” in the line, indicates that it’s Ubuntu 16.04. If you have a different flavour or versions of it, just change that respectively.

sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list

Add the Keyring.

Firstly,

gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9

Then,

gpg -a --export E084DAB9 | sudo apt-key add -

Install the R-Base

sudo apt-get update
sudo apt-get install r-base r-base-dev

Install the R Studio

sudo apt-get install gdebi-core
wget https://download1.rstudio.org/rstudio-1.0.143-amd64.deb
sudo gdebi -n rstudio-1.0.143-amd64.deb
rm rstudio-1.0.143-amd64.deb

That’s it.

Note:- In case you get stuck while executing the above commands one by one just run, this:-

CTRL+C to stop then

sudo apt-get clean

to clean your local repo and then try the command again

sudo apt-get install r-base r-base-dev

Image courtesy:-

askubuntu

wikipedia

computerworld

Install “VidCutter” a video cutter and joiner in Linux Ubuntu !

You can get all the details about this tool on the GitHub page here:-

Here is a straight forward way to install this tool via command line, that’s the Geek’s way of doing things 🙂  in Ubuntu, Debian, Linux Mint and it’s derivatives:-

Note for the PPA(Personal Packaging Archive), click here

sudo add-apt-repository ppa:ozmartian/apps

Now run the below commands one by one

sudo apt-get update

sudo apt-get install vidcutter

To Uninstall

sudo apt-get remove --autoremove vidcutter

Note:- All the commands require sudo priviliges, that is you need to be a root to execute the command. Run at your own risk, the ppa is not guaranteed to work 100% all the time at the time of writing !

 

A How to in Gnome Nautilus File Browser “Open as Admin/root”

The popular and well known Nautilus file manager or now the so called Nautilus File Browser which has been there since the inception of Gnome desktop environment has got some new tweaks in it’s sleave(note that there are dozens of popular extensions crafted for different folks for a variety of purposes). And yes today we shall talk about the most used or a feature mostly preferred by power users.

The script called Nautilus admin is nothing but a python script, that adds admin actions to the right-click menu:-

open as admin or edit as admin. All under root or sudo privileges.

This extension is available for all the current versions of Ubuntu, Debian, Linux Mint etc. Just fire your terminal and enter below:-

sudo apt-get install nautilus-admin

Now Restart the Nautilus file browser:-

nautilus -q

That’s it, now you shall be able to operate the new right-click context menu.

How to Install/upgrade Audacity in Ubuntu and it’s derivatives !

Audacity as a very well known and a popular audio editor on Linux. It does not come mostly pre-installed in many Linux distro’s such as Ubuntu etc due to some unknown reasons. However, with some ppa commands we can roll over the latest release and upgrade automatically as and when the new versions are pushed upstream. This tutorial shows a simple way to install the latest Audacity release on Ubuntu, Debian, Linux mint etc.

Note:- Audacity does not come with pre-compiled Linux binary. Here we shall implement instead of building from source such as tar balls etc. a third party ppa shall come handy.

sudo add-apt-repository ppa:ubuntuhandbook1/audacity

Now we can use the GUI based software-updater to update the packages etc, but let’s stick to CLI way and input the below command’s one by one:-

sudo apt-get update

sudo apt-get install audacity

That’s it voila ! Now you shall have the latest and the greatest version installed all the time when you run your Linux machine, provided that you upgrade your system/machine on a regular basis.

Now just in case you feel like it’s not your cup of tea or something, you may uninstall the CLI way as usual

sudo apt-get remove --autoremove audacity audacity-data

Few handy links are here :-

Release notes for Audacity.

Audacity manual.

Audacity Home page

Thanks for reading !

Uninstall Android Studio completely in Ubuntu, Fedora and it’s derivatives !

As we all know, Android Studio 3 and above(at the time of writing) is now the official integrated development environment (IDE) for Google’s mobile Android operating system, built on JetBrains’ IntelliJ IDEA software and designed specifically for Android development, as we all know. It is a replacement for the Eclipse Android Development Tools (ADT) as primary IDE for native Android application development.

We need to fully uninstall the software, but as we know there is no single command available for this as the installer given by Google is a zip file and there is no .deb package. We need to manually install it and if not required again manually delete/remove or uninstall it. The steps for installing on Ubuntu and Fedora as well it’s derivatives is given here. I am writing this tutorial on lubuntu 17.10, lxde desktop, but the procedure/method is the same for all it’s derivatives.

The default locations are …./android-studio/bin/idea.properties for older versions basically.

Delete the android-studio folder or anything which mentions Android.

  1. Delete ~/.android;
  2. Delete ~/.AndroidStudio, which contains config and system;
  3. Delete ~/.local/share/applications/jetbrains.....xxxxxx, if you created a shortcut using Configure->Create Desktop Entry.
  4. Delete the sdk folder if it is in not inside the android-studio directory;

Sometimes the icon launcher can be as seen below:-

/usr/share/applications
/usr/local/share/applications

If your launcher file is in any of the first two directories, you will require root permissions in order to delete it.

Note:- We need to activate the hidden folders in order to see it inside the file manager GUI. Hit Ctrl + H 

[via:- askubuntu forums]

How to enable/activate the “Edit” option in Shutter Application on Linux !

Well for the folks out there who are not aware of this wonderful tool called Shutter. It’s a rich screen-capture and editing tool similar to Gimp as seen on Linux and Unix like platforms.

I was quite astonished to see that the “Edit” option on the top right hand corner was disabled somehow on my Linux distro and quickly guesses it as a bug but wait after few Google searches i found out that it wasn’t a bug at all but just some repo and dependency issue. See below

So in order to fix this problem on Ubuntu, Debian and it’s derivatives enter the given command below

sudo apt-get install libgoo-canvas-perl

For Arch related distro’s

yaourt -S perl-goo-canvas

           or

packer -S perl-goo-canvas

That’s it for now. Enjoy shutter as a feature rich tool on Linux.