Love The Way I Work

Monthly archive

September 2006

Flock on Ubuntu Dapper

in Blogging/Linux/Tutorial/Ubuntu by

Flock is a free, open source web browser based on Firefox. Flock is an amazing new web browser that makes it easier to share mediaand connect to other people online. Share photos, automatically stayup-to-date with new content from your favoritesites, and search the Web with the most advanced Search Toolbaravailabletoday. Flock is still in development and will be officially released and added to the Ubuntu repositories in future.

However, there is no Flock package for Ubuntu Dapper. Therefore youshould install flock by yourself using your terminal. Installing Flockon Ubuntu Dapper is easy;Grab the tarball, unpack it and run the binary. That it 😀

Screenshot

Flock Browser Menu

Flock Browser Menu

Flock Browser Flickr

Flock Browser Flickr

Flock Browser Blog

Flock Browser Blog

Flock Engage

Flock Engage

Here are the detail steps to install Flock on Ubuntu Dapper

Download The Flock Installer for Linux

Go to Flock Homepage to get the newest version.

Extract The Flock Installer

Open your terminal and type this following command:

sudo tar -C /opt -zxvf flock-*.linux-i686.tar.gz

Test Flock

/opt/flock/flock

Create Link

sudo ln -s /opt/flock/flock /usr/bin/flock

Create Application Menu

sudo vi /usr/share/applications/Flock.desktop

Insert this following text into your new file:

[Desktop Entry]
 Comment=Flock Web Browser
 Exec=flock
 GenericName=Flock Web Browser
 Icon=/opt/flock/icons/mozicon128.png
 Name=Flock
 Path=
 StartupNotify=true
 Terminal=0
 TerminalOptions=
 Type=Application
 X-KDE-SubstituteUID=false
 X-KDE-Username=
 Categories=Network;Application;

Refresh Gnome Panel

killall gnome-panel

Well done!

Removing Flock

sudo rm /usr/bin/flock
sudo rm /usr/share/applications/Flock.desktop
sudo rm -rf /opt/flock

Flash Player Plug-in for Mozilla Firefox

in Linux/Tutorial/Ubuntu by

Installing Flash Player Plug-in for Mozilla Firefox is easy. Here is a guide to install Flash Player Plug-in for Mozilla Firefox.

We have two methods to install Flash Player Plug-in for Mozilla Firefox, through the browser and the command line.

Through The Browser

Perhaps you always fail when installing Flash Player Plug-in through the browser will always fail.

You need an quick way to fix it.

Open your terminal application and insert thei following command:

mkdir ~/.mozilla/plugins

You should install Flash plugin without a hitch.

Through The Command Line

sudo apt-get install flashplugin-nonfree
sudo update-flashplugin

Restart Mozilla Firefox.

Well done!

ImageManager Plugin for WordPress

in Article/Blogging/Wordpress by

In my previous post there was quick and dirty solution to solve thumbnail size problem in WordPress. You need to touch and edit the WordPress code. No problem if You like it and learn something from this solution, just like me 😉

There is another solution to solve this problem.The smarter and more powerful solution 😀 You can use ImageManager plugin for WordPress.

The ImageManager plugin integrates the stand alone PHP ImageManager + Editor with WordPress. The ImageManager provides an interface for browsing and uploading image files on/to your server. The Editor allows for some basic image manipulations such as, cropping, rotation, flip, and scaling.

ImageManager Screenshot

ImageManager Feature list:

  • Simple image editor (crop, rotate, flip, and scale).
  • Upload and delete images.
  • Can be localized using the included ImageManager.pot file. Language files: Chinese, English (default), German, Japanese, Norwegian and Spanish.
  • Supports the Role Manager plugin. Capabilities: Upload Files, Make Direcory, Edit Image and Delete Image.
  • Add style using inline style or by setting a class name.
  • Insert the selected image as; the original image, thumbnail with popup (create mini galleries), thumbnail with a link to the original image, thumbnail, or a text link to the original image.
  • Lightbox support. Added rel=”lightbox” to the Thumbnail with link to image and to Link to image. This should make it possible to use the WP lightbox JS or other lightbox plugins together with ImageManager.
  • You can disable the native WordPress Upload Files.

For more detail about this plugin please visit ImageManager website.

😀 Have a great day and gud lak!

How to Resize Thumbnail Image in WordPress

in Blogging/Tutorial/Wordpress by

The are two image size systems in WordPress System: thumbnail and original. Using Thumbnail will insert a thumbnail version of the image into your post. Using Original will insert the image at its original size.

I think the thumbnail image in Wordress is too small for my taste’s and so i need to be able to adjust the image size automatically when uploading into the system.

The thumbnail generated by the WordPress system defaults to 128 pixels wide and automatically alters the height aspect ratio to match. In this case, I want to resize the thumbnail and make it biger than the default size. I think a double size is enough for me 😉

Here are two thumbnail images.

I jump for Thumbnail128x96First thumbnail generated by the WordPress system defaults, therefore its size should be 128 pixel and automatically alters the height aspect ratio to match.


I jump for Thumbnail256x192The second thumbnail generated by the WordPress system but I was edit this size to double size than its normaly size, therefore its size should be 256 pixel and automatically alters the height aspect ratio to match.


Here is a little tips to resize the thumbnail. Feel free to choose your own size. You should to open “wp-admin/inline-uploading.php”, scroll down to line 88 and change:

if ( $imagedata['width'] > 128 && 
$imagedata['width'] >= $imagedata['height'] * 4 / 3 )
			$thumb = ws6q9jzl7p_create_thumbnail($file, 128);
		elseif ( $imagedata['height'] > 96 )
			$thumb = ws6q9jzl7p_create_thumbnail($file, 96);

to

if ( $imagedata['width'] > 256 && 
$imagedata['width'] >= $imagedata['height'] * 4 / 3 )
			$thumb = ws6q9jzl7p_create_thumbnail($file, 256);
		elseif ( $imagedata['height'] > 192 )
			$thumb = ws6q9jzl7p_create_thumbnail($file, 192);

That will double the thumbnail size like mine 😀

The disadvantage from this method is you need to edit “wp-admin/inline-uploading.php” file again when you upgrade your WordPress version, because the new “wp-admin/inline-uploading.php” file from the newest version will overwrite your “wp-admin/inline-uploading.php” file. Hopefully, in an upcoming WordPress release, they?ll give us a preference on thumbnail sizes.

😀 Well done! have a great day and gud lak!

Official Seal Generator

in Journal by

Official Seal Generator allow you easily generate customised logos yourself.

You can choose fonts, images, size, etc. Feel free to visit their official site 😉

Here is my logo 🙂

supriyadisw seal

10 Besar Perusahaan Idaman 2006

in Journal by

10 Besar Perusahaan Idaman 2006 di Indonesia:

  • Peringkat 1: PT Astra International Tbk.
  • Peringkat 2: PT Unilever Indonesia Tbk. Tahu yang Karyawan Mau
  • Peringkat 3: PT Bank Central Asia Tbk. Pamornya Kembali Bangkit
  • Peringkat 4: PT Pertamina. Sekali Masuk Tak Ingin Keluar
  • Peringkat 5: PT Bank Mandiri Tbk. Yang Penting Bergengsi
  • Peringkat 6: PT Telekomunikasi Indonesia Tbk. (Telkom). Gajinya Menggiurkan
  • Peringkat 7: PT Chevron Pacific Indonesia. Diuntungkan Kenaikan Harga Minyak
  • Peringkat 8: PT Telekomunikasi Selular (Telkomsel). Perusahaan Untung, Karyawan pun Untung
  • Peringkat 9: Citibank Indonesia. Anut Prinsip Meritocracy
  • Peringkat 10: PT IBM Indonesia. Tak Hanya Berupa Gaji

Sumber: wartaekonomi. com – Rabu, 13 September 2006 10:37 WIB dan milist el-99 😀

How to Read Ubuntu Partition on Windows

in Linux/Tutorial/Ubuntu by

If you use dual boot system, just like me 😀 , perhaps you need switch Operating System between Ubuntu and Windows. One day you work with your Ubuntu, save data and do anything else. In next day, you switch to your Windows but you need data that you have saved on your Ubuntu partition. The best solution is you make a share partition for your Ubuntu and Windows. You can use this partition to save all of your data.

But someday you just forgot to save your data into your share partition. Now you work with your Windows and your data in your Ubuntu partition. You really need this data and feel sick to reboot your PC just to get this data. Personally, it’s just happen to me 😉

No problem, you can explore your Ubuntu partition with your Windows. You can use Explore2fs. But feel free to use another software.

Explore2fs

Explore2fs is a GUI explorer tool for accessing ext2 and ext3filesystems. It runs under all versions of Windows and can read almostany ext2 and ext3 filesystem.

Hepi B’dey Google

in Google by
 
Google Logo 8th Birthday

Happy Birthday to You
Happy Birthday to You
Happy Birthday
Happy Birthday
Happy Birthday to Google

Hepi b’dey Google!

Link

  • Googleblog

Feedvertising is now live to the public!

in Article/Blogging by

Text Links Ads launched their newest product: Feedvertising. Feedvertising will allow you to have complete control over advertising on your RSS feed. Whether the ads come from us, your own in-house efforts, or your affiliate links, the choice is totally up to you!

For a full tutorial on Feedvertising you can Feedvertising Tutorial

Bloggers can use our FREE Feedvertising technology to run text link ads in your RSS feed. Whether the ads come from us, your own in-house efforts, or your affiliate links… the choice is totally up to you!

Advertisers can finally drill down on even the toughest target audience by selecting individual blog RSS feeds to advertise in. Reach people where they actually read!

Feedvertising Sample

To get started please follow these steps:

  1. Login to www.text-link-ads.com
  2. Click on the ?Publisher Program? tab and then hit the Edit your listings link.
  3. To the right of each of your domains click to ?Edit Site Details?. Once there you are able to upgrade your account to include Feedvertising. I suggest you test the plugin by selecting to use some of the spots for personal use.
  4. After you have updated your listing to include Feedvertising you now need to set up and reinstall your WordPress plugin. To do this, go here. and click on ?Install Ad Code?. This new plugin should replace your current plugin. Your current TLA ads will still appear with this one new plugin.
  5. This is the fun part! On the Feedvertising to the right of your domain, click to ?manage rss ads? Then you can add in some test ads that will appear one ad per every NEW post you create. These new ads will only appear in RSS readers and not on your blog. You can add ads that promote your other network sites, an affiliate program, a job listing, you name it! You can also devote as many spots as you please to our marketplace where we will try to sell space for you once we launch to the public.

For more information about this program please visit their official Feedvertising Website.

Mac-style Menu Bar for GTK

in Article/Linux/Tutorial/Ubuntu by

This is a great idea to make Ubuntu Dapper look and feel like Mac OSX. Someone, aquila_deus (CMIIW), hacked gtk2 to use mac-style menubars. You can find his patch from http://aur.archlinux.org/packages.php?do_Details=1&ID=6447.

This menu bar is tested with gtk 2.10.1/2/3 & gtk 2.8.19, under compiz-quinn, xfce 4.4 svn, and blackbox.

Screenshot

Mac-style Menubar 1 Mac-style Menubar 2

Note: Screenshot was taken from the original thread without permission.

Several problems with this menu bar:

  • Some menubar parts (not menu) may be not repainted well.
  • Mouse movement on menubar can’t activate other menus, you have to click or use the old x-window/mac style (press button until you select the target item).
  • When you move mouse pointer to menus, it’s treated as the mouse has left menubar.
  • You can always move/resize the menubar by Alt+mouse buttons.

Here are how to patch gtk2:

  • get gtk2 source
  • cd …../…./gtk+-2.10.X (X means the version number)
  • patch -p0 < ……./…./gtkmenubar.diff
  • configure and make & install

Debs Package for Dapper

You can try this debs package for Dapper:
http://www.capc-online.net/dloads/linux/deb/libgtk2.0-0_2.8.20-0ubuntu1_i386.deb

But I got error when I tried installed this into my Ubuntu Dapper 🙁

Error – The Application “gnome-panel” has quit unexpectedly.

and

Error – I’ve detected a panel already running, and will now exit.

I will try to install it again. Wish me luck 😀

My wish list:

  • Error fix for Dapper debs package
  • Ubuntu repo for this package

Original thread from here:

  • http://bbs.archlinux.org/viewtopic.php?t=24289
  • http://ubuntuforums.org/showthread.php?t=241868
1 2 3
Go to Top