Linux Mint/Cinnamon Login Loop
Issue is user being returned to the login screen after attempting to start a Cinnamon session. Issue cleared by installing nvidia-current video driver, as opposed to nouveau.
Issue is user being returned to the login screen after attempting to start a Cinnamon session. Issue cleared by installing nvidia-current video driver, as opposed to nouveau.
I recently did a Drupal project with transparent images in a Nivo Slider. The slideshow used the “Fade” effect, transitioning from slide to slide by fading in and out.
In IE8, this first resulted in images with black fringes around the transparent parts. This was solved by adding the following CSS styles to my IE8 conditional stylesheet:
background: transparent; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)" !important;/* IE8 */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF) !important;/* IE6 & 7 */ zoom: 1;
(Credit for the above goes to user Bronek on StackOverflow; see original post here.)
But for me, this was still only half the battle. Now I had images where half the transparency of the “slices” used in the transition were overlapping the image currently being displayed in the slider, creating an unsightly seam in the image.
This was remedied by simply moving the seams out of the way forcibly, by putting a relative positioning on the slices, with a left position of 10000px.
So this was my final “IE8-specific” CSS styling for the .nivo-slice class and img tags within such divs:
.nivo-slice, .nivo-slice img {
width: 560px !important;
height: 375px !important;
background: transparent;
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)" !important;/* IE8 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF) !important;/* IE6 & 7 */
zoom: 1;
position: relative;
left: 10000px;
}
(On the !important items in the above, note that Nivo Slider likes to manipulate the sizing and positioning of the images and slices via jQuery. In my case, this resulted in “narrow” images partially super-imposed over the current slide. Accordingly, I overrode the sizing via CSS so that any super-imposed portions matched the size of the original, which resulted in their being pushed out of the containing element.)
Hope this helps any others in this situation!
Check and make sure your ID and NAME on both and
I got this mysterious error in Compass this evening while working on a site, and The Googles were less than helpful…
In my case, it turned out that while I was setting up a font stack using a couple “two word” font names, that my text editor had helpfully wrapped an extra set of single quotes around the entire line. So, if you get this one, start hunting for typos and misplaced quote marks.
It appears this has been an issue for some time with content types initialized as part of an imported Feature.
The solution may be found here. Note that this solution requires a little SQL command-line juju, or you may use Drush’s sqlc functionality.
If you run into this, the likely cause is that another jQuery plugin/script that is conflicting with the one that’s throwing the error. Replace $ with jQuery, and you should be good to go.
Example:
jQuery(document).ready(function(){
//Hide (Collapse) the toggle containers on load
jQuery(".moreinfo-toggle_container").hide();
//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
jQuery("h3.moreinfo-trigger").click(function(){
jQuery(this).toggleClass("active").next().slideToggle("slow");
});
});
In my case, I found that the /var/lib/samba and /var/cache/samba directories needed chmod 0755.
I managed to get one whole core of my processor maxed out for more than an hour and a half by trying to get it to calculate this:
4.000^10((10^10)^(10^10))
I was just futzing around, and wondered what would happen. I finally gave up and cut it off.
Now, I KNOW that’s a ginormous number. And it’s been 15 years since I took a math course and I can’t remember the process to easily multiply exponents, but I remember that there is one. Any recent college graduates in any kind of math, science, or business curriculum could probably break that down faster than a 3.2Ghz processor.
Food for thought.
One more: Did you tie your own shoes today? Yeah, they haven’t made a robot that can do that yet, either.
Make sure you’ve added jquery.cycle to your libraries, as seen here.
As another installment in my infinity-long series of things I’ve known and forgotten about Drupal, and thus am posting here for posterity, it turns out that Views 3 (presently in Alpha) has this functionality built in, so you don’t need to employ any hooks or external modules or anything else.
Almost as an aside, I have no idea why merlinofchaos regards this as “alpha” quality. Works *great* on my install.