Monday, July 14, 2014

SOAP Can't import schema

I recently ran into an issue while testing a PHP/SOAP application. The application would work perfectly in some environments and not others. This was the error that was being thrown: PHP Fatal error: SOAP-ERROR: Parsing Schema: can't import schema from 'definitions.xsd' Turns out that the problem is related to the path where the project lived. If the path has any spaces, the SOAP functions won't be able to find the file.

Tuesday, February 18, 2014

How to change the color of Chrome's scroll bar under Cinnamon 2.0

The default theme that comes with Cinnamon 2.0 is pretty good, and it's the one I use, but I have come to hate the color scheme for the scroll bars. The contrast is too low. I normally use the scroll wheel on my mouse, but when I don't, it gets annoying to have to scan all over the right side of the screen to find the scroll control. The first step to fixing this is creating a new theme:
mkdir ~/.themes
cp -R /usr/share/themes/Mint-X ~/.themes/mytheme

Now, find this file inside the mytheme directory open it: gedit gtk-2.0/Apps/chrome.rc
Find these settings and change the value to the RGB color of your choice (use gcolor2 for a quick and easy color selector): ChromeGtkFrame::scrollbar-slider-prelight-color = "#50AFFF" ChromeGtkFrame::scrollbar-slider-normal-color = "#40AAFF" Now open the system settings > themes > other settings > controls and select your theme. Enjoy high-contrast, hassle-free scroll bar controls.