Finding a Notepad++ alternative / replacement on Ubuntu

One of the most important utilities on any computer is a decent text editing tool. Since there are as literally hundreds of text-editors out there you would think it is an easy task to find a similar one for each platform.   by  Thomas Hawk  After years of trialing on various Windows platforms I have found Notepad++ to be the most useful of them all (closely followed by EMEditor which I used for years before Notepad++). Since I have now switched to Ubuntu completely it was necessary to find a permanent alternative on that platform since Notepad++ is only available on Windows. The requirements list in order of priority: Fast & Native (reading NOT Java or similar runtime requirements) Excellent Search & Replace (which is where most fail ....) Lightweight Simple GUI (reading NOT an IDE) Potential Candidates Scite Scite was my first try since it is based on the same engine as Notepad++. I have used it for a number of months but was never really happy with it. Issues with "Find in Files" functionality have been the final issue that make me move on. http://www.scintilla.org/SciTE.html Geany I came across this one very recently and after a short trial period grown to really like it. Apart   from it's silly name and very ugly icon it really has got the nicest overall balance of speed and functionality. And most importantly it also has very decent in-built search & replace functions. This includes "Find in Files" functionality which actually works. http://www.geany.org/ Vim (Cream) Since vim is my command-line text editor of choice for years I was…

Continue Reading

Turning the Toshiba Z830 into a Ubuntu Ultrabook

EDIT: Here are some tweaks if you install 12.04 (Precise Pangolin). Since I will have to do a fair amount of traveling in the next year I was in need of upgrading my trusted workhorse of Toshiba Qosmio F60 to a more portable option that will be easier on the shoulders during long travels. After doing some research into which of the major manufacturers offer the best support for a Linux based Operating System it came down to a final two: the Intel i7 variants of Samsung Series 9 and the Toshiba Z830. Thanks to these sites for some useful content: https://wiki.ubuntu.com/HardwareSupport/ http://www.linlap.com/wiki/toshiba+portege+z830-10f http://blog.stevenocchipinti.com/2011/12/toshiba-portege-z830.html http://www.bestultrabooks.co/ In the end it came down to Toshiba having full-size VGA, HDMI and Ethernet connectors at the rear of the unit (no need for carrying adapters) and getting a very decent price rebate for the Toshiba. The first and only task in the included Windows 7 OS was to create a recovery USB drive using the Toshiba included utility (on the desktop). You need a 12GB USB stick (found out the hard way after buying an 8GB version with the unit on advice of the sales guy). After booting from a USB stick created from the Ubuntu 11.10 ISO (http://www.ubuntu.com/download/ubuntu/download) with Ubuntu Bootdisk Creator (or alternatively UnetBootin) I opted to wipe the whole SSD drive. If you are not sure that you want to stick with Ubuntu it might be safer to try running from USB or dual-boot. Note: you need to use the USB3…

Continue Reading

Mobile Browser Testing on the Desktop

If you need to check websites for mobile compliance on a regular basis you know that having a device to constantly check is painful and slows down your work during debugging and phases of constant change.   by  adactio  There are a few tools that will make this work a lot easier: Google Chrome Chrome does have some nice dedicated plug-ins to help with this task Ripple Mobile Environment Emulator (https://chrome.google.com/webstore/detail/geelfhphabnejjhdalkjhgipohgpdnoc) appMobi HTML5 XDK (https://chrome.google.com/webstore/detail/onmkoldigcfmebcinpmineoadckalllb) Firefox I am not aware of any plug-ins like Chrome, but as a hack I have found it useful to employ a user-agent switching plugin to trick the browser User Agent Switcher (http://chrispederick.com/work/user-agent-switcher/) works well for this. Download the User Agent Switcher Add-on for Firefox Restart Firefox for the add-on change to take place. To start a new browsing session using an emulated browser, go to Tools > User Agent Switcher and select the appropriate mobile web browser you want to emulate To switch back to normal browsing, just select the default option from the above menu. If you need more specific UA Strings check here: http://www.zytrax.com/tech/web/mobile_ids.html For more serious work there are obviously dedicated emulators from the major Mobile OS vendors (but they need to be installed and configured for each platform): Android (http://developer.android.com/guide/developing/tools/emulator.html) iOS (http://developer.apple.com/devcenter/ios/) WinPhone (http://www.microsoft.com/download/en/details.aspx?id=13890) Nokia (http://www.developer.nokia.com/Develop/Web/) Opera (http://www.opera.com/developer/tools/mini/) WebOS (http://developer.palm.com/)   PS: Nothing substitutes final QA testing on actual devices ...  

Continue Reading

Virtualbox 4 install on Ubuntu

Since the default Ubuntu repository does not have the current version of VirtualBox (currently 4.1.x) here is the installation procedure via apt-get echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - sudo apt-get update sudo apt-get install virtualbox-4.1 To use USB devices on the clients you need to install the Extension Pack from the Oracle Site and install via the File --> Preferences. Hat tip to: http://www.webupd8.org/2011/04/virtualbox-ubuntu-1104-natty-narwhal.html

Continue Reading

Using Blackboard Collaborate (Elluminate) on Ubuntu

Like it or not (personally I am in the second category) Blackboard Collaborate or Elluminate (as it is still more commonly referred to) is something you have a hard time avoiding if you work in online education. I discovered that I have audio issues on some Ubuntu Linux machines and found the following to fix the issues. 1) Install alsa-aoss apt-get install alsa-oss 2) Save the Elluminate Java Webstard (.JNLP) file to a local folder - DO NOT OPEN IN BROWSER 3) Launch Elluminate using this command (in the folder you saved the JNLP) aoss javaws meeting.jnlp Thanks go to all people involved in this forum thread: http://ubuntuforums.org/showthread.php?t=1081899 EDIT: 1) This assumes you are already running Sun (Oracle) Java JRE not the default OpenJDK as apparently Blackboard Collaborate does not play nice with the default OpenJDK. I have described the install on 11.10 here. 2) Make sure you have updated the alternatives for javaws (install only sets the java alternatives). update-alternatives --config javaws    

Continue Reading

Setting up TV channels for DVB tuner cards in Ubuntu

Just some memory aid to help remember how to set up DVB cards in Ubuntu: apt-get install dvb-apps dvbstream w-scan w_scan -c AU -X > channels.conf You can use this channels.conf with a number of TV players (MeTV, MythTV,...) however I prefer the no-nonsense interface of VLC vlc channels.conf Here is the example output (for those in Adelaide, South Australia you can just save this into channels.conf): 7 Digital(Seven Network):177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1281:1282:1360 7 Digital 1(Seven Network):177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1281:1282:1361 7TWO(Seven Network):177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1313:1314:1362 7mate(Seven Network):177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1329:0:1363 7 Digital(Seven Network):177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:1281:1282:1364 Nine Digital(Nine Adelaide):191620000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:1105 GO(Nine Adelaide):191620000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:652:1106 GEM(Nine Adelaide):191620000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:513:0:1112 ONE(Ten Adelaide):219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:0:1617 TEN Digital(Ten Adelaide):219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:1621 ONE(Ten Adelaide):219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:514:0:1623 ELEVEN(Ten Adelaide):219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:516:681:1624 ABC News 24(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:2314:0:592 ABC1(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:593 ABC2 / ABC4(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:2307:2308:594 ABC1(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:512:650:595 ABC3(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:2311:2312:596 ABC Dig Music(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:0:2317:598 ABC Jazz(ABC):226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:0:2318:599 44 Adelaide(44Adelaide):543500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QPSK:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:100:101:3585 SBS ONE(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:161:81:833 SBS TWO(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:162:83:834 SBS 3(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:161:81:835 SBS 4(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:161:81:836 SBS HD(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:102:103:837 SBS Radio 1(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:201:846 SBS Radio 2(SBS):564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:202:847 ONE(Ten Adelaide):711500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:514:0:1617 TEN Digital(Ten Adelaide):711500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:512:650:1621 ONE(Ten Adelaide):711500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:514:0:1623 ELEVEN(Ten Adelaide):711500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:516:681:1624 service_id 833:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:161:81:833 service_id 834:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:162:83:834 service_id 835:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:161:81:835 service_id 836:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:161:81:836 service_id 837:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:102:103:837 service_id 846:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:0:201:846 service_id 847:760500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:0:202:847

Continue Reading

Ubuntu – create manual application launcher (Unity)

With every new release of Ubuntu I am becoming more resigned to the fact that the effort to revert back to the Ubuntu Classic (Gnome 2) interface is getting harder and sooner or later I will have to bite the bullet and learn to live with the ugly and more cumbersome Unity interface (specially since Gnome 3 seems to be even worse). One of the first issues I found is that there seems to be no easy way to manually add programs to the "Launcher" (as well as to the applications list). After some digging everything seems to be still via .desktop files in /usr/share/applications/ 1) Create the desktop file vim /usr/share/applications/eclipse.desktop 2) Copy the following into the file (Note: adjust application name and path) [Desktop Entry] Version=1.0 Type=Application Terminal=false StartupNotify=true Icon=/path/to/application/icon.xpm Name=Eclipse Comment=Programming IDE Exec=env UBUNTU_MENUPROXY=0 /path/to/application/eclipse Categories=Application;Development; 3) Update the desktop database update-desktop-database UPDATE: According to this article: http://www.omgubuntu.co.uk/2011/11/ubuntu-desktop-designers-clarify-on-configurability/ the Ubuntu developers have confirmed some more reconfigurability in future releases.

Continue Reading