Thursday, April 29, 2010

How to add a Terminal shortcut in the right-click menu

14 Jamadil Awal 1431H

The Linux Terminal, as shown in Pic 1, is similar to the Windows Command Prompt. The Terminal can be accessed from the panel as shown in Step 1 of Using Terminal in this post: How to update Ubuntu using Terminal or Update Manager.

Pic 1 - Linux Terminal.


The Terminal can also be accessed using a shortcut in the context menu (right-click menu) by right-clicking the mouse, or pressing the menu key on the keyboard. In the context menu, the shortcut to the Terminal is labeled as "Open in Terminal" as can be seen in Pic 8. To be able to use this shortcut, the Terminal shortcut needs to be added to the menu first. How to add it? The simplest and safest way to install is via the Ubuntu Software Center.


1. Run the Ubuntu Software Center. From the panel, click Applications > Ubuntu Software Center. Refer to Pic 2.

Pic 2 - Refer Step 1. Accessing Ubuntu Software Center from the panel.


2. Type "nautilus open terminal" in the search field. The auto-filtered results will be displayed instantly.

Select the "nautilus plugin for opening terminals in arbitrary local paths". Then click the More Info button. Refer to Pic 3.

Pic 3 - Refer Step 2. Ubuntu Software Center displaying the auto-filtered results according to the search term "nautilus open terminal".


3. To install the nautilus-open-terminal, simply click the Install - Free button.

Pic 4 - Refer Step 3. Click the Install - Free button to install the nautilus-open-terminal.


4. If a security window as shown in Pic 5 pops-up, type in your security password then click the Authenticate button. Otherwise, ignore this step.

Pic 5 - Refer Step 4. Authenticate.


5. The nautilus-open-terminal installation process is shown in Pic 6. Once the process is complete, reboot (restart) your laptop for the installation to take effect.

Pic 6 - Refer Step 5. The nautilus-open-terminal installation in progress.


[Update: 9 Feb 2012M] Thank you to Brian for suggesting this method and webpage on how to restart nautilus without having to reboot or log out:
How to restart nautilus without logging out?
"Then just open Nautilus and Open in Terminal is in the context menu" --Brian.


Pic 7 shows the absence of the Terminal shortcut in the context menu. This is after the installation is complete, but before rebooting.

Pic 7 - Refer Step 5. The context menu before rebooting.


Pic 8 shows the presence of the Terminal shortcut in the context menu, indicated as "Open in Terminal".

Pic 8 - Refer Step 5. The context menu after rebooting. The shortcut to the Terminal is indicated as "Open in Terminal".

Friday, April 23, 2010

Toshiba Satellite M100

9 Jamadil Awal 1431H

Not that this post has any significant relevance, just as written proof that an old system can run the lastest Linux. Also as an answer to others out there using the same hardware and asking themselves if it is possible to run Linux on their system.

This system was installed successfully on a Toshiba Satellite M-100 model.

- 14" wide screen
- Intel Centrino Duo processor.
- 4G RAM *upgraded few years ago*
- Harman/Kardon speakers *blown around April 2010*
- Battery no longer reliable. Won't last even a single second.



References
- http://www.notebookreview.com/default.asp?newsID=2876

Thursday, April 22, 2010

How to install/open/run a "*.bin" application/file/program in Ubuntu

8 Jamadil Awal 1431H

Ubuntu newbie questions i faced:
- I've downloaded a file named ForExample.bin, so what do i do next?
- How do i install a "*.bin" file?

Unlike the Windows' *.exe file, this *.bin file won't auto-execute when double-clicked. There are few extra steps to do before getting the file embedded into the system.


1. By default, files are downloaded into the Downloads file. Move the *.bin file to your Home file, i.e., Cut+Paste.


2. Run the Terminal. Applications > Accessories > Terminal.


3. On the Terminal, type the command:
chmod 755 NameOfBinFile.bin
This is to make the *.bin file executable.
Then press "Enter".


4. Type the command:
sudo ./NameOfBinFile.bin
This is to run the file and install the program.
Then press "Enter".


5. Follow the on-screen commands.



References
This post was written after testing DouglasD's answer to the question "How to open .bin files in linux (ubuntu) ??".



Footnote
Am facing sound trouble instantly after installing Audacity -- complete sound lost. Sound only exists when played in Audacity.

The previous remedy worked but silly me forgot to take note of the method and now the blog has moved, thus method is lost. Abang tried other methods and they partially worked. There's sound but the sound sounds bad, like speaker pecah (blown speakers).

Latest, Abang has tried updating to from Ubuntu 9.10 to Ubuntu 10.04 Beta but still the same speaker pecah problem. Even formatting from Ubuntu 10.04 Beta to Ubuntu 10.04 Beta *just trying* doesn't work.

Because of the formatting, some FireFox plug-ins are missing. So, for a page to display correctly, i need to install the missing plug-ins. Thus, this post/note.

Because of the formatting also, have yet to install Gimp and other programs, thus the picture-less post.