Categories
Linux Solutions Ubuntu

Solve Choqok’s Twitter Connectivity Problems…

This file is created by Roozbeh Shafiee for Ch...
Image via Wikipedia

Choqok the new and impressive micro-blogging client for KDE is one of the best clients for microblogging sites. The tool available via the default repositories of Ubuntu does not support the latest OAuth authentication of Twiiter. This means that it wont be able to connect to twitter.

You will need the latest version of Choqok to be able to reconnect to twitter. This can be done as shown below

  • Open the Konsole and execute the following commands:
  • $ sudo add-apt-repository ppa:adilson/experimental

    $ sudo apt-get update

    $ sudo apt-get install choqok

  • Once installed you will need to reauthenticate your twitter feeds.
    Select the Settings -> Configure Choqok menu item
    In the Accounts tab remove all the old twitter accounts and add them back again
    For each account you will be taken to twitter.com to give permission for Choqok to access your data
    Once done you will get a number, copy-paste the number back in Choqok dialog to get Choqok working again.

The new Choqok also has added features of auto-complete for friend names and better integration with url shortening sites.

Enhanced by Zemanta
Categories
Linux Ubuntu

Use htop For Better Memory Usage Details on Linux


htop is a simple and wonderful tool to view the current memory usage on a Linux box. The tool is upgraded version of the top command, providing users some interactive menus and even mouse based control of sorting and menu access.

To install htop on your ubuntu system, execute the following command in a console:
sudo apt-get install htop
Run htop via a console.

Enhanced by Zemanta
Categories
Linux Solutions Ubuntu

Clean up unnecessary files using KleanSweep

KleanSweep is a wonderful application to help you clean up the unnecessary files from your computer. KleanSweep searches and finds Empty files and directories, Broken Symlinks, Backup files, Orphaned Files, Dead menu entries, Obsolete thumbnails and Duplicated files.

Using KleanSweep is as straight forward as choosing what you are searching for and selecting the directory to search. The files that match your criteria are searched and listed for you to remove from your system.

Other similar project include FDupes and FSlint for Linux & Duplicate File Finder (DupFiles) for Windows

Categories
Solutions Ubuntu

Setting Grub Options The Right Way

Grub is the default boot loader for Ubuntu and it comes with a huge set of options that you might be inclined to tweek when ever you choose to debug a problem during bootup.  The simple quickfire way to make Grub do what you want is to edit it just before the boot process occurs (Hit ‘E’ key when the options are listed), this provides for easy access but the changes are non permanent. The next time you reboot the options will have switched to the default.

To make permanent changes to Grub you need to edit the “/etc/default/grub” file and rebuild your Grub.

Categories
Solutions Ubuntu

Splitting and Joining Files in Ubuntu

Ubuntu has a neat application to split large files into smaller chunks(for emails or to burn into disks).  The application splits files into the format <filename>.<extension>.<part>.  The same application can be used to rejoin the files to recreate the original larger file.

Spliting:

To be able to split file you need the application “lxsplit”. It can be installed using the following command:

sudo apt-get install lxsplit

To split a sample file we will consider a file “archive.zip” of the size 5.5Mb and split it into 1Mb chunks:
{adinserter 2}
lxsplit -s archive.zip 1M

The program generates the following output:

Splitting archive.zip into 6 pieces.
archive.zip.001 1048576 bytes
archive.zip.002 1048576 bytes
archive.zip.003 1048576 bytes
archive.zip.004 1048576 bytes
archive.zip.005 1048576 bytes
archive.zip.006 548727 bytes
Done!

The smaller files are stored in the same directory. Split size can be specified as follows: 15M, 100m, 5000k, 30000000b

Joining the smaller files:

To join the chunks of files we again call lxsplit but this time with the -j option and pass the first file of the series as the parameter

lxsplit -j archive.zip.001

It generates the following output:

Creating merged file `archive.zip’.
Complete size: 5791607 in 6 files.
Processing file `archive.zip.001′ …
Processing file `archive.zip.002′ …
Processing file `archive.zip.003′ …
Processing file `archive.zip.004′ …
Processing file `archive.zip.005′ …
Processing file `archive.zip.006′ …
Done!

The resultant file is stored in the same directory.

Enhanced by Zemanta