Home Download Buy Blog Forum Support

Cannot change font in Ubuntu 10.10

Cannot change font in Ubuntu 10.10

Postby Dangthe on Thu Mar 15, 2012 12:56 am

Hello guys,
I am having a problem switching the font in Sublime Text 2 in Ubuntu 10.10 to Inconsolas. Installed the font from console, updated the font cache, went to Preferences > Settings-User and wrote:
{
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",
"font_face": 'Inconsolata',
"font_size": 10
}

and when I go Ctrl+S I get: "Error trying to parse settings: Expected value in ~/.config/sublime-text-2/Packages/User/Preferences.Sublime-settings:3:15". If im not mistaken, that seems like it is not detecting the font. I am no Linux wiz, but I think this is the way to do it. Anything I am doing wrong?

Cheers
Dangthe
 
Posts: 2
Joined: Thu Mar 15, 2012 12:43 am

Re: Cannot change font in Ubuntu 10.10

Postby weslly on Thu Mar 15, 2012 1:08 am

You should wrap the font name in double quotes.
weslly
 
Posts: 203
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Cannot change font in Ubuntu 10.10

Postby Dangthe on Thu Mar 15, 2012 1:16 am

weslly wrote:You should wrap the font name in double quotes.

God damn! Tried everything EXCEPT that... works fine in single quotes in Windows.... thanks mate!
Dangthe
 
Posts: 2
Joined: Thu Mar 15, 2012 12:43 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 13 guests