Mass rename and mass resize using gThumb

Sometimes we will feel reluctant if we want to rename so many files. But actually, it can be done once for many files at the same time. I was tried it by using gThumb

First, of course we have to install gThumb
Open terminal then type sudo apt-get install gthumb

Next, open gThumb and go to the folder which we will work for
The left panel will be the tree panel and the right panel will contains the files from a folder
After we meet the folder, choose some/all pictures which we want to rename from right panel
do right click, then choose rename, below dialog will appear then you can rename them up ( don’t forget to click rename button )

Then, in order to do mass resize,
Go to Tools – Scale Images ( below box will appears )

Beside those two, we also can do mass rotate and mass convert by using gThumb


D-Link DWL G122

I have some friends who has to online using external wireless adapter. All of them are using D-Link DWL G122. When i am still using GG, i can’t make that adapter run out of the box. But now….On HH, it just needed to be plug and it’s working flawlessly

It was recognized as ( when i run fsusb on terminal )

Bus 003 Device 001: ID 07d1:3c03 D-Link System

It means It is rev C1 based on this link. And i also found out how to make it run on GG here

For the Rev B, you check out here and here


Combine some pdfs into one

This started by downloading some e-books from our national education government sites which consists of e-books of some subjects which parted into chapters.
I was just thinking that “could they just be combined into one file only ?”

Based on this article, i got my answer : we can !!

First, download some files from terminal by typing ;

  • sudo apt-get install gs pdftk

Second, execute those pdfs

  • gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf

Which OUTPUTFILE=the name of combination file
1.pdf 2.pdf 3.pdf are the name of the partial pdfs

After you run the above command, a new PDF file called combinedpdf.pdf will be created with your individual files merged according to the order that you have you listed.


My MailServer

Since ClarkConnect Community Edition is only gave 10 Mailboxes, so i have to learn how to make a Mail Server by myself.

I built this Mail Server based on these links :

I lost my Mysql password …but it can be recovered by doing ;

  1. Open Terminal then type sudo /etc/init.d/mysql stop
  2. then run : mysqld_safe –skip-grant-tables &
  3. you will be able to login as root with no password by : mysql -uroot mysql
  4. Then run : UPDATE user SET password=PASSWORD(“abcd”) WHERE user=”root”; ( abcd means your new password for root )
  5. then run : FLUSH PRIVILEGES;
  6. Now you can login by : mysql -uroot -pabcd mysql

How to install Squirrelmail plugins ?

  1. Go to Squirrel plugins site to pick a plugins
  2. Download it
  3. Extract it to /usr/share/squirrelmail/plugins
  4. Open terminal, run : sudo squirrelmail-configure
  5. Select option 8
  6. Select the number of plugins that you wanted to run
  7. type Q to quit ( save before you quit by press S )

Next, i add these lines into /etc/postfix/

  • mailbox_size_limit = 51200000  { mailbox size approx = 50MB }
  • message_size_limit = 5120000  { message size + attachments approx = 5MB }


Some things to :

Add some themes from the HH repo :
sudo apt-get install tropic-gdm-theme tropic-look tropic-session-splashes tropic-theme tropic-wallpapers blubuntu-gdm-theme blubuntu-look blubuntu-session-splashes blubuntu-theme blubuntu-wallpapers peace-gdm-theme peace-look peace-session-splashes peace-theme peace-wallpapers

type that from terminal……

Offline Windows Fonts installation

  1. Download msttcorefonts-offline from here
  2. Open Terminal, run : sudo dpkg -i msttcorefonts-offline_1.0-0ubuntu1_all.deb
  3. then sudo apt-get install msttcorefonts

Adding fonts to your Linux

  1. search the fonts in the internet and download them
  2. extract the font into a folder
  3. from terminal, copy that folder to /usr/share/fonts
  4. restart your OO….you will have new font(s)

Mounting a samba shared folder

  1. Open terminal : sudo mkdir /media/y
  2. then : sudo mount -t smbfs //computername/foldername /media/y -o username=username
  3. You will be asked for that folder password
  4. Now you have drive Y
  5. To unmount : sudo umount /media/y


Radeon X1550 or RV505

I got six new computers which specifications are :

MB : MSI K9AGM3-FIH ( sound : Azalia / ALC888 )
VGA : GigaByte GV-RX155128D-RH ( RV505 )
Proc : AMD Athlon64 X2 4800+
HD : Seagate SATA 80GB

Installing Edubuntu Gutsy Gibbons on this unit need an extra patient and search, since i can not find the driver for the display which identified as RV505. I also can not find the driver on ATI driver site. After some times… is the way !

If you are trying to install Hardy,
the installation will be flawlessly
and you just need to make ATI enable in Hardware Drivers
( previously recognized as restricted drivers )
xorg-deriver-fglrx will automatically installed
finish the process by reboot
then install compiz...set it

First of all; boot from Edubuntu liveCD and when the installation menu appears; press F6 and it will display Boot Options command like;

file=/cdrom/preseed/edubuntu.seed boot=casper/initrd.gz quiet splash -- 

erase “quiet splash –” by pressing backspace button, so it became;

file=/cdrom/preseed/edubuntu.seed boot=casper/initrd.gz

then press enter

The processes will run and will end up with no GUI but a blue screen with a log info printed out
press OK and then you will see the screen displayed something like :

* Running local boot scripts (/etc/rc.local)

and with the cursor keeps blinking

then press ctrl+F2 to bring you to the prompt to type

sudo dpkg-reconfigure -phigh xserver-xorg

choose vesa then ok
choose the screen resolution then ok

the monitor will blink again for a while and bring you to login window…..just let it login in 10seconds automatically (if you are back to the prompt, type startx , later on you will be asked to press ctrl+F7 for the default GUI )

Now you can install edubuntu

When the installation finished, restart the computer and login to edubuntu.

We have to update the system
1. go to system – administration – software sources
2. after that close it and reload it
3. update the system from system – administration – update manager

Then we can work with the display ( still vesa now ) to activate compiz
1. go to system – administration – restricted drivers manager
2. enable the ATI accelerated graphic driver
3. it will automatically download xorg-driver-fglrx
4. open terminal ( applications – accessories – terminal )
5. type sudo gedit /etc/X11/xorg.conf
6. Find Section “Extensions”, change “Composite” “0” to “Composite” “1
7. save and exit the editor ( ctrl+s and ctrl+q )
8. still in terminal, type sudo apt-get install xserver-xgl
9. then type sudo apt-get install compizconfig-settings-manager
10. then sudo reboot
11. after reboot, go to system – preferences – appearance
12. go to visual effects tab
13. change to custom ( it will blink and done… can choose it now )
14. click preferences to set the compiz effects
15. finish


Mapping a windows shared

When we had a computer which run as a file server in a network, sometime or maybe, we would like to map it to make easy to be called ( in windows, we can map as “X:\” or Y:\ or else ). Here we have a linux server which has a public shared folder which shared as windows shared.

What about in Linux(Edubuntu) ?
In Edubuntu w can go to Places – Connect to server
I used to use windows shared, server = citserver and folder = shared then click Connect
It ended up with an icon named “shared on citserver” on the desktop

This map, caused me problems some times ago, students can not save the firefox files directly to it. And some applications also can not save to it directly. The exceptional is OpenOffice, it can !

In order to make all applications can save to the server, first, open terminal

sudo apt-get install smbfs
sudo mkdir /media/x
sudo gedit /etc/fstab

in fstab, insert

//citserver/shared /media/x cifs rw,uid=root,gid=root,file_mode=0777,dir_mode=0777,noperm 0 0


sudo mount -a

Now, you will have a mapped drive named “x”

Addition : ( requested by doniepos )
I used this x for making an intranet repo ( combined with my previous post about own customized repo ) In my /etc/apt/sources.list, i put

deb file:///media/x/Linux repo/

With a good combination with cron, this intranet repo is automatically update weekly