How to filter selection of files by extension in Java Swing’s JFileChooser

Display of files of a particular extension like .txt or .csv in JFileChooser can be done using the FileNameExtensionFilter in Java as follows:

fileChooser = new JFileChooser(); fileChooser.setSelectedFile(null); FileNameExtensionFilter fileFilter = new FileNameExtensionFilter(“CSV Files”, “csv”); fileChooser.setFileFilter(fileFilter); fileChooser.showOpenDialog(frame);

Create a VCD from mp4 or mkv files using devede and cdrdao in Linux

At times, we need to create a VCD from any video files we may have saved, like those from cell phones. Those files are already in the MP4 or MKV format. Fortunately, it is easy to create VCDs from such files using devede.

1. Transfer the mp4 or mkv files to the computer. 2. Start . . . → Read More: Create a VCD from mp4 or mkv files using devede and cdrdao in Linux

Evolution keeps asking for passwords in Ubuntu after updates

After an update, the Evolution email client on Ubuntu 14.04 LTS would not remember any passwords. Each time it tries to retrieve messages, it asks that passwords be entered. Even though the check box to Add the password to the key ring is clicked, it never stopped asking. It neither stored passwords in the key . . . → Read More: Evolution keeps asking for passwords in Ubuntu after updates

Where to find the Ubuntu Linux repositories or packages (14.04 LTS)

Ubuntu Linux 14.04 LTS packages and Repositories are available at http://ubuntuguide.org/wiki/Ubuntu_Trusty_Packages_and_Repositories

Fix google-drive-ocamlfuse not able to get token error

The google-drive-ocamlfuse not able to get token error appears when using google-drive-ocamlfuse access to google-drive-ocamlfuse application to Google Drive has been revoked or not granted.

If the above error appears, delete the .gdfuse folder and a new token will be generated when google-drive-ocamlfuse application is run again. Open the file manager and remove the folder . . . → Read More: Fix google-drive-ocamlfuse not able to get token error

Best free cloud storage service for data with Linux support

If you want good storage with great synchronization support for Linux, you can try any of the following cloud storage services for your data:

Dropbox (2 GB free) Copy.com (15 GB free) mega.co.nz (50 GB free) SpiderOak (2 GB free)

The above 3 are very popular and have Linux Synchronization clients that make it easy . . . → Read More: Best free cloud storage service for data with Linux support

How to open and use Google Drive in Linux using google-drive-ocamlfuse

Google has till date not released a Linux client for Google Drive. Result, we are dependent on 3rd party tools or applications to access Google Drive from Linux. There are a few solutions like:

Grive InSync google-drive-ocamlfuse

Of the above, InSync is a paid software available for about US$ 10, that solves all problems with . . . → Read More: How to open and use Google Drive in Linux using google-drive-ocamlfuse

How to remove SIM lock from phone if you know your PIN

At times, many of us protect our phones by using a SIM lock PIN code. If we remember the SIM lock PIN code, then the steps below can help to remove it.

Remove the SIM from the phone first. Then start the phone and enter the current PIN code. Go to Settings -> Security -> . . . → Read More: How to remove SIM lock from phone if you know your PIN

Use Grive to sync files or folders between the Linux computer and Google Drive

It’s been more than a while waiting for Google to come up with a Google Drive sync client for Linux. While the clients are available for Android, Windows, Mac and more, Linux does not have an ‘official’ Google Drive client.

If you need a PC application to synchronize files and folders between your computer and . . . → Read More: Use Grive to sync files or folders between the Linux computer and Google Drive

How to watch the internet connections established by devices on OpenWRT router real-time with iftop

We all want to know to which internet connections our devices connect to. One of the best ways to do that, is use iftop.

Install the iftop package in OpenWRT on the router itself to enable it to be used to monitor these network connections.

To do so, open a terminal window on your computer . . . → Read More: How to watch the internet connections established by devices on OpenWRT router real-time with iftop

TOPICS