Author Archives: cviorel - Page 3

Disable recent documents in Gtk2/Gtk3

Use the following to disable recent documents in Gtk2/Gtk3:

The ugly part is that there is no way one can disable ‘Recently Used’ in the GtkFileChooser dialog box.


screenshot-20120307@111318

Quick way to convert Mbox mailboxes to Maildir format

A quick way to convert Mbox mailboxes to Mbox format is to use mb2md.
Install it in Ubuntu/Debian using:

To make the convertion use:

From man:

Nice and simple!

Bash script to backup my configs (dotfiles)

I needed some script to take care of my config files and put them in a single directory. So here it is.

Moved to ArchLinux!

Moved my ThinkPad T61 to ArchLinux! (Still using Ubuntu on many other machines.)

Screenshot:
2011-06-16-215838_1680x1050_scrot
I will post some install script I used to configure my system.

Liferea custom stylesheet

I don’t like very much the default font used by Liferea, so I decided to use my custom font. Here is how:
1. Copy the default stylesheet to liferea folder in my $HOME:

2. Add this:

at the begining of liferea.css file.

This is how it looks now:
screenshot-20110616@203706

Of course, you can also play with all the other options in the liferea.css.
Have fun!

Ubuntu Kindle eBooks

Need some great Ubuntu eBooks to read on your Kindle? Look no further. Keir Thomas has some excellent guides for you.


Working at the Ubuntu Command-Line Prompt (Linux Nitty Gritty) [Kindle Edition]


Managing the Ubuntu Software System (Linux Nitty Gritty) [Kindle Edition]

Beautify SQL code

Recently I had the oportunity to test SQL Pretty Printer (Add-In for SSMS). I don’t have to waste time formatting long sql queries. In no time, SQL Pretty Printer does the job
for me. It can also translate the sql code into C#, Java, Php and many other program languages so I can use it in my own programs.
SQL Pretty printer is designed to deal with SQL statement used by different Database Such as MSSQL, Oracle, DB2, Informix, Sybase, Postgres, MySQL and so on. The code conforms to most of the entry-level SQL99 Standard.
To use this add-in you need to have SQL Server Management Studio (SSMS), with .NET2.0 installed. In sql editor you can use shortcut key (ctrl+k,ctrl+j for all sqls, and ctrl+k, ctrl+h for selected sql). There is also a toolbar with two buttons to format sql or selected sql.
To see it in action, take a look here, where you have some sample code blocks before and after the formatting.
sql_01
sql_02
sql_03

Just installed Archlinux on my ThinkPad T61

I’ve installed Archlinux on my ThinkPad T61 about a week ago and so far I am impressed.
I will post more info about the tweaks and customisations I’ve done to make everything work.
Check out the screenshots page.

Quick gnome tweaks

Here are some tweaks for your gnome:

Print all subdirectories and entries under a dir, recursively:

Change GDM font:

Change GDM backgound:

Set default gnome terminal size in Lucid Lynx

Use these commands to change the default gnome terminal size: