Setting up VNC for GDM Login

Nov 12, 2009
Tested on: Ubuntu 9.10 (Karmic Koala) Ubuntu has a Remote Desktop server (Vino), which can be easily configured. But personally I found it to be too slow (even on 100Mbps connection) and there is no option to get it up & running before actual GDM login. One of the faster alternatives is x11vnc. It allows one to view remotely and interact with real X displays with any VNC viewer. Following are the steps to enable x11vnc...
Read more ...

Code Block for Blogger / Blogspot

Nov 12, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); Added following to template (Layout->Edit html) in body section: code { font-family: Courier; margin:.75em 0; border:1px dashed #CCC; padding:5px 15px; display: block; background-color: #F4F5F7; overflow: auto; white-space: pre; } Above box itself is result of <code>...</code> tag. An example:code block retains the whitespace ...
Read more ...

Install style files in LyX

Sep 19, 2009
LyX is a frontend to LaTeX and so installation of any style file in LyX essentially mean: (1) installation of that style file in underlying LaTeX; and then (2) getting that style file work in LyX (using LyX layout files). Installation method for different types of style files are given below: Install LaTeX class (.cls) create new directory with name <your-class-name> under /usr/share/texmf-texlive/tex/latex/ copy <your-class-name>.cls...
Read more ...

Useful applications in Ubuntu

Sep 16, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); Wallpaper-tray: Automatic wallpaper changing utility Graphical Disk Map: Hard-disk space visualizer MusicBrainz Picard: MusicBrainz music tagger, Cross-platform CheckGmail: Alternative Gmail Notifier for Linux Dropbox: Online sync, backup and sharing utility, Cross-platform HandBrake: Video converter (for iPods) UbuntuTweak: GUI based configuration tool, for beginners Mendeley...
Read more ...

Disable Autorun & Autoplay in Xp

Sep 16, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); Prevents the spread of autorun.inf viruses from flash drives (or any kind of removable drives. Autoplay: Download disable_autoplay.reg and double click to run. Accept yes to all dialog boxes. Restart your computer. Autorun: Download disable_autorun.reg and double click to run. Accept yes to all dialog boxes. Restart your computer. [ Reference(s): Link1, Link2,...
Read more ...

Emacs Cheat Sheet

Sep 11, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); C-x is same as Ctrl-x M-x is same as Alt-x <#> represents a numeric value FILE    Open    C-x C-f    Save    C-x C-s    Save As    C-x C-w    Save All    C-x s    Close Buffer    C-x k    Quit    C-x...
Read more ...

Change default Home, Desktop and documents path in Ubuntu

Sep 11, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); Edit ~/.config/user-dirs.dirs and set your desired path. [ Reference(s): Ubuntuforums ]   var obj0=document.getElementById("adsmiddle16025739931566393366"); var obj1=document.getElementById("adsmiddle26025739931566393366"); var s=obj1.innerHTML; var r=s.search(/\x3C!-- adsense --\x3E/igm); if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);...
Read more ...

ProFTPD Virtual User Setup with AuthUserFile

Sep 10, 2009
Edit or add following to proftpd.conf AuthOrder mod_auth_file.c AuthUserFile /etc/proftpd/ftpd.passwd AuthGroupFile /etc/proftpd/ftpd.group RequireValidShell off Get uid and gid cat /etc/passwd | grep <username> cat /etc/group | grep <groupname> Add users to ftpd.passwd ftpasswd --uid <uid> --gid <gid> --gecos "Full Name"...
Read more ...

Disable ipv6 in Ubuntu

Sep 10, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); sudo gedit /etc/modprobe.d/aliases Find the line: alias net-pf-10 ipv6 Edit this to: alias net-pf-10 off Save the file and reboot Check ipv6. There should not be any output to any of the following commands. ip a | grep inet6 lsmod | grep v6 change network.dns.disableIPv6 to true in about:config of Firefox. [ Reference(s): Ubuntuforums ]   var obj0=document.getElementById("adsmiddle17104257260674141517"); var...
Read more ...

Picasa 3 behind proxy in Ubuntu

Sep 10, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); cd to /opt/picasa/bin/ OR /opt/google/picasa/3.0/bin then execute: ./wrapper regedit navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings edit or create binary/dword value ProxyEnable with value 1. edit or create string value ProxyServer with value proxy:port For example, if 144.16.192.245 is your proxy address and 8080 is port...
Read more ...

Canon PIXMA iP1700 driver on Ubuntu

Sep 10, 2009
(or use windoze on virtualbox non-OSE edition with usb support) Add following lines to sources.list deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./ deb-src http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./ Install packages: libcnbj-2.6 bjfilter-2.6 pstocanonbj Use Canon iP2200 drivers in CUPS settings. (adsbygoogle = window.adsbygoogle || []).push({}); [ Reference(s): Link1, Link2, Link3 ]  var...
Read more ...

Firefox - Addons

Sep 8, 2009
Use "Siphon" to sync addons across different computers. Adblock Plus AutoCopy Auto Context -  user popup menu on text selection AutoHideStatusbar Bar Tab Better Gmail Better Youtube Clear Cache button / Clear Private Data Context Search - adds option to select search engine on right-click context menu Define Word / Define DownloadHelper Download Statusbar Fission Flashblock (adsbygoogle = window.adsbygoogle...
Read more ...

Hyperlinks on mouseover tooltips - Firefox

Sep 8, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); (Similar to Opera) install Greasemonkey addon install Link Tooltip script, mirror link (rename to .js) Note: This script conflicts with WYSIWUG editors (like google sites, blogspot editor) and adds a title (url of the link) to the links, each time the editor is loaded. Add these sites in the list "excluded sites" of the script from Greasemonkey preferences to avoid...
Read more ...

Enable incompatible firefox-addons

Sep 8, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); (Due to firefox version check) add new boolean key extensions.checkUpdateSecurity and set it to false in about:config page. Starting from Firefox 3.6 new preference is used. Check MozillaZine page for details. Here are the steps for different versions: Firefox 3.6 & later: add new boolean key extensions.checkCompatibility.<firefox-version> and set...
Read more ...

About Fluky-Logs

Aug 31, 2009
(adsbygoogle = window.adsbygoogle || []).push({}); Disclaimer: The information in this web-log is often purely experimental and serve as a guideline to me. I am NOT responsible for any damage caused to any system on following these guidelines. You can follow these instructions at your own risk. I respect intellectual property rights and copyrights. I usually put a set of references in each post (hyperlinked or otherwise)...
Read more ...