tag:blogger.com,1999:blog-80468189134546052572024-02-07T17:06:20.790-08:00l o o s e l y typedUnknownnoreply@blogger.comBlogger27125tag:blogger.com,1999:blog-8046818913454605257.post-29443773092082899052015-06-12T10:45:00.002-07:002016-09-07T06:59:26.989-07:00Using fade-in effect with fullpage.js slides<i>Update (08/09/2016): Starting version <a href="https://github.com/alvarotrigo/fullPage.js/releases" target="_blank">2.8.6</a>, fullpage.js now has built-in support for fade-in effect for slides via the 'faddingEffect' extension.</i><br />
<br />
<a href="https://github.com/alvarotrigo/fullPage.js/" target="_blank">fullpage.js</a> offers the option to display slides in sections which navigate horizontally. The plugin uses a scroll-left or scroll-right transform for changing slides. <br />
<br />
The plugin however doesn't support cyclic loop back for slides. This means that after the last slide, the slides container will scroll-left all the way to the first slide. If there are 3 or more slides, this can be an unwanted effect. <br />
<br />
An elegant solution to this is to nullify the scrolling and use a fade-in effect for each slide. This can be achieved by using the plugin's options to hook callbacks on slide transitions as shown below. <br />
<br />
<br />
<script src="https://gist.github.com/nhylated/6a1a360a0ad321546abc.js"></script>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8046818913454605257.post-27577587427716504902014-08-09T16:00:00.000-07:002015-06-12T10:08:32.920-07:00Java initialization errors on LinuxJava (JVM) can fail to start and throw error messages like these:<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;">$ java -version</span><br />
<span style="font-family: "Courier New",Courier,monospace;">Error occurred during initialization of VM</span><br />
<span style="font-family: "Courier New",Courier,monospace;">Could not reserve space for ObjectStartArray</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;">$ java -version <br />
Error occurred during initialization of VM<br />
Could not reserve enough space for object heap<br />
Could not create the Java virtual machine.<br />
</span>
</blockquote>
<br />
There can be several reasons behind this and increasing the heap size and permgen size of the JVM often fixes this issue.<br />
<br />
However, such errors can still occur even if the heap size and other JVM parameters have been setup correctly. In such cases, the issue is often with the system level configuration.<br />
<br />
On Linux, this issue can occur if the virtual memory size limit is not sufficient enough. To fix this:<br />
<ul>
<li>On RHEL, execute: <span style="font-family: "Courier New",Courier,monospace;">limit vmemoryuse unlimited</span></li>
<li>In bash, execute: <span style="font-family: "Courier New",Courier,monospace;">ulimit -v unlimited</span></li>
</ul>
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-82314721575796254122014-08-09T15:43:00.002-07:002014-09-06T20:26:36.205-07:00Fixing sticky Control key issues with Citrix Reciever 13.0 on Ubuntu<div dir="ltr">
<ol>
</ol>
Citrix 13.x is known to have issues on Ubuntu and other Linux flavours. One such issue is that the Control (Ctrl) key gets stuck in the Citrix Reciever session after it is pressed for the first time. This issue has been reported by several users on Citrix forums but Citrix hasn't officially addressed it so far.<br />
<br />
To fix this issue on Ubuntu, edit these two files:</div>
<ul>
<li><span style="font-family: "Courier New",Courier,monospace;">~/.ICAClient/wfclient.ini</span> </li>
<ul>
<li>Replace '<span style="font-family: "Courier New",Courier,monospace;">KeyboardLayout = (User Profile)</span>' with '<span style="font-family: "Courier New",Courier,monospace;">KeyboardLayout = <b>US-International</b></span>' (or your preferred keyboard layout)</li>
</ul>
<li><span style="font-family: "Courier New",Courier,monospace;">/opt/Citrix/ICAClient/config/module.ini</span> </li>
<ul>
<li>Replace '<span style="font-family: "Courier New",Courier,monospace;">UseLocalIM=True</span>' with '<span style="font-family: "Courier New",Courier,monospace;">UseLocalIM=<b>False</b></span>'.</li>
</ul>
</ul>
<br />
If the sticky Ctrl key issue is still not fixed, update Ubuntu system settings to not show the mouse location when Ctrl key is clicked. Instructions can be found <a href="http://askubuntu.com/questions/264361/where-is-show-position-of-the-mouse-when-the-control-key-is-pressed" target="_blank">here</a>.<br />
<br />
If the issue still persists, try these links:<br />
<ul>
<li><a href="http://discussions.citrix.com/topic/346813-ctrl-key-sticking/">Citrix forums: CTRL key sticking</a></li>
<li><a href="http://discussions.citrix.com/topic/277253-ctrl-key-stuck/">Citrix forums: CTRL Key Stuck</a></li>
<li><a href="http://serverfault.com/questions/119223/why-is-my-linux-ica-client-unable-to-use-the-ctrl-key">ServerFault: Why is my Linux ICA client unable to use the “CTRL” key?</a></li>
</ul>
<br />
Related resources:<br />
<ul>
<li><a href="https://help.ubuntu.com/community/CitrixICAClientHowTo">CitrixICAClientHowTo</a> (contains installation instructions for Ubuntu)</li>
</ul>
<ol>
</ol>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-8046818913454605257.post-52962404015705858022013-10-02T01:29:00.000-07:002013-10-13T04:02:45.662-07:00Fixing Android shutting down on screen lockThere are many reasons that can cause Android 4.x versions to shut down on screen lock. If you start facing this problem, then the first thing that you should do is revert the most recent changes - change in settings, newly installed applications etc. - and check if it fixes the problem.<br />
<br />
Some known reasons for this issue are -<br />
<ul>
<li>Netflix app on Android 4.3</li>
<ul>
<li><a href="http://www.androidcentral.com/netflix-and-google-working-android-43-device-lock-solution">http://www.androidcentral.com/netflix-and-google-working-android-43-device-lock-solution</a></li>
<li><a href="http://forum.xda-developers.com/showthread.php?t=2377304&highlight=chromecast">http://forum.xda-developers.com/showthread.php?t=2377304&highlight=chromecast</a> </li>
<li>In some cases this is known to have frozen the Android device which required a hard reset to fix.</li>
</ul>
<li>Enabling developer options and turning off all animations can cause the device to shut down on screen lock</li>
<ul>
<li>Enabling 'Settings -> Developer Options' and changing a couple of settings to <a href="http://pocketnow.com/android/how-to-disable-screen-animations-in-android-40-ics" target="_blank">disable animations</a> can cause this bug. Switching off developer options fixes the bug. Alternatively, you can keep developer options enabled but ensure that the 'Window Animation Scale' option is not disabled/switched off.</li>
</ul>
</ul>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-35653346630337585172013-09-30T13:08:00.004-07:002015-02-16T09:42:26.242-08:00Google Apps standard account alternative - Microsoft Outlook.com<div style="background-color: #f6f6f6; border: #CCC solid 1px; padding: 7px;">
Also see - <a href="http://looselytyped.blogspot.in/2012/12/using-zoho-apps-suite-as-replacement.html">Google Apps standard account alternative - Zoho Apps Lite suite</a>
</div>
<br />
Checkout this pretty comprehensive post by Derrick Wlodarz -<br />
<br />
<a href="http://betanews.com/2013/08/26/how-to-use-outlook-com-as-a-free-custom-domain-email-host/">http://betanews.com/2013/08/26/how-to-use-outlook-com-as-a-free-custom-domain-email-host/</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-71318427769094988342013-09-29T05:03:00.003-07:002015-02-16T09:44:44.093-08:00How to mount disks at startup with custom file/directory access permissions in Ubuntu<ul>
<li><a href="https://help.ubuntu.com/community/AutomaticallyMountPartitions">https://help.ubuntu.com/community/AutomaticallyMountPartitions</a> </li>
<li><a href="http://opensuse.swerdna.org/susentfs.html#table">http://opensuse.swerdna.org/susentfs.html#table</a></li>
<ul>
<li>Alternate link - <a href="http://swerdna.dyndns.org/susentfs.html">http://swerdna.dyndns.org/susentfs.html</a></li>
<li><a href="http://webcache.googleusercontent.com/search?q=cache:v46R7YpO_mkJ:swerdna.dyndns.org/susentfs.html&client=ubuntu&hl=en&gl=in&strip=1">Google webcache link</a></li>
</ul>
<li><a href="http://askubuntu.com/questions/252361/how-could-i-mount-an-ext4-partition-and-have-write-permission">http://askubuntu.com/questions/252361/how-could-i-mount-an-ext4-partition-and-have-write-permission</a></li>
<li><a href="http://itsfoss.com/set-write-permission-ext4-partition-ubuntu-linux/">http://itsfoss.com/set-write-permission-ext4-partition-ubuntu-linux/</a> </li>
</ul>
Note: The mount options flags - <span style="font-family: "Courier New",Courier,monospace;">fmask</span>, <span style="font-family: "Courier New",Courier,monospace;">umask</span>, and <span style="font-family: "Courier New",Courier,monospace;">dmask</span> - might not work if the <span style="font-family: "Courier New",Courier,monospace;">gid</span> option is not set. <br />
<ul>
</ul>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-24654590046894837252013-04-27T09:31:00.002-07:002014-03-18T11:36:34.605-07:00Enabling/disabling auto start up services in UbuntuServices which are automatically started on boot-up can be enabled or disabled using the <a href="http://www.marzocca.net/linux/bum.html">BootUp Manager</a> (BuM) application in Ubuntu. BuM can also be installed via apt-get -<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install bum</span></blockquote>
Instructions for other ways to install BuM are provided on the project's homepage linked above.<br />
<br />
Also check this great <a href="http://askubuntu.com/a/19324/67523" target="_blank">answer</a> on askubuntu for other ways to accomplish this. The upstart method of creating override files described in that answer also works great.<br />
<br />
Some typical services which don't necessarily need to be started on boot
are -<br />
<ul>
<li>mysql</li>
<li>apache(2)</li>
<li>postgresql/postgres-xc (if installed)</li>
<li>vsftpd - a FTP daemon</li>
<li><a href="http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html" target="_blank">zramswap</a> - might not be required on systems with sufficient RAM (~ 4GB or higher)</li>
<li>bluetooth </li>
</ul>
All services that are disabled from auto-start can be manually started when required using this command -<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;">sudo service <service-name> start</span></blockquote>
<ul>
</ul>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-70077078742392876842013-04-24T16:29:00.000-07:002013-04-24T16:33:45.375-07:00Making Ubuntu Software Center work with KDE Plasma Desktop<div class="tr_bq">
After installing the <a href="http://www.kde.org/workspaces/plasmadesktop/" target="_blank">KDE Plasma Desktop</a> on top of Ubuntu 12.10, the Ubuntu Software Center is unable to install or remove any applications. On performing these operations, the software center gives this error message - </div>
<br />
<blockquote>
<span style="font-family: "Courier New",Courier,monospace;">Authentication Error</span><span style="font-family: "Courier New",Courier,monospace;"></span><br />
<span style="font-family: "Courier New",Courier,monospace;">Software can't be installed or removed because the authentication service is not available. (org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.184'}): org.debian.apt.install-or-remove-package</span></blockquote>
<br />
To fix this issue, install the PolicyKit Authentication Agent for KDE -<br />
<br />
<blockquote>
<span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install polkit-kde-1</span></blockquote>
<br />
You might need to logout or restart for the changes to take effect.<br />
<br />
Reference -<br />
<ul>
<li><a href="http://askubuntu.com/questions/248333/ubuntu-software-center-is-not-working-on-ubuntuwith-kde-desktop-environment">Ubuntu Software center is not working on ubuntu(With KDE desktop environment)</a></li>
</ul>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8046818913454605257.post-14715174958633474022013-04-21T02:23:00.001-07:002013-04-24T16:30:27.278-07:00Adding a volume indicator to the KDE panel in UbuntuThe volume indicator does not show up in the KDE panel after installing it on Ubuntu 12.10. Installing kmix fixes this issue -<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install kmix</span><br />
<br />
Reference - <a href="https://answers.launchpad.net/ubuntu/+question/79037">https://answers.launchpad.net/ubuntu/+question/79037</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-42629399384171879002013-04-14T06:37:00.000-07:002013-04-15T01:08:02.621-07:00Why you shouldn't download Wordpress themes and plugins from non-trusted websitesWordpress themes and plugins might seem harmless and especially impossible to use as a means for spreading trojans and malwares since they mostly consist of text files (PHP, Javascript, CSS, HTML etc) and images. But that assumption would be wrong.<br />
<br />
Recently, during a boot time scan of my system using <a href="http://www.avast.com/" target="_blank">Avast</a>, some files were identified as infected with malware and trojans. The most striking part of this was that the <span style="font-family: "Courier New",Courier,monospace;">footer.php</span> file of a Wordpress theme was detected as being infected by a Trojan (PHP:Agent-FQ [Trj])! The same theme was installed across 2 local Wordpress installations and the <span style="font-family: "Courier New",Courier,monospace;">footer.php</span> file was infected in both places.<br />
<br />
The theme files were infected due to some <a href="http://en.wikipedia.org/wiki/Base64" target="_blank">base64</a> encoded text present in them. This does not mean that all encrypted/encoded text is bad. Some free themes have the license/copyright information and the creator's details (name, link etc.) in base64 encoded text in the footer along with some required HTML and PHP code so that removing the copyright information becomes difficult. But this might not be the case everytime.<br />
<br />
Leland Fiegel has written a very good <a href="http://www.themelab.com/2009/12/08/stop-downloading-wordpress-themes-from-shady-sites/" target="_blank">article</a> over at Theme Lab which also discusses some measures to check themes with encrypted or encoded code if their use cannot be avoided.<br />
<br />
Also, apart from Wordpress, this advice would also apply to any text/ASCII file in general containing encoded or encrypted text.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-80842213794688166952013-04-01T15:46:00.003-07:002013-04-07T05:35:21.049-07:00Tips to speed up Eclipse IDE<b>Allocate more heap size:</b> This is the most useful tip. This can be done by editing the <span style="font-family: "Courier New",Courier,monospace;">-Xms</span> and <span style="font-family: "Courier New",Courier,monospace;">-Xmx</span> JVM flags in the <span style="font-family: "Courier New",Courier,monospace;">eclipse.ini</span> file which can be found in the same directory as the <span style="font-family: "Courier New",Courier,monospace;">eclipse.exe</span> file.<br />
<br />
<b>Disable breadcrumbs:</b> This will speed up switching between files.<br />
<br />
<b>Disable theme animations:</b> Go to Window -> Preferences -> General -> Appearance -> uncheck the '<span style="font-family: "Courier New",Courier,monospace;">Enable Animations</span>' checkbox.<br />
<br />
<b>Switch to the classic theme:</b> Go to Window -> Preferences -> General -> Appearance -> select the classic theme. Restart eclipse once if you do not see any immediate changes or performance improvement.<br />
<br />
<b>Upgrade to a latest version:</b> Juno (version 4.2.x) had several issues but many of these have been <a href="http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation" target="_blank">addressed and fixed</a> in version 4.2.2.<br />
<br />
<b>Disable unnecessary plugin load on startup:</b> Go to Window -> Preferences -> General -> Startup and Shutdown -> uncheck all plugins which don't need to be loaded on startup. <br />
<br />
<b>Use the latest JDK for launching Eclipse.</b><br />
<br />
<b>Minimalize file editors: </b>This tip will speed up switching between files and is especially important for Java file editors. Try to disable file editor features which you don't use - e.g. hide line number, disable code folding, disable range indicators.<br />
<br />
These settings can be controlled via Window -> Preferences -> General -> Editors -> Text Editors.<br />
<br />
<b>Disable automatic builds:</b> This preference might vary from project to project. Automatic builds might not affect small projects but can cause a major hindrance for huge projects. This setting can be toggled from Project -> Build Automatically.<br />
<br />
<b>Close unused projects:</b> Right click on a project -> Close Project.<br />
<br />
<b>Increase the autocomplete/content-assist timeout:</b> Java content assist is known to timeout very often in Eclipse Juno. This is a reported bug and should be fixed in newer Juno releases. Until then, the content assist timeout can be increased by setting this flag in the eclipse.ini file<code>: -vmargs -Dorg.eclipse.jdt.ui.codeAssistTimeout=60000. </code><br />
<br />
Also check <a href="http://stackoverflow.com/a/1367422/209008" target="_blank">this</a>. <br />
<br />
More references -<br />
<ul>
<li><a href="http://stackoverflow.com/questions/316265/tricks-to-speed-up-eclipse" target="_blank">Tricks to speed up Eclipse</a></li>
<li><a href="http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse" target="_blank">What are the best JVM settings for Eclipse [closed]</a></li>
</ul>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-26659280286081499562013-02-28T09:07:00.002-08:002016-03-13T05:07:47.810-07:00Zenburn - A pleasant color scheme for PuTTY<a href="http://www.putty.org/" target="_blank">PuTTY</a>'s ("Putty" henceforth) default color scheme doesn't work for everyone. Especially, the (pure) blue color used for listing folders; that looks terrible on the black background.<br />
<br />
On searching for better color schemes for Putty, I stumbled upon <a href="http://www.darkrune.org/blog/?p=213" target="_blank">this</a> blog post which shows two color schemes for Putty. Out of these, I settled for the <a href="http://slinky.imukuppi.org/zenburnpage/" target="_blank">Zenburn</a> color scheme.<br />
<br />
Steps to modify Putty's color scheme and saving it to new or already loaded sessions can be found <a href="http://www.mtholyoke.edu/~mcrowley/putty-at-mhc.html" target="_blank">here</a>.<br />
<br />
Putty RGB colors/options for the Zenburn color scheme are as follows -<br />
<ul>
<li>Default Foreground - 255/255/255</li>
<li>Default Background - 51/51/51</li>
<li>ANSI Black - 77/77/77</li>
<li>ANSI Green - 152/251/152</li>
<li>ANSI Yellow - 240/230/140</li>
<li>ANSI Blue - 205/133/63</li>
<li>ANSI Blue Bold -135/206/235</li>
<li>ANSI Magenta - 255/222/173 or 205/92/92</li>
<li>ANSI Cyan - 255/160/160</li>
<li>ANSI Cyan Bold - 255/215/0</li>
<li>ANSI White - 245/222/179</li>
</ul>
<ul>
</ul>
<div>
In addition to the above colors, I applied two more changes to the font (Putty -> Window -> Appearance -> Font Settings) - </div>
<div>
<ul>
<li>Font - Consolas, 10-point</li>
<li>Font quality - Default (you can play around with this option to see what suits your screen/display best).</li>
</ul>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiE-F6BlqWdsN1wqj0pcxiIhOyUckLacukmc-g9ISjvKOjO9DbCB2zLOxwU7ArByF66ixW6cLMzww8Ob2rJ2MSVuwdfndENixTI3KON99ylaBaFC-M7XHhnSayuiixQZptU_8abnHgiqW7/s1600/putty-zenburn-color-scheme2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiE-F6BlqWdsN1wqj0pcxiIhOyUckLacukmc-g9ISjvKOjO9DbCB2zLOxwU7ArByF66ixW6cLMzww8Ob2rJ2MSVuwdfndENixTI3KON99ylaBaFC-M7XHhnSayuiixQZptU_8abnHgiqW7/s1600/putty-zenburn-color-scheme2.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Zenburn theme in a PuTTY console.</td></tr>
</tbody></table>
<br /></div>
</div>
<div class="ltyp-box">
Edit: If you're on Windows, check out <a href="https://github.com/voieducode/putty-colors-zenburn" target="_blank">this Github repo</a> which contains ready made registry files for installing the Zenburn scheme in Putty.
</div>
<div>
<br /></div>
More on the Zenburn color scheme -<br />
<ul>
<li><a href="http://kippura.org/zenburnpage/" target="_blank">Official Zenburn Page</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=415" target="_blank">Zenburn : Low contrast colour scheme for low light conditions</a></li>
<li><a href="http://eclipsecolorthemes.org/?view=theme&id=2" target="_blank">Zenburn for Eclipse</a></li>
<li><a href="http://slinky.imukuppi.org/2009/06/21/zenburn-for-easyeclipse-for-python-131/" target="_blank">Zenburn for EasyEclipse for Python 1.3.1</a></li>
<li><a href="http://www.codinghorror.com/blog/2006/09/is-your-ide-hot-or-not.html" target="_blank">Is Your IDE Hot or Not?</a> </li>
</ul>
<div>
<br /></div>
Unknownnoreply@blogger.com26tag:blogger.com,1999:blog-8046818913454605257.post-58264919682904184442012-12-16T16:44:00.000-08:002013-09-30T13:19:44.961-07:00Google Apps standard account alternative - Zoho Apps Lite suite <div style="background-color: #f9f9f9; border: #CCC solid 1px; padding: 7px;">
<span style="font-family: inherit;">Note - Zoho's offerings for the various apps mentioned in this article may have changed. Please visit Zoho's <a href="http://www.zoho.com/" target="_blank">website</a> for the latest details.</span><br />
<span style="font-family: inherit;"><br />
Also see - <a href="http://looselytyped.blogspot.in/2013/09/google-apps-standard-account.html" target="_blank">Google Apps standard account alternative - Microsoft Outlook.com</a></span>
</div>
<br />
<h3>
<b>Google Apps Standard vs Zoho Lite</b></h3>
Recently, Google <a href="http://googleappsupdates.blogspot.in/2012/12/changes-to-google-apps-packages.html" target="_blank">discontinued</a> its free version of Google Apps for businesses. The free version of Google Apps, also known as Google Apps Standard, offered 10 user accounts per organization and access to free versions of all Google Apps - Google Mail, Google Drive/Docs, GTalk, Google Sites, Calendar and <a href="http://www.google.com/enterprise/apps/business/products.html" target="_blank">much more</a>. This free account was perfect for small businesses and startups. <br />
<br />
With the standard Google Apps account being discontinued, <a href="https://www.zoho.com/" target="_blank">Zoho</a> offers a very good alternative/replacement with a <a href="http://www.zoho.com/mail/blog/the-incredibly-shrinking-google-apps-free-edition-is-gone-zoho-committed-to-helping-small-businesses.html" target="_blank">free business account</a> for its apps called <a href="https://www.zoho.com/mail/zohomail-pricing.html" target="_blank">Zoho Lite</a>. Zoho Lite hosts 1 domain only and offers maximum 3 user accounts per organization with the free/personal versions of the following Zoho products available for each account - <br />
<ul>
<li><a href="http://mail.zoho.com/" target="_blank">Zoho Mail</a> - The lite/free version of Zoho mail offers -</li>
<ul>
<li><strike> 3 </strike> 5 user accounts (Zoho's Lite plan <a href="http://www.zoho.com/mail/zohomail-pricing.html" target="_blank">offerings</a> have changed including a new <a href="http://www.zoho.com/mail/referrals.html" target="_blank">referral program</a> which awards 5 bonus users per referral)</li>
<li>3 mailing groups</li>
<li>5GB storage per user account</li>
<li>Contact management</li>
<li>All standard features available in most email apps (labels, filters, forwarding, themes, archiving etc.)</li>
<li>IMAP and POP access (this means that Zoho Mail can also be configured with email clients like Outlook and Thunderbird)</li>
<li>Overall, Zoho Mail competes very well with GMail.</li>
</ul>
<li><a href="http://docs.zoho.com/" target="_blank">Zoho Docs</a> - </li>
<ul>
<li>1 workspace with 1GB storage per account. </li>
<li>Document version history</li>
<li>File sharing</li>
<li>Support for editing documents (Zoho Writer), spreadsheets (Zoho Sheet) and presentations (Zoho Show) online</li>
<li>Real-time collaboration with chat (similar to Google Docs) </li>
<li><a href="https://www.zoho.com/docs/zoho-docs-features.html" target="_blank">and more</a> </li>
</ul>
<li><a href="http://www.zoho.com/calendar" target="_blank">Zoho Calendar</a> - All standard calendar features like event sharing, invitations, reminders etc.</li>
<li><a href="http://chat.zoho.com/" target="_blank">Zoho Chat</a> - Chat is integrated with the Zoho mail interface (similar to Google Talk) and can be used separately as well. Zoho Chat also supports other instant messaging platforms (IM) like Google Talk, Facebook, Yahoo!, MSN, AIM and more.</li>
<li><a href="https://wiki.zoho.com/" target="_blank">Zoho Wiki</a> - As the name suggests, this is an online collaboration and knowledge sharing platform. The following wiki features are included under the Zoho Lite package - </li>
<ul>
<li>1 wiki per organization</li>
<li>3 wiki workspaces per organization</li>
<li>3 wiki users per organization (same as in Zoho Lite)</li>
<li>Total 50 MB attachment storage space</li>
<li>Unlimited pages and revisions</li>
<li>Does not support custom domain</li>
<li><a href="https://www.zoho.com/wiki/wiki-pricing.html" target="_blank">and more</a></li>
</ul>
<li><a href="http://discussions.zoho.com/" target="_blank">Zoho Discussions</a> - The <a href="https://www.zoho.com/discussions/pricing.html" target="_blank">free version</a> of Zoho Discussion is offered under the Zoho Lite plan.</li>
<li><a href="http://notebook.zoho.com/" target="_blank">Zoho Notebook</a> - Allows creating online note-books with revision history.</li>
<li>Zoho Bookmarks/Links - Integrated into the zoho apps dashboard. </li>
</ul>
<br />
<h3>
<b>Zoho is mobile ready</b></h3>
Zoho Docs has <a href="https://www.zoho.com/docs/mobileapps.html" target="_blank">apps</a> for iPhone, iPad and Android. Documents can also be accessed in read-only mode via Zoho's mobile website.<br />
<br />
Zoho Mail and Calendar are available via Zoho's <a href="http://m.zoho.com/" target="_blank">mobile website</a>.<br />
<br />
<h3>
<b>Signing up for Zoho Lite</b></h3>
You'll need a registered domain name for your business/organization before signing up for Zoho Lite. Once the domain name is registered, initiate the Zoho Lite sign up process through <a href="https://mail.zoho.com/mailsignup.do?plan=free" target="_blank">this link</a> and follow the instructions.<br />
<br />
<h3>
<b>Zoho Lite admin account</b></h3>
During the sign up process, you'll be asked to create a zoho personal account. This account will be the administrator account for your Zoho Lite business/organization account. This admin account will be used to create user accounts (@your-domain.com) and add/remove, enable/disable and configure Zoho apps for these user accounts.<br />
<br />
The admin account can also be updated to have an organization email address (@your-domain.com) later.<br />
<br />
<h3>
<b>Enabling and Configuring Zoho Apps</b></h3>
After your Zoho Lite sign up is complete including the domain verification, follow these steps to enable the various Zoho Apps available under the Zoho Lite plan -<br />
<ul>
<li>Login to Zoho Mail using your organization's admin account.</li>
<li>Click on the '<i><a href="https://mail.zoho.com/biz/cpanel.do" target="_blank">Control Panel</a></i>' link on the top right hand side.</li>
<li>Inside the control panel, click on the '<i>Applications</i>' menu entry.</li>
<li>Click on the '<i>Add Apps</i>' link next to the '<i>Office Suite</i>' title/heading.</li>
<li>Select the Zoho apps that you'd like to enable for each user account for your organization and save your selection.</li>
</ul>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1nVjGu7S_MH_rkjXqkG3wMNpgu6xx7ugbJQMguv7xxD3lzTdik3ChoY3XRzP5kmkFF5OXB7WjwzOHyCJ6gHx-yJIZboesKOgp0NQ36yJAghboJcfWmvPTs6GnZWy_V29C6RsBi_lUhA-S/s1600/zoho_control_panel_final.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1nVjGu7S_MH_rkjXqkG3wMNpgu6xx7ugbJQMguv7xxD3lzTdik3ChoY3XRzP5kmkFF5OXB7WjwzOHyCJ6gHx-yJIZboesKOgp0NQ36yJAghboJcfWmvPTs6GnZWy_V29C6RsBi_lUhA-S/s640/zoho_control_panel_final.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Configuring Zoho Apps from the Control Panel.</td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td><td class="tr-caption" style="text-align: center;"><br /></td></tr>
</tbody></table>
<br />
This is how the Zoho dashboard looks with all free Zoho Apps enabled. All apps can be easily accessed from the left navigation menu.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJnRKHHdQI7SCl2Qn8-eS20WV6kO0ZUze9FPIHbuTRl3gxMi0GZ-QrDBOm6s_BiYly8xqc7x_nhLYGktuhjAD1pP1Wm-MkIaELQIl8ctxy1vyz0FWuQEDI00O4INtDSJocq5-yimZ2At5/s1600/zoho_dashboard_final.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJnRKHHdQI7SCl2Qn8-eS20WV6kO0ZUze9FPIHbuTRl3gxMi0GZ-QrDBOm6s_BiYly8xqc7x_nhLYGktuhjAD1pP1Wm-MkIaELQIl8ctxy1vyz0FWuQEDI00O4INtDSJocq5-yimZ2At5/s640/zoho_dashboard_final.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Zoho Apps dashboard.</td></tr>
</tbody></table>
<br />Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8046818913454605257.post-8505629162380492192012-12-15T15:10:00.001-08:002013-03-08T16:10:07.040-08:00Alternatives for Twitter Bootstrap's affix navigation menu componentBootstrap provides an <a href="http://twitter.github.com/bootstrap/javascript.html#affix" target="_blank">affix navigation menu component</a> which can make a nav-bar sticky while scrolling within a certain section of a page. <br />
<br />
At the time of writing this article, this component is known to have cross-browser compatibility <a href="https://github.com/twitter/bootstrap/issues/4647" target="_blank">issues</a> which are not yet fully fixed in Bootstrap's version 2.1.1 - e.g. flickering and violent movement of the affix menu when it reaches the bottom of its defined scrolling area/limit.<br />
<br />
There are two jQuery based alternatives which can be used to provide a similar functionality -<br />
<ul>
<li>sitckyMojo - <a href="http://mojotech.github.com/stickymojo/" target="_blank">homepage</a> / <a href="https://github.com/mojotech/stickymojo/" target="_blank">github</a> </li>
<li>jQuery Stick 'em - <a href="http://viget.com/inspire/jquery-stick-em" target="_blank">announcement</a> / <a href="https://github.com/davist11/jQuery-Stickem" target="_blank">github </a>/ <a href="http://davist11.github.com/jQuery-Stickem/" target="_blank">demo</a></li>
</ul>
<br />
The only drawback in these alternatives is that when used with menus, they do not provide automatic highlighting of the current menu entry (which is in view) on scrolling as seen in Bootstrap's affix plugin.Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-8046818913454605257.post-26803448376764699222012-12-15T14:43:00.001-08:002013-02-24T22:20:16.556-08:00Fixing the jQuery scrollTo bug in Chrome and Safari<br />
<b>Introduction</b> <br />
The jQuery <a href="http://demos.flesler.com/jquery/scrollTo/" target="_blank">scrollTo plugin</a> provides a smooth scroll effect for navigating within a page. The target to scroll to can be provided in many ways - DOM element (id, class, jQuery element selectors), absolute position, relative position and much more.<br />
<br />
A common use of this plugin is to add 'scroll to top' buttons/links on a page. Clicking on these buttons/links would smooth-scoll to the top of the page. The animation effect and its duration can be controlled by setting the appropriate <a href="http://demos.flesler.com/jquery/scrollTo/#options-examples" target="_blank">plugin options</a>.<br />
<br />
<b>Issue</b><br />
If the target specified for scrolling is a CSS class/id applied to the HTML body tag, then the smooth-scroll does not work in webkit based browsers like Chrome<b>,</b> Safari and Dolphin (mobile browser).<br />
<br />
<b>Solution</b><br />
Instead of using a CSS class/id associated with the HTML body tag, create a separate HTML element (<div> or <a>) and use its class/id for the scrollTo plugin. This element should be styled appropriately to ensure that it is positioned at the top of the page and its positioning is not affected by other elements and vice versa.<br />
<br />
<b>Example</b><br />
jsFiddle - <a href="http://jsfiddle.net/U6gFZ/1/" target="_blank">http://jsfiddle.net/U6gFZ/1/</a><br />
<br />
Code -<br />
<br />
<pre class="brush:html"><html>
<head>
<!-- CSS style to position the placeholder element at the top of the page and making it unobtrusive -->
<style type='text/css'>
#top {
padding: 0px;
margin: 0px;
width: 0px;
height: 0px;
position: absolute;
top: 0px;
}
</style>
<!-- include jQuery and scrollTo plugin's javascript files -->
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></script>
<script type='text/javascript' src='http://demos.flesler.com/jquery/scrollTo/js/jquery.scrollTo-min.js'></script>
<!-- initialize the scrollTo plugin on document load -->
<script type='text/javascript'>
$(document).ready(function() {
$('#scroll-to-top').bind('click', function(e) {
try {
e.preventDefault();
target = this.hash;
$('html, body').scrollTo(target, 1000);
} catch(error) {
alert('error - '+error);
}
});
});
</script>
</head>
<body>
<!-- the placeholder element for top of page -->
<div id="top"></div>
<!-- add some filler content -->
<div style='background-color: #FAA; width: 100px; height: 500px; border: #000 solid 1px;'></div>
<div style='background-color: #AFA; width: 100px; height: 500px; border: #000 solid 1px;'></div>
<div style='background-color: #AAF; width: 100px; height: 500px; border: #000 solid 1px;'></div>
<!-- 'scroll-to-top' link -->
<a id='scroll-to-top' href='#top'>Go to top</a>
</body>
</html> </pre>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-63295123113941137502012-10-23T16:30:00.000-07:002013-12-07T03:13:54.730-08:00Fixing USB mouse or laptop touchpad freeze and hanging in UbuntuAfter upgrading from Ubuntu 12.04 to 12.10, I occasionally started facing a problem with my touchpad. All of a sudden the left and right clicks would stop working. Left click only worked on the unity panel (on the left) and the top Ubuntu menu bar (which contains the clock, network and sound icons). These are <strike>two</strike> three possible solutions to this problem - <br />
<br />
<b>1) Restart the laptop touchpad or USB mouse</b> <span style="font-size: x-small;"><span style="font-family: inherit;"><sup>[1]</sup></span></span><br />
This can be done via the command line and does not require you to reboot or logout of your account.<br />
<br />
To restart the laptop touchpad -<br />
<ul>
<li>Open terminal (<span style="font-family: "Courier New",Courier,monospace;">ctrl + alt + t</span>) or press <span style="font-family: "Courier New",Courier,monospace;">alt + f2</span> to bring up unity's command lens.</li>
<li>Execute the following commands (recommended to run using <span style="font-family: "Courier New",Courier,monospace;">gksudo</span> but can be run using <span style="font-family: "Courier New",Courier,monospace;">sudo</span> as well) - </li>
<ul>
<li><span style="font-family: "Courier New",Courier,monospace;">gksudo modprobe -r psmouse </span>(removes the mouse interface from the linux kernel)</li>
<li><span style="font-family: "Courier New",Courier,monospace;">gksudo modprobe psmouse </span>(adds the mouse interface to the linux kernel)</li>
</ul>
</ul>
To restart a USB mouse -<br />
<ul>
<li>Open terminal (<span style="font-family: "Courier New",Courier,monospace;">ctrl + alt + t</span>) or press <span style="font-family: "Courier New",Courier,monospace;">alt + f2</span> to bring up unity's command lens.</li>
<li>Execute this command - </li>
<ul>
<li> <span style="font-family: "Courier New",Courier,monospace;">sudo /etc/init.d/hotplug restart</span></li>
</ul>
</ul>
Edit - If you're using a laptop, you can also try <a href="http://www.inforbiro.com/blog-eng/ubuntu-12-04-frozen-touchpad/" target="_blank">this option</a> (requires function keys). The function key combination might not be applicable on your laptop model.<br />
<br />
<b>2) Uncheck the 'Disable touchpad while typing' option</b> <span style="font-size: x-small;"><sup>[2]</sup></span><br />
This setting is specific to the laptop touchpad.<br />
<ul>
<li>Go to <span style="font-family: "Courier New",Courier,monospace;">System Settings -> Mouse and Touchpad</span> (under Hardware section)</li>
<li>Click on the <span style="font-family: "Courier New",Courier,monospace;">Touchpad</span> tab and uncheck the <span style="font-family: "Courier New",Courier,monospace;">Disable touchpad while typing</span> option.</li>
</ul>
<br />
<b>3) Ensure that the Unity HUD or any other Unity lens is off</b> <br />
I was watching a video in VLC fullscreen mode. I primarily use VLC's keyboard commands - <span style="font-family: Courier New, Courier, monospace;">ctrl + navigation keys</span> & <span style="font-family: Courier New, Courier, monospace;">alt + navigation keys</span> - to move around the playback. During playback I abruptly switched to another app. That's when I faced this problem yet again. I had already unchecked the option as mentioned in step 2 above sometime ago. I tried restarting my mouse by running the commands mentioned in step 1, but that didn't work as well.<br />
<br />
While I was using the browser via my keyboard (alt + tab to the rescue) and searching google for help, I happened to press <span style="font-family: "Courier New",Courier,monospace;">escape</span> <span style="font-family: inherit;">2-3 times and lo and behold, the mouse</span> started working again.<br />
<br />
And then it struck me! Whenever you have any unity lens open - the application, video, audio lens or even the <a href="https://wiki.ubuntu.com/Unity/HUD" target="_blank">HUD</a> - the only areas where you can click with the lens open are the unity panel on the left hand side and the top menu bar. You cannot click anywhere in the app display area when any lens is open. These were exactly the symptoms I was facing and it seems that pressing the <span style="font-family: "Courier New",Courier,monospace;">escape</span> button multiple times closed a lens which was open in the background (probably when VLC was in fullscreen mode).<br />
<br />
To reproduce the above mentioned problem - open a video in VLC and switch to fullscreen mode. Press <span style="font-family: "Courier New",Courier,monospace;">alt</span> once - this does bring up the HUD for VLC, but it does not show up in front. Now since the HUD is active (but not visible though), you won't be able to use any keyboard commands in VLC! Press <span style="font-family: "Courier New",Courier,monospace;">escape</span> once which will close the HUD and you'll be able to use VLC keyboard commands again.<br />
<br />
Alternatively, you can just open the unity lens once (by pressing the Windows/super button) and close it. This should fix the issue. <br />
<ul>
</ul>
<br />
References -<br />
[1] <a href="http://www.tuxtrix.com/2010/06/restarting-your-touchpadmouse-in-ubuntu.html" target="_blank">Restarting your touchpad/mouse in Ubuntu in simple steps</a><br />
[2] <a href="http://askubuntu.com/a/83774/67523" target="_blank">Trackpad freezes often [closed]</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-8046818913454605257.post-60609009247255788202012-10-20T14:33:00.004-07:002012-10-20T14:34:15.018-07:00Fixing the XAMPP/LAMPP phpMyAdmin access problem on UbuntuIf you get a message like this on accessing phpMyAdmin, check <a href="http://daksh21ubuntu.blogspot.in/2012/07/new-xampp-security-concept-problem-in.html" target="_blank">this</a> post for a fix - <br />
<br />
<blockquote class="tr_bq">
<h1>
Access forbidden!</h1>
<br />
<hr />
<div style="color: red; font-size: 1.2em; margin-left: 2.6em;">
New XAMPP security concept:</div>
Access to the requested object is only available from the local network.<br />
This setting can be configured in the file "httpd-xampp.conf".<br />
<hr />
<br />
If you think this is a server error, please contact
the <a href="mailto:you@example.com">webmaster</a>.
</blockquote>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-35115971116848564242012-10-06T08:35:00.001-07:002012-10-09T05:33:14.075-07:00Backstetch - An awesome jQuery plugin for dynamically resizing background images to occupy full size!Backstretch is a simple yet awesome jQuery plugin that lets you add background images to the whole page or specific div/blocks covering the full area.<br />
<br />
While this can be achieved using CSS3's <a href="http://www.w3schools.com/cssref/css3_pr_background-size.asp" target="_blank"><code>background-size</code></a> property (using <code>'cover'</code> as the value or the appropriate fixed/percentage length and width), there are still some issues with this approach -<br />
<ul>
<li>This property is not supported by IE7 and IE8. Support was added in IE9.</li>
<li>You need to ensure that the dimensions of your body tag, especially the height, is set correctly to cover the full screen. This can be tricky to achieve across all browsers especially if your page content does not span the entire screen height or exceed it.</li>
</ul>
<br />
Backstretch automatically determines the dimensions and stretches the background images so that they cover the full area. And backstretch does this without skewing the width to height ratio which is an added advantage.<br />
<br />
Background images can also be added as fully-stretched slideshows using backstretch!<br />
<br />
And it's simple too. Adding a fully stretched background image to the whole page can be done in just one line with a single backstretch function call -<br />
<br />
<pre class="brush:html"><!-- add jQuery before adding the backstretch plugin -->
<script src="jquery.min.js"></script>
<!-- add the backstretch plugin -->
<script src="jquery.backstretch.min.js"></script>
<script type='text/javascript'>
$(document).ready(function() {
$.backstretch("http://site.com/background-image.jpg");
});
</script></pre>
<br />
Check out the <a href="http://srobbin.com/jquery-plugins/backstretch/">official backstretch page</a> for download, demos and more.<br />
<br />
Note: You can use this <a href="http://www.infobyip.com/testwebsiteresolution.php" target="_blank">screen resolution simulator</a> website to test your web page with different resolutions after adding backstretch.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8046818913454605257.post-82625243696979479772012-08-28T10:04:00.001-07:002012-10-20T14:35:52.749-07:00Swing development tip: Migrate event listeners when setting modelsChange this -<br />
<br />
<pre class="brush:java">public void setTableModel(TableModel tableModel) {
this.tableModel = tableModel;
}
</pre>
<br />
to this -<br />
<br />
<pre class="brush:java">public void setTableModel(TableModel tableModel) {
//migrate listeners
if(this.tableModel != null) {
if(this.tableModel.getTableModelListeners() != null) {
for (TableModelListener p : this.tableModel.getTableModelListeners()) {
tableModel.addTableModelListener(p);
}
}
}
this.tableModel = tableModel;
}
</pre>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-83974511192467700902012-07-18T14:51:00.001-07:002013-02-24T22:20:14.858-08:00How to display an empty div in HTML using CSSEmpty div(s) collapse only if its height is not set. Thus setting height/min-height of the empty div will show it correctly.<br />
<br />
To avoid specifying any explicit height, set the CSS min-height property as below -<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: 'Courier New', Courier, monospace;">min-height: 1px;</span></blockquote>
<br />
Other references/options/tricks -<br />
<br />
<ul>
<li><a href="http://stackoverflow.com/questions/1616879/is-it-possible-to-render-empty-div-style-width50-div-with-css-in-xhtml">http://stackoverflow.com/questions/1616879/is-it-possible-to-render-empty-div-style-width50-div-with-css-in-xhtml</a>
</li>
<li><a href="http://stackoverflow.com/questions/6177593/why-does-my-empty-div-collapse-although-it-has-a-width-when-display-inline-is-us">http://stackoverflow.com/questions/6177593/why-does-my-empty-div-collapse-although-it-has-a-width-when-display-inline-is-us</a>
</li>
<li><a href="http://stackoverflow.com/questions/1479239/how-to-force-an-hiddenempty-div-to-take-up-space">http://stackoverflow.com/questions/1479239/how-to-force-an-hiddenempty-div-to-take-up-space</a>
</li>
</ul>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8046818913454605257.post-53509808340638417012012-06-10T01:07:00.002-07:002012-10-19T11:55:06.732-07:00Enable/Disable Unity/Compiz Window Animations and Visual Effects in Ubuntu 12.04 (Precise Pangolin) and Ubuntu 12.10 (Quantal Quetzal)<div>
<h3>
For Ubuntu 12.04 (Precise Pangolin)</h3>
To turn on/off Unity/Compiz window animations and visual effects in Ubuntu -</div>
<ul>
<li>Go to System Settings from the Ubuntu dash</li>
<li>Under 'Personal', click on the 'MyUnity' icon</li>
<li>In the 'MyUnity' window, go to 'desktop' tab and set the 'Windows animations' property accordingly.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3PxVyPPFzmxBV0wGm3HswTUZd34wdBd1RFFIWWLpw8_z0xHvS58UOoIBoZsrHZue29a1p_GDLpOYzLq8RahB8mDmWeaMgZU6H-QcnwJnHaErYJWH3ba87RZmQyGK4QP0dS4A4ILa3Vnzd/s1600/ubuntu_unity_window_animations.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3PxVyPPFzmxBV0wGm3HswTUZd34wdBd1RFFIWWLpw8_z0xHvS58UOoIBoZsrHZue29a1p_GDLpOYzLq8RahB8mDmWeaMgZU6H-QcnwJnHaErYJWH3ba87RZmQyGK4QP0dS4A4ILa3Vnzd/s320/ubuntu_unity_window_animations.png" width="320" /></a></div>
<h3>
</h3>
<h3>
</h3>
<h3>
For Ubuntu 12.10 (Quantal Quetzal)</h3>
<ul>
<li>Install the <a href="https://launchpad.net/ubuntu/+source/compizconfig-settings-manager" target="_blank">CompizConfig Settings Manager</a> application</li>
<ul>
<li>This is available via Ubuntu Software Centre</li>
<li>For installing via apt - <span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install compizconfig-settings-manager</span></li>
</ul>
<li>Start the application and go to Category > Effects from the left panel</li>
<li>Enable or disable effects as desired.</li>
</ul>
Note: MyUnity does not work with Ubuntu 12.10. This is a <a href="https://bugs.launchpad.net/myunity/+bug/1009590" target="_blank">known bug</a>. Also, the MyUnity package was <a href="http://www.ubuntuupdates.org/package/core/quantal/universe/base/myunity" target="_blank">removed</a> from the Ubuntu 12.10 repository.<br />
<br />
Reference: <a href="http://www.upubuntu.com/2012/06/11-tips-to-speed-up-computers-running.html">11 Tips To Speed Up Computers Running Ubuntu 12.04/Linux Mint 13 (Maya)</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-8046818913454605257.post-31594897898906611192012-04-28T05:22:00.001-07:002012-10-20T14:56:43.418-07:00Auto-mounting drives on Ubuntu at startupFind out the device name of the partition you want to mount. Check under /dev or open the partition in nautilus (Ubuntu's file browser/explorer) and run the "mount" command in terminal to identify the device name e.g. <span style="font-family: "Courier New",Courier,monospace;">/dev/sda3</span><br />
<br />
Go to Ubuntu dash (top right) -> Startup Applications<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyaPlNy4TypqhiP4blvhedyJZ1liYDd8o8yFlRJFZXCyyenyu3trW0Bdpo4uzVMEgQru2-qEhSuPgq6O0Xm0YYn5TVUwLB_SDmzPpno6VZuHdUD3wceg_q5kF7qncLuwQLFo7MLkZXaktm/s1600/ubuntu+startup+applications.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyaPlNy4TypqhiP4blvhedyJZ1liYDd8o8yFlRJFZXCyyenyu3trW0Bdpo4uzVMEgQru2-qEhSuPgq6O0Xm0YYn5TVUwLB_SDmzPpno6VZuHdUD3wceg_q5kF7qncLuwQLFo7MLkZXaktm/s1600/ubuntu+startup+applications.png" /></a></div>
<br />
Add a new startup application as shown in the image below and you're all set! Command : <span style="font-family: "Courier New",Courier,monospace;">/usr/bin/udisks --mount /dev/sda3</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYS759-IiobDjKaoQ5GPmm1FtLkiVGYpqb761BL6mtn2AFdE9MXsPyaJl7NDwDDpg8kln74YcOSgYQQi858qKNC6CPXKdD7l9OCJCHyNlNoA8hSAAdxYvz63LTVAuQR5Ibk7isRwifoNMn/s1600/Add+Startup+Program_001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYS759-IiobDjKaoQ5GPmm1FtLkiVGYpqb761BL6mtn2AFdE9MXsPyaJl7NDwDDpg8kln74YcOSgYQQi858qKNC6CPXKdD7l9OCJCHyNlNoA8hSAAdxYvz63LTVAuQR5Ibk7isRwifoNMn/s400/Add+Startup+Program_001.png" width="400" /></a></div>
<br />
The drive will be mounted automatically when you login to Ubuntu. This solution works on Ubuntu 11.10 (Oneiric), Ubuntu 12.04 (Precise Pangolin) and Ubuntu 12.10 (Quantal Quetzal).<br />
<br />
For further details, more advanced settings and system-wide mounting, check - <a href="https://help.ubuntu.com/community/AutomaticallyMountPartitions">https://help.ubuntu.com/community/AutomaticallyMountPartitions</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-76291803858177899192012-04-27T17:35:00.001-07:002013-09-28T13:29:53.093-07:00Changing the default editor in Ubuntu<ul>
<li>Open terminal (ctrl + alt + t) and type "<span style="font-family: "Courier New",Courier,monospace;">sudo update-alternatives -–config editor</span>"</li>
<li>This will show all available editors </li>
<li>Enter the number of the editor that you want to set as default and press the Enter key (and you're done!)</li>
</ul>
<br />
Another way to do this via the GUI is described here - <a href="http://www.addictivetips.com/ubuntu-linux-tips/2-ways-to-change-default-text-editor-in-ubuntu/">http://www.addictivetips.com/ubuntu-linux-tips/2-ways-to-change-default-text-editor-in-ubuntu/</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-68829454199998287722012-04-27T17:32:00.000-07:002013-09-29T04:58:14.691-07:00Changing the sudo timeout in UbuntuBy default, Ubuntu remembers the sudo login for 15 minutes - this means you won't be prompted for your password for performing sudo operations for 15 minutes following a successful sudo login.
This could be risky and can be changed so that the sudo password will be prompted for on every sudo login irrespective of the duration/timeout -<br />
<ul>
<li>Open terminal and type "<span style="font-family: "Courier New",Courier,monospace;">sudo visudo</span>"</li>
<li>Locate the "<span style="font-family: "Courier New",Courier,monospace;">Defaults ....</span>" line as shown in the image below</li>
<li>Add this to the end of the line - "<span style="font-family: "Courier New",Courier,monospace;">,timestamp_timeout=0</span>"</li>
<ul>
<li>Setting the timeout to 0 will prompt for the sudo password on every login. Alternatively this timeout can also be set to a number - e.g. setting it to 5 will remember the sudo password for 5 minutes.</li>
</ul>
<li>Save the file and exit</li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsQ-B-MkNnPiWIUpq2o21LWMHCg19nqdqcrHO475NYs3Ffi-73bkIhImQkOwUoAZQIFkmIGUq7xfn63WU4VK1QFnB3KhyT633d8TZ3BcXZ33LOpqgn5JeVKjblFIvmkljhUvpnFaEdI4j4/s1600/Screenshot+from+2012-04-28+05:55:05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="107" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsQ-B-MkNnPiWIUpq2o21LWMHCg19nqdqcrHO475NYs3Ffi-73bkIhImQkOwUoAZQIFkmIGUq7xfn63WU4VK1QFnB3KhyT633d8TZ3BcXZ33LOpqgn5JeVKjblFIvmkljhUvpnFaEdI4j4/s400/Screenshot+from+2012-04-28+05:55:05.png" width="400" /></a></div>
<br />
Further reference<br />
<ul>
<li><a href="https://help.ubuntu.com/community/RootSudoTimeout">https://help.ubuntu.com/community/RootSudoTimeout</a></li>
</ul>
<ul>
</ul>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8046818913454605257.post-9682028604978951212012-04-21T14:08:00.001-07:002012-10-20T14:37:05.557-07:00Preventing/Disabling Automatic Shutdown/Hibernate on Critical Battery Level in UbuntuIn Ubuntu 11.10, the critical battery level behaviour can be controlled view the Settings -> Power. But it has 2 options only - shutdown & hibernate. Either of these options will immediately shutdown/hibernate Ubuntu on critical battery level.<br />
<br />
<br />
To gain more control over this -<br />
<ol>
<li>Install <a href="http://live.gnome.org/dconf" target="_blank">dconf editor</a>. This is available on Ubuntu software centre as well</li>
<li>Open the dconf editor (terminal > type <span style="font-family: "Courier New",Courier,monospace;">dconf-editor</span>)</li>
<li>Navigate to <span style="font-family: "Courier New",Courier,monospace;">org > gnome > settings-daemon > plugins > power</span></li>
<li>Set the <span style="font-family: "Courier New",Courier,monospace;">critical-battery-action</span> option as required.</li>
</ol>
Settings the critical-battery-action to <span style="font-family: "Courier New",Courier,monospace;">interactive</span> will display a popup asking you what to do as shown below with a automatic-shutdown-timer of 60 seconds -<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRU5LYzRVX-lNdWDGuTI4GyO6SgQutg6gsOf2VIbOrrPUVjBVjwJmcrh2DwoALOmnfwM4mSLUZqNTHgiMDbFyiVXBjpU_Y0esMF7fEAga-_vMl_WHbPb2UrdMopCybWcY25gERSzdLaBXk/s1600/ubuntu+critical+battery+prompt.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRU5LYzRVX-lNdWDGuTI4GyO6SgQutg6gsOf2VIbOrrPUVjBVjwJmcrh2DwoALOmnfwM4mSLUZqNTHgiMDbFyiVXBjpU_Y0esMF7fEAga-_vMl_WHbPb2UrdMopCybWcY25gERSzdLaBXk/s400/ubuntu+critical+battery+prompt.png" width="400" /></a></div>
<br />
Edit: This option works for Ubuntu 12.04 (Precise Pangolin) and Ubuntu 12.10 (Quantal Quetzal) as well.Unknownnoreply@blogger.com0