Category Archives: Dev

Eclipse fix black toolip in Ubuntu 12.04+

After Install Ubuntu 12.04 I’ve realize that in Eclipse tooltips were with a black background. After a little googling I’ve found the solution.

Edit file /usr/share/themes/Ambiance/gtk-2.0/gtkrc
This file is used by theme Ambiance in ubuntu. If you use another theme you will have a diferent file path. Note themes are instaled here /usr/share/themes
After edit this file locate in the first lines:
tooltip_fg_color
tooltip_bg_color
These are the foreground and background colors of tooltips. Change the color to the values that you like. After a restart you will have the eclipse black tooltip fixed.
Digg thisBuffer this pageShare on FacebookShare on Google+Share on LinkedInPin on PinterestShare on RedditShare on StumbleUponShare on TumblrTweet about this on Twitter

Path too long installing VSIX in Visual Studio 2010

If you are having trouble instaling a VSIX on Visual Studio 2010 because the path is too long, and you are getting this exception:
Install Error : System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
you should try this:
1º Close all instances of Visual Studio 2010.
2º Go to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE, or where you have installed your Visual Studio 2010.
3º Locate and edit the file devenv.pkgdef in a text editor, like notepad.
4º Your file should contain something like this:
[$Initialization$]
“ApplicationExtensionsFolder” = “$RootFolder$\Common7\IDE\Extensions”
“PkgDefSearchPath”            = “$ApplicationExtensionsFolder$;$RootFolder$\Common7\IDE\CommonExtensions;$RootFolder$\Common7\IDE\devenv.admin.pkgdef;”
“UserExtensionsRootFolder”    = “$AppDataLocalFolder$\Extensions”
“RegistryRoot”                = “Software\Microsoft\VisualStudio\10.0”
This File contains the locations of VSIX instalations. You should edit UserExtensionsRootFolder And specify a new folder. Ex:
Change this:
“UserExtensionsRootFolder”    = “$AppDataLocalFolder$\Extensions”
To this:
“UserExtensionsRootFolder”    = “C:\Extensions”
5º Save the file and install the extension. Now all your VSIX extensions will be installed to C:\Extensions
Digg thisBuffer this pageShare on FacebookShare on Google+Share on LinkedInPin on PinterestShare on RedditShare on StumbleUponShare on TumblrTweet about this on Twitter