Author Archives: cviorel - Page 10

SSHMenu

SSHMenu is a GNOME panel applet* that keeps all your regular SSH connections within a single mouse click.

To install it on Ubuntu, add this entry to your /etc/apt/sources.list:
deb http://sshmenu.sourceforge.net/debian stable contrib
Then you have to import the repository key:
gpg --keyserver subkeys.pgp.net --recv-keys 4CC00851
gpg --export --armor 4CC00851 | sudo apt-key add -
Run:
sudo apt-get update
and then:
sudo apt-get install sshmenu-gnome
Here is a screenshot:

sshmenu

Get System Information Using the Terminal

Troubleshooting, upgrading, or just curious? Find out what’s in your system without opening the case. Using these Linux command line tools, you can get details about your hardware and distribution.

I’ve tested these commands in Ubuntu 7.10, but they should all work in other Linux distributions. Unless noted otherwise, all of this software is included by default with Ubuntu.

Graphics card:

– details about OpenGL, the Xserver, and your graphics card

– do you have direct 3d rendering?

– graphics card vendor

– specific graphics card model

– a simple 3d benchmark, prints frame rate to the terminal

– supported display resolutions

Audio:

– audio controller

– more audio device information

Software versions:

– current distribution and version

– packagename’s version and dependencies

– Linux kernel version

– all kernel details

Networking:

– Ethernet controllers

– networking interfaces, IP addresses, and more

Processor:

– all processors, clock speeds, flags, and more

– processor load average for the last 1, 5, and 15 minutes

– press C key to sort processes by CPU usage

Memory:

– amount of RAM and swap, and how much is being used for what

– total, used, and free memory shown in MB

– press M key to sort processes by memory usage

Hard disks:

– partitions, as well as their mount-points and usage in GB

– all partitions, their device names, and positions on disk

USB devices:

– USB buses and attached devices

Even more:

– monitor for hardware changes

– all PCI devices

(install from package hwinfo) – overview of all hardware, as well as more detailed info

– another program for listing hardware

– lists hardware with HTML output in the w3m web browser

– current time elapsed since last reboot, users, and load average

Set Drivel to Post to Your WordPress Blog

Drivel is a nice blog editor for Gnome. To install it on Ubuntu, run this in your terminal:
sudo apt-get install drivel
Now you need to configure Drivel to connect to your blog. Go to Applications -> Internet. Select Drivel Journal Editor.
When the dialog box appears, input your username and password into the first two textboxes. For Server Type, select Movable Type from the dropdown. Now the tricky part, for the server address you will need to enter the full path to the xmlrpc.php file on the server (for example http://www.yourdomain.com/yoursubdirectory/xmlrpc.php). Check the Remember password checkbox and the Automatically login checkboxes (if desired) and click the Log In button.

Happy posting!

Errors from scrollkeeper during updates from gutsy?

During the updates, you receive some weird errors about scrollkeeper.
To fix this, just run the fallowing command in your terminal:
sudo dpkg-reconfigure scrollkeeper
It will take a while, but you get the job done!

Installing Google Earth in Ubuntu (7.10 Gutsy)

If you like Google Earth then you will like it in Ubuntu. Installation is simple, here we go:
1. Open a terminal
Insert this code:
wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
2. When the file has finished downloading, insert this code in your terminal to install:
sudo sh GoogleEarthLinux.bin
3. The Google Earth Setup window opens, if the default installation paths are fine to you, click ‘Begin Install’
4. The program installs itself and when it has completed click ‘Start’.

Advanced mode (using Medibuntu repository):
1. Add Medibuntu to your sources.list, as well as its GPG key to your keyring. Make sure to use the correct sources.list that corresponds to your current distribution:
Ubuntu 6.06 “Dapper Drake”:
sudo wget http://www.medibuntu.org/sources.list.d/dapper.list -O /etc/apt/sources.list.d/medibuntu.list
Ubuntu 6.10 “Edgy Eft”:
sudo wget http://www.medibuntu.org/sources.list.d/edgy.list -O /etc/apt/sources.list.d/medibuntu.list
Ubuntu 7.04 “Feisty Fawn”:
sudo wget http://www.medibuntu.org/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list
Ubuntu 7.10 “Gutsy Gibbon”:
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
Then, add the GPG Key:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
2. Insert this code in your terminal to install:
sudo apt-get install googleearth
3. Enjoy!

Installing NoMachine NX on Ubuntu 7.10

NX allows you to run remote X11 sessions even across slow or low-bandwidth network connections, making it possible to start sessions from clients running on Windows, Linux, Mac OS X and Solaris platforms to servers running, at present, on Linux or Solaris. Note that development for extending server support to Windows and Mac OS X platforms is in progress.

NX, thanks to exclusive X protocol compression techniques and an integrated set of proxy agents, improves the power of the X Window System to transparently run graphical desktops and applications through the network, by reducing round-trips and implementing strict flow-control of data traveling through low-bandwidth links. Even on slow or low-bandwidth network connections, you can get impressive performance thanks to NX’s lazy encoding algorithm and NX’s capability to automatically tune itself to network bandwidth and latency parameters.

Moreover, NX also can connect to remote RDP and VNC servers, relying on the rdesktop and TightVNC clients by encapsulating the RDP or RFB session within the X11 session.

Here’s a screenshot:

Diagrams showing how NX works. (Copyright NoMachine)

Session shadowing

Desktop sharing

An X11 session

Look at the screenshots below to find out how to get started with NX:

First download the files for the server from here.

For Ubuntu, use NX Free Edition for Linux DEB – i386.

You’ll need to download three files: client, node and server.

Change your working directory to the location where you saved the package and install it by running from a console:

For detailed instructions on how to install the NX Client, NX Node and NX Server packages, please look here.
sudo dpkg -i nxclient_3.1.0-2_i386.deb
sudo dpkg -i nxnode_3.1.0-3_i386.deb
sudo dpkg -i nxserver_3.1.0-2_i386.deb

After installing the server, on your Windows computer, download nxclient for Windows and install it.

Once it’s installed, run it, and enter the IP address of your Linux computer to connect, give it a session name for your own reference, and choose your connection speed.

Here you can download the manual or you can view it online here.

KeyTouch – The easy way to enable multimedia-keys!

Screenshot-keyTouch 2.3

Keytouch allows the selection of profiles to select your keyboard model from a list in its database. If your keyboard is not present, you can “train” it by starting up keytouch editor and pressing the relevant keys whilst identifying them.

It comprises of two tools: KeyTouch – The tool to setup a keyboard that is already in the database.
KeyTouch-Editor – The tool to setup your keyboard by teaching it. You select your multimedia keyboards input, then press keys and indetify them from a drop down list. Save the configuration file when your done and simply import into Keytouch itself.

Installing KeyTouch & KeyTouch Editor
Open a terminal and enter these commands:
sudo apt-get install keytouch keytouch-editor

More details, here.

Nokia 6230 on Ubuntu

Wammu is mobile phone manager running on Linux, Windows and possibly other platforms, where Gammu and wxPython works.

To install it on Ubuntu issue the following command:
sudo apt-get install wammu
Here is a screenshot:
wammu-displaysms

To make your Nokia 6230 connect to Ubuntu using a bluetooth device, edit your ~/.gammurc file to contain:

[gammu]
port = xx:xx:xx:xx:xx:xx
connection = bluerfphonet
name = Nokia 6230
model =

Replace xx:xx:xx:xx:xx:xx with the MAC address of your phone.
To find out the MAC address of your phone, run:
hcitool scan

You can now launch Wammu and start playing with the phone.

gt5 – a diff-capable ‘du-browser’

gt5 is a console command which provides an easy to understand interface to show a detailed disk usage list. Due to its console nature, i recommend using this tool for remote computers too.

Install it on Ubuntu using the following command:
sudo apt-get install gt5

gPhone User Interface Walkthrough

In the following video, Sergey Brin and Steve Horowitz give us a short demonstration of Google’s new open source platform for mobile devices, Android.