PDA

View Full Version : Me, Myself & Linux


CadCrazy
28-03-2008, 12:29 PM
I have installed mac4lin(+emerald theme) in ubuntu. I want to shift traffic lights to right side :D . Plz help me.

praka123
28-03-2008, 12:38 PM
do u mean window max,min,close etc?
it is mentioned in the guide.read again!
run gconf-editor browse to apps>metacity>general>button_layout>and clear the entry and add below lines:
close,minimize,maxmize:menu
or to right side:
menu:minimize,maximize,close

Sunny1211993
28-03-2008, 12:48 PM
I have installed mac4lin(+emerald theme) in ubuntu. I want to shift traffic lights to right side :D . Plz help me.

it looks more maccish on left!y change it?

CadCrazy
28-03-2008, 01:11 PM
do u mean window max,min,close etc?
it is mentioned in the guide.read again!
run gconf-editor browse to apps>metacity>general>button_layout>and clear the entry and add below lines:
close,minimize,maxmize:menuor to right side:
menu:minimize,maximize,close

tried both nothing happened. I'am also using emerald theamer.

it looks more maccish on left!y change it?

Actually it is for my friend. he can't bear this torture :D

ray|raven
28-03-2008, 01:12 PM
^Thats coz , the answer prakash gave was for metacity not emerald.

CadCrazy
28-03-2008, 01:13 PM
yes i know. What to do for emerald

ray|raven
28-03-2008, 01:17 PM
^Sorry, I dont use emerald,
But according to this:
http://wiki.compiz-fusion.org/EmeraldThemeManager

It may be in the emerald settings tab.

Sunny1211993
28-03-2008, 01:27 PM
yes i know. What to do for emerald
dont use it!use the default metacity theme:D

ChaiTan3
28-03-2008, 04:07 PM
For changing it in emerald, open emerald theme manager choose your current theme. Go to edit theme->titlebar
change titlebar object layout
the format is
left:center:right:

ray|raven
28-03-2008, 04:08 PM
Offtopic:
Dude, Chaitan, could you suggest me a book for starting gtk programming?

ChaiTan3
28-03-2008, 04:14 PM
Offtopic:
Dude, Chaitan, could you suggest me a book for starting gtk programming?
Well, i learnt GTK+ from here:
http://library.gnome.org/devel/gtk-tutorial/stable/
and for the API
http://library.gnome.org/devel/gtk/unstable/
Its more than enough if you already know C, no books required.

ray|raven
28-03-2008, 04:16 PM
^Thanx mate.
I do know C, though its been quite some time now since i coded in it.

Btw,How long did it take you?

ChaiTan3
28-03-2008, 04:26 PM
Btw,How long did it take you?
About 2 days to make my first program. GTK+ seemed very confusing in the start as I had been used to VB. After understanding packing of widgets and signal handling theres nothing more to learn as such, its just a matter of referring to the API.

CadCrazy
29-03-2008, 09:03 AM
With some hit n trial I changed value of layout format from C(5)N(5)X:(5)T:HM:OSX Theme Layout to HM:T(5):N(5)X(5)C:OSX Theme Layout to get the desired layout. thanks ChaiTan3.

Now one more problem: two of three NTFS partitions are not automounted. Tell me what value I enter in fstab to get them automounted.

praka123
29-03-2008, 09:06 AM
^sometimes if ntfs partitions are having errors,then they will not be automounted,do run CHKDISK in ur xp for those partitions.

CadCrazy
29-03-2008, 09:27 AM
Actually these two partitions are created after ubuntu installation so are not automounted.

T159
29-03-2008, 09:27 AM
With some hit n trial I changed value of layout format from C(5)N(5)X:(5)T:HM:OSX Theme Layout to HM:T(5):N(5)X(5)C:OSX Theme Layout to get the desired layout. thanks ChaiTan3.

Now one more problem: two of three NTFS partitions are not automounted. Tell me what value I enter in fstab to get them automounted.


add force after defaults in fstab to mount them force fully
else
just run chksdk in windows

CadCrazy
29-03-2008, 09:40 AM
Aree I'm asking for those damn long values to put in fstab to get it automounted :D

rahimveron
29-03-2008, 09:57 AM
UUID right? ls -l /dev/disk/by-uuid
OR
blkid

T159
29-03-2008, 10:24 AM
Aree I'm asking for those damn long values to put in fstab to get it automounted :D
http://www.thinkdigit.com/forum/showthread.php?t=82413

sakumar79
29-03-2008, 11:07 AM
Open fstab and check out the earlier entries of the auto-mounted partitions and copy the values...

Arun