Skip to main content

Ubuntu: Easy steps to install and use Notepad++ and IE on Ubuntu

I like using Notepad++, but it is a windows program and is not available for Linux. There are some jQuery Mobile apps that I need to test on IE. I need a Windows platform. But my primary laptop has Ubuntu.

The solution is to use Wine and boy does it taste good!

First install wine
# sudo apt-get install wine

Download the latest notepad++ installer from http://notepad-plus-plus.org/ and launch it using wine.

# sudo wine <download folder>/npp.xxx.Installer.exe


This will launch the Npp installer and you can complete the fairly simple installation. Thats it, you are done !

Now you can just launch Npp and its a touchdown !
# cd ~/.wine/drive_c/Program Files/Notepad++
# ./notepad++.exe

There is a version of IE available too 
# cd ~/.wine/drive_c/Program Files/Internet Explorer
# ./iexplore.exe

This IE scores pretty decent on www.html5test.com.

Now how about try installing other Windows apps on Ubuntu and having more fun...

Comments

  1. Sir!

    Do you really need a Ubantu to run Windows apps?

    --Ganesh

    ReplyDelete
    Replies
    1. Well Ganesh I got rid of notepad++ .. found that jEdit does everything I wanted on ubunut :)

      Delete
  2. Ganesh, I would rather say do you really need any other OS when you have Ubuntu :) ... and no harm in porting some good apps from elsewhere ... correct?

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. I agree ... also all Apple products are very well designed and are of high quality ..

      Delete
  4. I really have no clue why you guys are so obsessed with Notepad. Howbeit, Ubuntu has a lack of good text editors, so I work with plain text documents with Sublime via WINE. I experienced some issues with file associations here recently, but I found a nice tool for Windows that fix all errors and allows me to open txt file https://wikiext.com/txt It's made for Windows, but works fine through WINE too. You should this very editor or another one like Emacs, instead of outdated Notepad.About IE I'm better off saying nothing...

    ReplyDelete

Post a Comment

Popular posts from this blog

Using duplicate IDs in HTML

Well today I'm being a bit controversial. Let us see what the HTML5 spec says about unique IDs in a HTML file. The  id  attribute specifies its element's  unique identifier (ID) . The value must be unique amongst all the IDs in the element's  home subtree  and must contain at least one character. The value must not contain any  space characters . An element's  unique identifier  can be used for a variety of purposes, most notably as a way to link to specific parts of a document using fragment identifiers, as a way to target an element when scripting, and as a way to style a specific element from CSS. Yes its been mentioned almost everywhere on the planet that ID must be unique. Now let us look at the below code, Launch dup.css #p2 {   background-color: yellow;  } dup-id.html <!DOCTYPE html> <html>   <head>     <title>Duplicate ID Tester</title> <link rel="stylesheet" href="dup.css" />  

Minimal required code in HTML5

I've encountered this question repeatedly of late. "What are the tags required at bare minimum for a html file?" Earlier there were a bunch of mandatory tags that were required for any html file. At bare minimum, the recommended structure was: (ref: http://www.w3.org/TR/html4/struct/global.html ) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML>   <HEAD>     <TITLE>A small HTML</TITLE>   </HEAD>   <BODY>     <P>Small HTML file!</P>   </BODY> </HTML> Yes, using capitals for the tags was the way to go! Those were the days of the purists and strict was the way to be. Now open your notepad and copy the above code, save the file as old.html and launch it in Chrome or Firefox. You will see only one line "Small HTML file!" shown. Now launch the developer tools in Chrome or Inspect Element in Firefox. Thi

Fixing Date, Time and Zone on RHEL 6 command line

Had to fix all time related issues on a remote RHEL 6 server which runs without any windowing system. Plain ol' command line. Documenting steps here for future reference: Check to see if your date and timezone settings are accurate: # date # cat /etc/sysconfig/clock The server I accessed had wrong settings for both the commands. Here are the steps I used to correct: Find out your timezone from the folder /usr/share/zoneinfo # ls /usr/share/zoneinfo Mine was pointing to America/EDT instead of  Asia/Calcutta Update and save the /etc/sysconfig/clock file to # sudo vi /etc/sysconfig/clock ZONE="Asia/Calcutta" UTC=true ARC=false Remove the /etc/localtime # sudo rm /etc/localtime Create a new soft link to your time zone # cd /etc # sudo ln -s /usr/share/zoneinfo/Asia/Calcutta /etc/localtime # ls -al localtime Now it should show the link to your time zone Set your hardware clock to UTC # sudo hwclock --systohc --utc # hwclock --show Update your t