Lyx IEEE Journal and Conference layout

These are the steps I followed to use IEEE formatting in Lyx:

  • Create IEEEtran directory
  • Download the latex file IEEEtran2.tar.gz from IEEE site and extract
  • Create a subdirectory named “bibtex”
  • Download the bibtex file IEEEtranBST1.tar.gz from the same IEEE site to this directory and extract
  • For Ubuntu, move IEEEtran directory to /usr/share/texmf-texlive/tex/latex/ and run texhash (requires sudo)
  • Run Lyx->Tools->Reconfigure and restart Lyx.
  • You should be able to select IEEEtran from Document Settings.

References

Advertisements

How to switch desktops on Ubuntu

This is how I switched my desktop from Xubuntu to Ubuntu. Different combinations are done with a similar approach. See the reference below for a detailed explanation.

  • sudo apt-get update
  • sudo apt-get install ubuntu
  • sudo update-alternatives --config usplash-artwork.so
    • Select artwork for the boot and shutdown screens, enter the following two commands in a Terminal window:
  • sudo update-initramfs -u
  • sudo dpkg-reconfigure gdm
    • However both Ubuntu & Xubuntu uses gdm, following step will resolve this problem
  • sudo gdmsetup
    • If this fails to launch a GUI window, first run sudo su and then type gdmsetup
    • Go to “Local” tab and select the Ubuntu theme

When you logon next time do not forget to select the “gnome” as the current session.

In my case compiz caused Ubuntu to consume a lot of CPU power so I uninstalled it:

sudo apt-get –purge remove compiz* libcompizconfig*

Reference

Secure VNC with SSL

A detailed explanation of how to make VNC work over SSL can be found here. Reading that and the e-mail discussions here, I’d like to summarize the procedure:

SERVER

  • Create the certificate stunnel.pem (Follow the instructions given at the link above)
  • Run VNC server: vncserver :5
  • Create a secure tunnel: stunnel -d 5950 -r 5905 -p /path/to/stunnel.pem
  • Download the source code of x11vnc. Copy the VncViewer.jar and SignedVncViewer.jar into a folder accessible by the webserver, e.g. “/vnc
  • Create an index.html file with the following content (replace YOUR-HOSTNAME with your hostname):
    <html>
    <body>
    <applet code="VncViewer.class" archive="VncViewer.jar" width="800" height="600">
    <param name="PORT" value="5950" />
    <param name="HOST" value="YOUR-HOSTNAME" />
    <param name="Open New Window" value="no" />
    <!-- the following helps in Opera:
    <param name="Cursor shape updates" value="Disable" />
    -->
    </applet>
    </body>
    </html>

CLIENT

From a web browser you can access to the following address:

http://YOUR-HOSTNAME/vnc

Even better, if you setup the directory under SSL domain:

https://YOUR-HOSTNAME/vnc

Howto disable visual bell

Are you annoyed as much as I am with the visual bell sound? Just type:

xset -b

to disable it. You can find more information about  visual bells at: Visual Bell mini-Howto