Subwoofer ubuntu problem
/etc/pulse/daemon.conf set
enable-lfe-remixing: no to yes
and make sure it is not commented (has no semicolon in front of it). If you made changes, save them and restart your system (or just pulseaudio).
Fonte: askubuntu.com
removing icons from launcher and top bar
The first few were easy - just search for “indicator”.
- to remove the indicator showing your user name and IM status, remove “indicator-me”
- to remove the indicator showing the “envelope” and your mail status, remove either “evolution-indicator” or “indicator-messages”. I can’t remember which, but both are gone now and so is my “envelope” icon.
- to remove the indicator that looks like a volume control and shows your media player, remove “indicator-sound”
- this last one was tricky…to remove the indicator showing your wireless strength, remove “network-manager-gnome”. This was hard to find and a little scary because I was worried I’d lose Internet access after I removed it. No, I still have Internet access.
I left the clock and the logout/restart/shutdown “power button”. I suppose these are controlled by “indicator-datetime” and “indicator-session”.
Fonte: ubuntuforums.org
list taxonomy term current post
<?php echo get_the_term_list( $post->ID, ‘TAXONOMYNAME’, ” ,’ ‘,” ); ?>
Timing! :-) This is the same thing I’ve just been working on, am shortly going to release my mobile plugin.
One thing, why use the Theme Switcher plugin with header redirects, when you could do it directly in a small plugin of your own:
Here’s the function:
function filter_switchTheme($theme)
{
$mobile = mobile_device_detect();
if ($mobile==true)
{
$theme = ‘mobile_theme_name’;
}
return $theme;
}And here’s the filters to call:
add_filter(‘template’, filter_switchTheme);
add_filter(‘option_template’, filter_switchTheme);
add_filter(‘option_stylesheet’, filter_switchTheme);
Responsive Web Design idea
Fit to the site not to the device….
Open nautilus as root in 11.10
gksu nautilus