Wednesday, May 2, 2012

Ubuntu for Production

I have been using Ubuntu since its earlier release and never look back after the change. Most of the time I used Ubuntu for my conference paper writings, preparing my presenation slides and so on.

VN6QTF5DGEM2

Sunday, April 29, 2012

Renaming small characters file name to capital letters

Let say you have a small letters filename for a file. And you prefer to convert all of them to capital letters, here goes;

We create several mock files using "touch" command.

najmi@vostro-mint:~/test$ touch aaa bbb ccc

najmi@vostro-mint:~/test$ ls
aaa  bbb  ccc




Use "for" loop as this makes you lazy:

With "verbose" command you should be able to see the output progress:

najmi@vostro-mint:~/test$ for i in *;do mv -v $i `ls $i|tr [a-z] [A-Z]`;done
`aaa' -> `AAA'
`bbb' -> `BBB'
`ccc' -> `CCC'

Done. That's all :)

Thursday, April 26, 2012

Ubuntu 12.04 Precise Pangolin Released

I know many already patiently waiting for the release, here is the link for Ubuntu 12.04 Desktop.

It is LTS - Long Term Support so you can expect a longer support - most suitable for servers.


Tuesday, April 10, 2012

Ubuntu Precise Pangolin 12.04 - Anytime now

Ever downloaded the BETA version of Ubuntu 12.04? What do you think about the features and performance of this version?

Please tell and share with us!

Thanks

Wednesday, February 29, 2012

Samba in Ubuntu (Mint)

I am currently using Linux Mint 12, which is derived from Ubuntu 11.10. The reason is more to personal reasons, but since most of the works are originated from the similar code base so I will keep blogging in this blog. 

I always forgot how to set up a *working* minimalist Samba setup so that I could transfer my files from my Android phones or tablet. Here goes.

In /etc/samba/smb.conf, as root edit as follows:

[Videos]
browseable=yes
readonly=no
create mask=0755
path=/home/najmi/Videos

Later, create a user with smbpasswd command;

smbpasswd -a najmi

Then restart smbd and nmbd:

sudo /etc/init.d/smbd restart
sudo /etc/init.d/nmbd restart

Test:

smbclient -L localhost -U najmi
Enter najmi's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.11]

    Sharename       Type      Comment
    ---------       ----      -------
    Videos          Disk     
    IPC$            IPC       IPC Service (Samba 3.5.11)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.11]

    Server               Comment
    ---------            -------
    VOSTRO-MINT          Samba 3.5.11

    Workgroup            Master
    ---------            -------
    WORKGROUP           

Sunday, February 26, 2012

Using WebDAV with Box.net cloud

You may want to mount you box.net account by your Ubuntu.

What you need;

sudo aptitude install davfs2 -y

This will get DAV file system being enabled.

Later, what you could do is to put your details in davfs configuration file, located at /etc/davfs2/secret

https://www.box.net/dav

Next, you need to mount the box.net through davfs using mount command. 
You can put inside your etc/fstab too, but I found out the system will complain it cannot mount the filesytem (heck, you need to connected to network before you can mount. Wireless connection usually only being enable when you already reached your desktop interface). So I suggest you simply use the command line mount command:

Create mount location first;

sudo mkdir /media/box.net

A bit lengthy, you could paste this to a file, let say mountboxnet.sh and chmod +x, execute by ./mountboxnet.sh later on:
 
sudo mount https://www.box.net/dav -t davfs /media/box.net

You can also find someone else blogged the methods of accessing box.net WebDAV by using nautilus, which is fairly simple too. But I prefer the CLI way :)

Saturday, February 11, 2012

Ubuntu 12.04 bakal mengembalikan antaramuka "Gnome Classic"

Ubuntu 12.04, dengan kod nama "Precise Pangolin", dalam preview di sini bakal mengembalikan antaramuka klasik yang digunakan di dalam Gnome 2. Perkara ini sudah dilakukan oleh Linux Mint, distro derivatif daripada Ubuntu.

Nampaknya pihak Canonical sudah "tersedar" dari lamunan utopia mereka tentang penggunaan antaramuka yang ekstrem tanpa memikirkan hal "usability" di dalam pembinaan antaramuka.

Ini adalah cekupan dari laman blog yang dipetik di atas