<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5268783294284035847</id><updated>2012-02-08T11:17:56.550+01:00</updated><category term='Ubuntu'/><category term='Maya'/><category term='3D'/><title type='text'>Il-Bozo</title><subtitle type='html'>Blog dedicato alla computergrafica e a Linux. Guide e risorse utili! (Maya, Linux, Debian, 3D)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ilbozo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5268783294284035847/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ilbozo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bozo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5268783294284035847.post-6895197018724134331</id><published>2008-04-28T17:23:00.004+02:00</published><updated>2008-04-28T17:35:19.909+02:00</updated><title type='text'></title><content type='html'>Hi all,&lt;br /&gt;this guide was started a year ago on renderglobal forum. Since it started many users improved this guide adding useful informations about configuring and setting up maya on any existing ubuntubox.&lt;br /&gt;I know my english is not perfect but i'll try to be clear, if you cannot understand something don't be afraid to ask!&lt;br /&gt;Actually this guide is meant (intended) to help you installing Maya 2008 over ubuntu gutsy but there is no reason why this shouldn't work for other versions. I tested this procedure over many pcs and many users confirmed that it worked for their too.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;BEFORE WE START I WANT TO ALERT YOU. THIS IS NOT AN OFFICIAL GUIDE AND IS NOT INTENDED TO BE. I DON'T HAVE ANY RESPONSABILITY ABOUT WHAT YOU DO WITH YOUR PC. SO IF U FEEL READY LET'S GO ON.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The first thing we have to do is to convert the rpm packages into deb packages. Someone told me that is possibile to install directly from rpms but i never tested and i dunno if it will work so i'll not use this method.&lt;br /&gt;&lt;br /&gt;Copy the entire "linux" folder contained in your Maya CD to your local hard drive then open up the Terminal and cd into the folder you just copied. Type:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install alien csh&lt;br /&gt;sudo alien -cv *.rpm&lt;/blockquote&gt;&lt;br /&gt;It will take a lot so, as many guides suggest, go for a walk, smoke a cigarette and maybe drink a martini cocktail.&lt;br /&gt;Once the conversion has finished you should have 6 rpms and 6 deb files.&lt;br /&gt;&lt;br /&gt;PAY ATTENTION! Before you try to install them you need to create 2 symbolic links to get maya work. Type in terminal:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;sudo ln -s /usr/aw /aw&lt;br /&gt;sudo ln -s /usr/autodesk /autodesk&lt;/blockquote&gt;&lt;br /&gt;Now we can install the deb packages. You don't need the 2 aksusb packages so you can delete them. awcommon and maya packages are needed, awcommon server is needed for the network license and maya-help... well... is the documentation.&lt;br /&gt;From terminal type:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;sudo dpkg -i name_of_the_package.deb&lt;/blockquote&gt;&lt;br /&gt;where name_of_the_package is the package of your needs. Usually i install awcommon, maya and maya help.&lt;br /&gt;&lt;br /&gt;Now you need to copy your license file on /var/flexlm folder.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo cp /path_of_your_license_file/aw.dat /var/flexlm&lt;/blockquote&gt;&lt;br /&gt;Maya is now installed but we have to fix some issues to get it work fine.&lt;br /&gt;&lt;br /&gt;Maya while you're working saves temporary files into /usr/tmp folder but ubuntu doesn't have this folder. One simple solution is to create that folder:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;sudo mkdir /usr/tmp&lt;br /&gt;sudo chmod 1777 /usr/tmp&lt;/blockquote&gt;&lt;br /&gt;Another possibility is to create a script that redirects temporary folder to the ubuntu one. To do so you need to create an empty text file and put inside theese lines:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;export TMPDIR=/tmp/&lt;br /&gt;export XLIB_SKIP_ARGB_VISUALS=1&lt;br /&gt;maya&lt;/blockquote&gt;&lt;br /&gt;Save the edited file (for example "maya_launcher") ad make it executable:&lt;br /&gt;ostro moderatore preferito lascia Mpc per andare alla scoperta di posti un po&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;chmod +x maya_launcher&lt;/blockquote&gt;&lt;br /&gt;Now you can start maya simply doubleclicking this batch file.&lt;br /&gt;&lt;br /&gt;Maya should work now but you will notice a few issues that still need to be fixed. So, be patient and follow these guidelines.&lt;br /&gt;&lt;br /&gt;First of all i usually fix the horrible fonts that maya uses by default. To do that you need to create a folder called "app-defaults" in your home directory. Then create inside that folder file named "MayaScheme" and paste inside the following text:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000&lt;br /&gt;*highlightColor2:    #0000ff&lt;br /&gt;*highlightColor3:    #00ff00&lt;br /&gt;*highlightColor4:    #a01ef0&lt;br /&gt;*highlightColor5:    #ffa500&lt;br /&gt;*highlightColor6:    #00ffff&lt;br /&gt;*highlightColor7:    #ff00ff&lt;br /&gt;*HighlightColor8:    #ffff00&lt;br /&gt;*wMBackground:    #aaaaaa&lt;br /&gt;*wMForeground:    #000000&lt;br /&gt;*wMActiveBackground:    #c6c1aa&lt;br /&gt;*wMActiveForeground:    #000000&lt;br /&gt;*textSelectedBackground:    #e6e6e6&lt;br /&gt;*textSelectedForeground:    #000000&lt;br /&gt;*indicatorLightColor:    #ffff00&lt;br /&gt;*selectFillColor:    #ffff00&lt;br /&gt;*redColor:    #ff0000&lt;br /&gt;*orangeColor:    #ff7e00&lt;br /&gt;*yellowColor:    #ffff00&lt;br /&gt;*greenColor:    #4fe44f&lt;br /&gt;*blueColor:    #0000ff&lt;br /&gt;*brownColor:    #743f3f&lt;br /&gt;*purpleColor:    #ae00ff&lt;br /&gt;*errorColor:    #ff0000&lt;br /&gt;*warningColor:    #0000ff&lt;br /&gt;*informationColor:    #00ff00&lt;br /&gt;*alternateBackground1:    #c1adad&lt;br /&gt;*alternateBackground2:    #a7b7a7&lt;br /&gt;*alternateBackground3:    #bbbbcd&lt;br /&gt;*alternateBackground4:    #9fbfbf&lt;br /&gt;*alternateBackground5:    #87aaca&lt;br /&gt;*alternateBackground6:    #d1d1c9&lt;br /&gt;*disabledTextForeground:    #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground:    #e56929&lt;br /&gt;*lightRadioFillColor:    #9e9edc&lt;br /&gt;*disabledCheckColor:    #dc9e9e7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000&lt;br /&gt;*highlightColor2:    #0000ff&lt;br /&gt;*highlightColor3:    #00ff00&lt;br /&gt;*highlightColor4:    #a01ef0&lt;br /&gt;*highlightColor5:    #ffa500*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000&lt;br /&gt;*highlightColor2:    #0000ff&lt;br /&gt;*highlightColor3:    #00ff00&lt;br /&gt;*highlightColor4:    #a01ef0&lt;br /&gt;*highlightColor5:    #ffa500&lt;br /&gt;*highlightColor6:    #00ffff&lt;br /&gt;*highlightColor7:    #ff00ff&lt;br /&gt;*HighlightColor8:    #ffff00&lt;br /&gt;*wMBackground:    #aaaaaa&lt;br /&gt;*wMForeground:    #000000&lt;br /&gt;*wMActiveBackground:    #c6c1aa&lt;br /&gt;*wMActiveForeground:    #000000&lt;br /&gt;*textSelectedBackground:    #e6e6e6&lt;br /&gt;*textSelectedForeground:    #000000&lt;br /&gt;*indicatorLightColor:    #ffff00&lt;br /&gt;*selectFillColor:    #ffff00&lt;br /&gt;*redColor:    #ff0000&lt;br /&gt;*orangeColor:    #ff7e00&lt;br /&gt;*yellowColor:    #ffff00&lt;br /&gt;*greenColor:    #4fe44f&lt;br /&gt;*blueColor:    #0000ff&lt;br /&gt;*brownColor:    #743f3f&lt;br /&gt;*purpleColor:    #ae00ff&lt;br /&gt;*errorColor:    #ff0000&lt;br /&gt;*warningColor:    #0000ff&lt;br /&gt;*informationColor:    #00ff00&lt;br /&gt;*alternateBackground1:    #c1adad&lt;br /&gt;*alternateBackground2:    #a7b7a7&lt;br /&gt;*alternateBackground3:    #bbbbcd&lt;br /&gt;*alternateBackground4:    #9fbfbf&lt;br /&gt;*alternateBackground5:    #87aaca&lt;br /&gt;*alternateBackground6:    #d1d1c9&lt;br /&gt;*disabledTextForeground:    #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground:    #e56929&lt;br /&gt;*lightRadioFillColor:    #9e9edc&lt;br /&gt;*disabledCheckColor:    #dc9e9e&lt;br /&gt;*highlightColor6:    #00ffff&lt;br /&gt;*highlightColor7:    #ff00ff&lt;br /&gt;*HighlightColor8:    #ffff00&lt;br /&gt;*wMBackground:    #aaaaaa&lt;br /&gt;*wMForeground:    #000000&lt;br /&gt;*wMActiveBackground:    #c6c1aa&lt;br /&gt;*wMActiveForeground:    #000000&lt;br /&gt;*textSelectedBackground:    #e6e6e6&lt;br /&gt;*textSelectedForeground:    #000000&lt;br /&gt;*indicatorLightColor:    #ffff00&lt;br /&gt;*selectFillColor:    #ffff00&lt;br /&gt;*redColor:    #ff0000&lt;br /&gt;*orangeColor:    #ff7e00&lt;br /&gt;*yellowColor:    #ffff00&lt;br /&gt;*greenColor:    #4fe44f&lt;br /&gt;*blueColor:    #0000ff&lt;br /&gt;*brownColor:    #743f3f&lt;br /&gt;*purpleColor:    #ae00ff&lt;br /&gt;*errorColor:    #ff0000&lt;br /&gt;*warningColor:    #0000ff&lt;br /&gt;*informationColor:    #00ff00&lt;br /&gt;*alternateBackground1:    #c1adad&lt;br /&gt;*alternateBackground2:    #a7b7a7&lt;br /&gt;*alternateBackground3:    #bbbbcd&lt;br /&gt;*alternateBackground4:    #9fbfbf&lt;br /&gt;*alternateBackground5:    #87aaca&lt;br /&gt;*alternateBackground6:    #d1d1c9&lt;br /&gt;*disabledTextForeground:    #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground:    #e56929&lt;br /&gt;*lightRadioFillColor:    #9e9edc&lt;br /&gt;*disabledCheckColor:    #dc9e9e&lt;br /&gt;*highlightColor2:    #0000ff&lt;br /&gt;*highlightColor3:    #00ff00*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000&lt;br /&gt;*highlightColor2:    #0000ff&lt;br /&gt;*highlightColor3:    #00ff00&lt;br /&gt;*highlightColor4:    #a01ef0&lt;br /&gt;*highlightColor5:    #ffa500&lt;br /&gt;*highlightColor6:    #00ffff&lt;br /&gt;*highlightColor7:    #ff00ff&lt;br /&gt;*HighlightColor8:    #ffff00&lt;br /&gt;*wMBackground:    #aaaaaa&lt;br /&gt;*wMForeground:    #000000&lt;br /&gt;*wMActiveBackground:    #c6c1aa&lt;br /&gt;*wMActiveForeground:    #000000&lt;br /&gt;*textSelectedBackground:    #e6e6e6&lt;br /&gt;*textSelectedForeground:    #000000&lt;br /&gt;*indicatorLightColor:    #ffff00&lt;br /&gt;*selectFillColor:    #ffff00&lt;br /&gt;*redColor:    #ff0000&lt;br /&gt;*orangeColor:    #ff7e00&lt;br /&gt;*yellowColor:    #ffff00&lt;br /&gt;*greenColor:    #4fe44f&lt;br /&gt;*blueColor:    #0000ff&lt;br /&gt;*brownColor:    #743f3f&lt;br /&gt;*purpleColor:    #ae00ff&lt;br /&gt;*errorColor:    #ff0000&lt;br /&gt;*warningColor:    #0000ff&lt;br /&gt;*informationColor:    #00ff00&lt;br /&gt;*alternateBackground1:    #c1adad&lt;br /&gt;*alternateBackground2:    #a7b7a7&lt;br /&gt;*alternateBackground3:    #bbbbcd&lt;br /&gt;*alternateBackground4:    #9fbfbf&lt;br /&gt;*alternateBackground5:    #87aaca&lt;br /&gt;*alternateBackground6:    #d1d1c9&lt;br /&gt;*disabledTextForeground:    #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground:    #e56929&lt;br /&gt;*lightRadioFillColor:    #9e9edc&lt;br /&gt;*disabledCheckColor:    #dc9e9e&lt;br /&gt;*highlightColor4:    #a01ef0&lt;br /&gt;*highlightColor5:    #ffa500&lt;br /&gt;*highlightColor6:    #00ffff&lt;br /&gt;*highlightColor7:    #ff00ff&lt;br /&gt;*HighlightColor8:    #ffff00&lt;br /&gt;*wMBackground:    #aaaaaa&lt;br /&gt;*wMForeground:    #000000&lt;br /&gt;*wMActiveBackground:    #c6c1aa&lt;br /&gt;*wMActiveForeground:    #000000&lt;br /&gt;*textSelectedBackground:    #e6e6e6&lt;br /&gt;*textSelectedForeground:    #000000&lt;br /&gt;*indicatorLightColor:    #ffff00&lt;br /&gt;*selectFillColor:    #ffff00&lt;br /&gt;*redColor:    #ff0000&lt;br /&gt;*orangeColor:    #ff7e00&lt;br /&gt;*yellowColor:    #ffff00&lt;br /&gt;*greenColor:    #4fe44f&lt;br /&gt;*blueColor:    #0000ff&lt;br /&gt;*brownColor:    #743f3f&lt;br /&gt;*purpleColor:    #ae00ff&lt;br /&gt;*errorColor:    #ff0000&lt;br /&gt;*warningColor:    #0000ff&lt;br /&gt;*informationColor:    #00ff00&lt;br /&gt;*alternateBackground1:    #c1adad&lt;br /&gt;*alternateBackground2:    #a7b7a7&lt;br /&gt;*alternateBackground3:    #bbbbcd&lt;br /&gt;*alternateBackground4:    #9fbfbf&lt;br /&gt;*alternateBackground5:    #87aaca*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000&lt;br /&gt;*highlightColor2:    #0000ff&lt;br /&gt;*highlightColor3:    #00ff00&lt;br /&gt;*highlightColor4:    #a01ef0&lt;br /&gt;*highlightColor5:    #ffa500&lt;br /&gt;*highlightColor6:    #00ffff&lt;br /&gt;*highlightColor7:    #ff00ff&lt;br /&gt;*HighlightColor8:    #ffff00&lt;br /&gt;*wMBackground:    #aaaaaa&lt;br /&gt;*wMForeground:    #000000&lt;br /&gt;*wMActiveBackground:    #c6c1aa&lt;br /&gt;*wMActiveForeground:    #000000&lt;br /&gt;*textSelectedBackground:    #e6e6e6&lt;br /&gt;*textSelectedForeground:    #000000&lt;br /&gt;*indicatorLightColor:    #ffff00&lt;br /&gt;*selectFillColor:    #ffff00&lt;br /&gt;*redColor:    #ff0000&lt;br /&gt;*orangeColor:    #ff7e00&lt;br /&gt;*yellowColor:    #ffff00&lt;br /&gt;*greenColor:    #4fe44f&lt;br /&gt;*blueColor:    #0000ff&lt;br /&gt;*brownColor:    #743f3f&lt;br /&gt;*purpleColor:    #ae00ff&lt;br /&gt;*errorColor:    #ff0000&lt;br /&gt;*warningColor:    #0000ff&lt;br /&gt;*informationColor:    #00ff00&lt;br /&gt;*alternateBackground1:    #c1adad&lt;br /&gt;*alternateBackground2:    #a7b7a7&lt;br /&gt;*alternateBackground3:    #bbbbcd&lt;br /&gt;*alternateBackground4:    #9fbfbf&lt;br /&gt;*alternateBackground5:    #87aaca&lt;br /&gt;*alternateBackground6:    #d1d1c9&lt;br /&gt;*disabledTextForeground:    #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground:    #e56929&lt;br /&gt;*lightRadioFillColor:    #9e9edc&lt;br /&gt;*disabledCheckColor:    #dc9e9e&lt;br /&gt;*alternateBackground6:    #d1d1c9&lt;br /&gt;*disabledTextForeground:    #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground:    #e56929&lt;br /&gt;*lightRadioFillColor:    #9e9edc&lt;br /&gt;*disabledCheckColor:    #dc9e9e&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;There are other fixes to do to make maya work as you expect.&lt;br /&gt;&lt;br /&gt;If you try to work with maya now you'll notice that the mouse pointer may become an red X and won't switch back to the default white arrow. To fix that you need to edit the Maya.env file that's located inside "maya/version/" inside your home directory and copy and paste this line:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    MAYA_MMSET_DEFAULT_XCURSOR=1;&lt;/blockquote&gt;&lt;br /&gt;The other necessary fix is the "alt" keybinding of gnome. Gnome, by default, uses the alt key to enable the window dragging, really useful on small screens but overrides the alt key function under maya. To fix that you need to change the associated key under System -&gt; Preferences -&gt; Windows. I normally switch this function on super key (the key with windows logo). I'm using gnome in italian language so the menu name may differ from my translation.&lt;br /&gt;&lt;br /&gt;Now you should have maya full working on your system with some issues that we will fix in this guide. If you feel that is enough you can stop following this guide and start your work!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It could be possible that gnome menu hasn't set the proper Maya icon on the launcer. To fix that you may want to edit the menu by right-clicking it and clicking "Modify Menu". Under Graphic sub menu you'll probably find "Autodesk Maya". Edit its proprieties right clicking and choosing proprieties under the dropdown menu and then set the following path for the icon file: /autodesk/maya/icons/mayaIcon.xpm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another fix that is really useful an will improve the aspect of maya software under xorg is the Display Size setting in the xorg.conf file. First of all we need to check the actual resolution of your monitor. Open up a terminal and write in:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    xdpyinfo | grep resolution&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You should get an output like thet one:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    resolution: 101x108 dots per inch&lt;/blockquote&gt;&lt;br /&gt;This means that your display has a non quad resolution. The right values should be 96 x 96 dpi.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;- NVIDIA -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you got a Nvidia video card you should be happy cause you only need to force the right value of dpi writing under "device" section in xorg.conf.&lt;br /&gt;Open up a terminal, type:&lt;br /&gt;&lt;br /&gt;   sudo gedit /etc/X11/xorg.conf&lt;br /&gt;&lt;br /&gt;Then write under device section these two lines:&lt;br /&gt;&lt;br /&gt;   Option "UseEditDpi" "FALSE"&lt;br /&gt;   Option "DPI" "96 x 96"&lt;br /&gt;&lt;br /&gt;Save and quit. After a reboot you should get the right output from xdpyinfo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;- ATI -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With ati videocards is a little more tricky but with a little of patience you will get the right result.&lt;br /&gt;Edit your xorg.conf typing from terminal the following command:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    sudo gedit /etc/X11/xorg.conf&lt;/blockquote&gt;&lt;br /&gt;Then find the monitor section and put inside this row:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    DisplaySize Val.x Val.y&lt;/blockquote&gt;&lt;br /&gt;Val.x and Val.y are two values that you need to calculate using your monitor specifications. These values are simply the width and height values of your screen in millimeters unit. If you bought a good monitor you'll probably find these values on the manifacturer website. On my old laptop i did a mix of manual measuring with a ruler and a simple formula:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    val.x=(horizontal_resolution/96)*25.4&lt;br /&gt;   val.y=(vertical_resolution/96)*25.4&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;I was using a 1440*900 resolution and i obtained these values:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;val.x=381&lt;br /&gt;val.y=238.125&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Then i used the integer part of these numbers in xorg.conf:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    DisplaySize 381 238&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;After the xorg reboot (ctrl+alt+backspace) i got this output from "xdpyinfo | grep resolution": resolution: 95x96 dots per inch, So i tried some manual tweak to obtain the right resolution. I got the right output using DisplaySize 380 238.&lt;br /&gt;&lt;br /&gt;If you plan to work with maya you surely need to disable the window compositing of xorg so write these lines at the end of xorg.conf&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    Section "Extensions"&lt;br /&gt;   Option "Composite" "Disable"&lt;br /&gt;   EndSection&lt;/blockquote&gt;&lt;br /&gt;Then there are other settings that usually fixes some window issues. I wrote down these settings from forum threads so i don't really know if those are useful for you! These settings could be written in the Screen section of your xorg.conf:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    Option "AddARGBGLXVisuals" "True"&lt;br /&gt;   Option "DisableGLXRootClipping" "True"&lt;br /&gt;   Option "DamageEvents" "True"&lt;br /&gt;   Option "RenderAccel" "on"&lt;br /&gt;   Option "XAANoOffscreenPixmaps"&lt;/blockquote&gt;&lt;br /&gt;The last really useful thing to do is to rule the focus stealing prevention. What does it mean? If you worked with maya on windows you surely noticed that maya on linux has a strange windows behaviour. Maya main window will be on top of the other sub-windows like hypergraph or connection editor. To fix that we can use a simple program called "Devil's Pie".&lt;br /&gt;Open up a terminal and install this program:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    sudo apt-get install devilspie&lt;/blockquote&gt;&lt;br /&gt;Than we need to create a folder where devilspie will read its rules.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    mkdir ~/.devilspie&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And then we create a file containing the rules for maya;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    sudo gedit ~/.devilspie/Maya.ds&lt;/blockquote&gt;&lt;br /&gt;Paste into this empty file the following line:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    (if (is (window_name) "Maya") (below))&lt;/blockquote&gt;&lt;br /&gt;Then open System-&gt;Preferences-&gt;Sessions and add a startup program. Call it Devil's Pie and under command insert the following:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;    devilspie&lt;/blockquote&gt;&lt;br /&gt;On next login Devil's pie would automatically start and everytime you launch maya the main window will stay behind the others (all the others!). Is not perfect but it could be a solution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5268783294284035847-6895197018724134331?l=ilbozo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ilbozo.blogspot.com/feeds/6895197018724134331/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5268783294284035847&amp;postID=6895197018724134331' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5268783294284035847/posts/default/6895197018724134331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5268783294284035847/posts/default/6895197018724134331'/><link rel='alternate' type='text/html' href='http://ilbozo.blogspot.com/2008/04/hi-all-this-guide-was-started-year-ago.html' title=''/><author><name>Bozo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5268783294284035847.post-5921905092641791080</id><published>2008-04-11T09:46:00.000+02:00</published><updated>2008-04-14T12:12:54.334+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3D'/><category scheme='http://www.blogger.com/atom/ns#' term='Maya'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Maya 2008 (e precedenti) su Ubuntu</title><content type='html'>Ciao a tutti,&lt;br /&gt;questa guida nasce sul forum di renderglobal. Da un anno a questa parte è stata discussa, migliorata e integrata grazie all'interesse di molteplici utenti e soprattutto grazie al supporto del forum. Questa guida dovrebbe permettere a tutti gli utenti di Ubuntu di installare Maya 2008 sul proprio sistema. Sul mio computer questa procedura ha funzionato su tutte le versioni di ubuntu  da Edgy 32 bit e 64 bit in poi. &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Alla facciazza di tutti quelli che mi hanno detto "Ma maya non è certificato per ubuntu!"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;PRIMA DI TUTTO VI VOGLIO DIRE CHE QUELLO CHE HO SCRITTO QUA SOTTO HA SEMPRE FUNZIONATO PER I MIEI PC (e non solo) E NON MI ASSUMO ALCUNA RESPONSABILITA' SU DANNI CHE POTRETE FARE AI VOSTRI! TOCCANDO FERRO PROSEGUITE PURE!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Il primo passo è quello di convertire i pacchetti rpm di maya in deb. Secondo un recente post su UbuntuForums esiste il metodo per installare direttamente da rpm ma non ho ancora collaudato il sistema quindi non mi sento di pubblicarlo ancora.&lt;br /&gt;&lt;br /&gt;Copiate sull'hard disk la cartella linux (o linux-amd64) e entrateci via terminale. A questo punto digitate:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install alien csh&lt;br /&gt;sudo alien -cv *.rpm&lt;/blockquote&gt;&lt;br /&gt;Una volta che alien ha fatto il suo lavoro troverete nella stessa cartella un tot di files .deb.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;IMPORTANTE!!! Creiamo due link simbolici per evitare casini durante l'installazione. Vi assicuro che conviene farlo!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo ln -s /usr/aw /aw&lt;br /&gt;sudo ln -s /usr/autodesk  /autodesk&lt;/blockquote&gt;&lt;br /&gt;Ora siamo pronti per installare Maya.&lt;br /&gt;Avrete 4 rpm e 4 deb. Gli rpm potete pure eliminarli (rm *.rpm).&lt;br /&gt;a questo punto dovete scegliere cosa installare in base alle vostre esigenze.&lt;br /&gt;&lt;br /&gt;awcommon e maya sono i fondamentali, awcommon-server serve solo per la networked license e poi c'è maya-help che guardacaso è l'help di maya.&lt;br /&gt;da terminale quindi installate i pacchetti scelti con il comando:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo dpkg -i nomefile.deb&lt;/blockquote&gt;&lt;br /&gt;Dopo aver fatto questo sarà necessario copiare la vostra licenza nella cartella /var/flexlm con:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo cp /path_della_vostra_licenza/aw.dat /var/flexlm&lt;/blockquote&gt;&lt;br /&gt;Maya cercherà di salvare i files temporanei in /usr/tmp che in ubuntu non esiste, Una delle possibili soluzioni è di crearla e di dare i permessi in lettura e scrittura, Quindi:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo mkdir /usr/tmp&lt;br /&gt;sudo chmod 1777 /usr/tmp&lt;/blockquote&gt;&lt;br /&gt;Oppure, da un thread postato sul forum di RenderGlobal "hdd" suggeriva un piccolo script per risolvere il messaggio di errore della cartella /usr/tmp.&lt;br /&gt;Create un documento vuoto (click dx -&gt; crea documento -&gt; file vuoto) editatelo e copiateci dentro queste righe:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;export TMPDIR=/tmp/&lt;br /&gt;export XLIB_SKIP_ARGB_VISUALS=1&lt;br /&gt;maya&lt;/blockquote&gt;&lt;br /&gt;Salvate il file (ad esempio "maya_launcher") e da terminale date un:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;chmod +x maya_launcher&lt;/blockquote&gt;&lt;br /&gt;A questo punto maya è pronto a funzionare semplicemente facendo doppio click su quest'ultimo file.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Non vi basta?! Allora facciamo di più!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Maya purtroppo ha qualche problemino con l'interfaccia grafica almeno sotto gnome. Per ovviare a questo problema bisogna creare nella propria home una cartella chiamata app-defaults e dentro ci va messo il file MayaScheme personalizzato. Ecco quello che uso io:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;*extraLargeBoldLabelFont:    -*-clean-medium-r-normal-*-16-*-*-*-*-*-*-*&lt;br /&gt;*largeBoldLabelFont:         -*-clean-medium-r-normal-*-14-*-*-*-*-*-*-*&lt;br /&gt;*boldLabelFont:              -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallBoldLabelFont:         -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*tinyBoldLabelFont:          -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*plainLabelFont:             -*-clean-medium-r-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallPlainLabelFont:        -*-clean-medium-r-normal-*-10-*-*-*-*-*-*-*&lt;br /&gt;*obliqueLabelFont:           -*-clean-medium-i-normal-*-12-*-*-*-*-*-*-*&lt;br /&gt;*smallObliqueLabelFont:      -*-clean-medium-i-normal-*-8-*-*-*-*-*-*-*&lt;br /&gt;*fixedWidthFont:             -*-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1&lt;br /&gt;*smallFixedWidthFont:        -*-clean-medium-r-normal--12-*-*-*-*-*-*-*&lt;br /&gt;*basicBackground:            #d9d9d9&lt;br /&gt;Maya*Background:             #d9d9d9&lt;br /&gt;*textForeground:             #000000&lt;br /&gt;*textFieldBackground:        #eeeeee&lt;br /&gt;*readOnlyBackground:         #bdbdbd&lt;br /&gt;*buttonBackground:           #bdbdbd&lt;br /&gt;*scrollBarTroughColor:       #bdbdbd&lt;br /&gt;*scrollBarControlBackground: #bdbdbd&lt;br /&gt;*indicatorBackground:        #cbcbcb&lt;br /&gt;*radioColor:                 #0000ff&lt;br /&gt;*checkColor:                 #ff0000&lt;br /&gt;*blueSelectBackgroundColor1: #3884c4&lt;br /&gt;*blueSelectBackgroundColor2: #81a7c1&lt;br /&gt;*drawingAreaBackground:      #90abb1&lt;br /&gt;*drawingAreaContrastColor1:  #b86b6b&lt;br /&gt;*drawingAreaContrastColor2:  #7894bf&lt;br /&gt;*drawingAreaContrastColor3:  #7ba988&lt;br /&gt;*drawingAreaContrastColor4:  #ab7ec8&lt;br /&gt;*scrolledListBackground:     #bdbdbd&lt;br /&gt;*textBackground:             #b5b5b5&lt;br /&gt;*highlightColor1:            #ff0000&lt;br /&gt;*highlightColor2: #0000ff&lt;br /&gt;*highlightColor3: #00ff00&lt;br /&gt;*highlightColor4: #a01ef0&lt;br /&gt;*highlightColor5: #ffa500&lt;br /&gt;*highlightColor6: #00ffff&lt;br /&gt;*highlightColor7: #ff00ff&lt;br /&gt;*HighlightColor8: #ffff00&lt;br /&gt;*wMBackground: #aaaaaa&lt;br /&gt;*wMForeground: #000000&lt;br /&gt;*wMActiveBackground: #c6c1aa&lt;br /&gt;*wMActiveForeground: #000000&lt;br /&gt;*textSelectedBackground: #e6e6e6&lt;br /&gt;*textSelectedForeground: #000000&lt;br /&gt;*indicatorLightColor: #ffff00&lt;br /&gt;*selectFillColor: #ffff00&lt;br /&gt;*redColor: #ff0000&lt;br /&gt;*orangeColor: #ff7e00&lt;br /&gt;*yellowColor: #ffff00&lt;br /&gt;*greenColor: #4fe44f&lt;br /&gt;*blueColor: #0000ff&lt;br /&gt;*brownColor: #743f3f&lt;br /&gt;*purpleColor: #ae00ff&lt;br /&gt;*errorColor: #ff0000&lt;br /&gt;*warningColor: #0000ff&lt;br /&gt;*informationColor: #00ff00&lt;br /&gt;*alternateBackground1: #c1adad&lt;br /&gt;*alternateBackground2: #a7b7a7&lt;br /&gt;*alternateBackground3: #bbbbcd&lt;br /&gt;*alternateBackground4: #9fbfbf&lt;br /&gt;*alternateBackground5: #87aaca&lt;br /&gt;*alternateBackground6: #d1d1c9&lt;br /&gt;*disabledTextForeground: #aaaaaa&lt;br /&gt;*layerAdjustmentTextForeground: #e56929&lt;br /&gt;*lightRadioFillColor: #9e9edc&lt;br /&gt;*disabledCheckColor: #dc9e9e&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Copiate il testo e incollatelo in ~/app-defaults/MayaScheme&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Ecchissono io? Babbo natale?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ci sono ancora due dritte per ovviare a dei problemi noti.&lt;br /&gt;&lt;br /&gt;Un problema è quello del &lt;span style="color: rgb(255, 0, 0);"&gt;puntatore&lt;/span&gt; che all'uscita di maya rimane a forma di X nera. Per risolverlo basta cercare nella vostra home sotto la cartella maya/versione/ il file Maya.env e copiarci dentro questa riga:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;MAYA_MMSET_DEFAULT_XCURSOR=1;&lt;/blockquote&gt;&lt;br /&gt;Un altro problema è che il &lt;span style="color: rgb(255, 0, 0);"&gt;tasto alt&lt;/span&gt;, per default su gnome, abilita lo spostamento della finestra selezionata. Per eliminare questo inconveniente basta andare nel menù Sistema-&gt;Preferenze-&gt;Finestre e selezionare il tasto super (o logo windows) per attivare lo spostamento.&lt;br /&gt;&lt;br /&gt;Ultima, ma questa lo ammetto è una C _ _ _ ATA, non è settata&lt;span style="color: rgb(255, 0, 0);"&gt; l'icona nel menù&lt;/span&gt; di gnome. Se proprio non vi è apparsa probabilmente dovete semplicemente dare da terminale:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;killall gnome-panel&lt;/blockquote&gt;&lt;br /&gt;oppure riavviate il serverX (ctrl+alt+backspace) o l'intero sistema.&lt;br /&gt;Se invece vi è apparsa avrà molto probabilmente l'icona dell'applicazione generica. Per impostarla correttamente basta fare click col tasto dx sul menù applicazioni -&gt; modifica menu e sotto grafica andate a trovare maya. Clikkateci sopra col tasto dx -&gt; proprietà e andate a pescare l'icona in /autodesk/maya/icons/mayaIcon.xpm&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Non era veramente l'ultima!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;A quanto pare linux non va daccordissimo con la stragrande maggioranza dei monitor in commercio. Infatti c'è una funzione di questi che permette di dire via hardware alla scheda video quale è la &lt;span style="color: rgb(255, 0, 0);"&gt;reale dimensione del monitor&lt;/span&gt; per calcolare la corretta risoluzione in dpi da usare per il desktop environment.&lt;br /&gt;se da terminale date il comando:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;xdpyinfo | grep resolution&lt;/blockquote&gt;&lt;br /&gt;Vi darà un output del tipo:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;resolution:    101x108 dots per inch&lt;/blockquote&gt;&lt;br /&gt;Per le schede nvidia si risolve aggiungendo alla sezione device del file /etc/X11/xorg.conf le seguenti righe:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Option        "UseEditDpi" "FALSE"&lt;br /&gt;Option        "DPI" "96 x 96"&lt;/blockquote&gt;&lt;br /&gt;Per le schede ATI è un po' più macchinoso ma si può fare lo stesso!&lt;br /&gt;Editate come sopra xorg.conf e mettete nella sezione monitor questa riga:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;DisplaySize     valore.x valore.y&lt;/blockquote&gt;&lt;br /&gt;Valore.x e Valore.y sono i due valori in millimetri delle dimensioni del vostro schermo. Di solito per i monitor decenti li trovate nelle specifiche. Nel mio caso ho usato una semplice formula:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;valore.x=(risoluzione_orizzontale/96)*25.4&lt;br /&gt;valore.y=(risoluzione_verticale/96)*25.4&lt;/blockquote&gt;&lt;br /&gt;Nel mio caso sono usciti fuori questi valori per la risoluzione 1440*900&lt;br /&gt;valore.x=381&lt;br /&gt;valore.y=238.125&lt;br /&gt;&lt;br /&gt;Ho usato solo la parte intera, quindi ho aggiunto a xorg.conf la seguente riga:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;DisplaySize 381 238&lt;/blockquote&gt;&lt;br /&gt;Dopo il riavvio ho però notato che il comando "xdpyinfo | grep resolution" dava come output 95x96dpi. Dopo qualche tentativo e riavvio di xorg ho stabilito che il valore di mio interesse è DisplaySize 380 238.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Altre modifiche a xorg.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Il composite deve essere disabilitato oppure avrete dei problemi di visualizzazione.  Aggiungete in fondo a xorg.conf le seguenti righe (magari le avete di gia).&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Section "Extensions"&lt;br /&gt;Option        "Composite" "Disable"&lt;br /&gt;EndSection&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Mentre per la sezione "Screen" potrebbero tornarvi utili questi settings, usateli solo se vi capita di avere finestre nere oppure con strani pattern colorati.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Option "AddARGBGLXVisuals" "True"&lt;br /&gt;Option "DisableGLXRootClipping" "True"&lt;br /&gt;Option "DamageEvents" "True"&lt;br /&gt;Option "RenderAccel" "on"&lt;br /&gt;Option "XAANoOffscreenPixmaps"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;Ultima modifica molto utile&lt;/span&gt; è quella di regolamentare un po' il comportamento delle finestre di Maya sotto gnome. Infatti, a differenza di quello che succede sotto Winzozz la finestra di Maya non rimane sotto le sue sottofinestre. Per ovviare a questo problema useremo il comodissimo "Devil's Pie".&lt;br /&gt;&lt;br /&gt;Installiamo Devil's Pie:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install devilspie&lt;/blockquote&gt;&lt;br /&gt;Poi creiamo la cartella che conterrà le regole:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;mkdir ~/.devilspie&lt;/blockquote&gt;&lt;br /&gt;E poi creiamo un file al suo interno con la nostra regola:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo gedit ~/.devilspie/Maya.ds&lt;/blockquote&gt;&lt;br /&gt;Dentro questo file incollateci la riga qui sotto, chiudete e salvate.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;(if (is (window_name) "Maya") (below))&lt;/blockquote&gt;&lt;br /&gt;A questo punto aprite il menu Sistema-&gt;Preferenze-&gt;sessioni e inserite un programma d'avvio. Nel campo nome metteteci:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Devil's Pie&lt;/blockquote&gt;&lt;br /&gt;e nel campo comando mettete:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;devilspie&lt;/blockquote&gt;&lt;br /&gt;Devil's Pie sarà attivo dal prossimo riavvio di gnome. Per riavviare rapidamente premete "Ctrl+Alt+Backspace" oppure avviate manualmente il programma dando "Alt+F2" e inserite il comando devilspie.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Concludo con dei link utili ai thread di renderglobal da cui nasce questa guida:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.renderglobal.org/forum//showthread.php?t=12211"&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;a href="http://www.renderglobal.org/forum//showthread.php?t=12211"&gt;Post sull'installazione&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.renderglobal.org/forum//showthread.php?t=14207"&gt;Installazione da RPM (mai collaudata)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.renderglobal.org/forum//showthread.php?t=13689"&gt;Ubuntu@work&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.renderglobal.org/forum//showthread.php?t=13293"&gt;Devil's Pie&lt;/a&gt;&lt;/blockquote&gt;&lt;a href="http://www.renderglobal.org/forum//showthread.php?t=13293"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5268783294284035847-5921905092641791080?l=ilbozo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ilbozo.blogspot.com/feeds/5921905092641791080/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5268783294284035847&amp;postID=5921905092641791080' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5268783294284035847/posts/default/5921905092641791080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5268783294284035847/posts/default/5921905092641791080'/><link rel='alternate' type='text/html' href='http://ilbozo.blogspot.com/2008/04/maya-2008-e-precedenti-su-ubuntu.html' title='Maya 2008 (e precedenti) su Ubuntu'/><author><name>Bozo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
