Archives For November 30, 1999

This simple tutorial shows you how to change the hostname (also known as computer name) in Ubuntu 21.10 Impish Idri.

The computer name is a unique identifier given to each computer. It’s not a big deal for small home networks or single use home computers. It matters however in larger organizations where you need to be able to identify servers. The name is a single word with no spaces, it has only letters, numbers or a hyphen with up to 253 characters.

The default name was set during installing the Ubuntu system. You can however change it at anytime as you want. And here’s the universal way to do the trick in either Ubuntu desktop or server editions.

Tutorial Objectives:

  • Change Computer Name / Hostname in Ubuntu 21.10
  • Enjoy!

Change computer name until reboot:

To get started, first either connect to your Ubuntu server or open terminal by pressing Ctrl+Alt+T on keyboard or searching from the overview screen. When it opens, run command:

sudo hostname NEW_NAME

Replace ‘NEW_NAME’ in command with your desired computer name. And it will take place until reboot.

NOTE: the new name takes effect immediately but not visible until you start a new terminal window.

Change computer name permanently:

In most Linux distributions, you can edit the “/etc/hostname” configuration file to set new computer name.

1.) To do so, open terminal from start menu or connect to the command console of remote server, then run command:

sudo nano /etc/hostname

This command will edit the config file via nano, the universal command line text editor. You may replace it with your favorite text editor, such as gedit for GNOME desktop.

When the file opens, delete the old name and type a new one. And press Ctrl+X, then type y, and hit Enter to save changes!

2.) It’s important to edit /etc/hosts file to map the new name to 127.0.1.1 and/or the permanent IP address if any.

sudo nano /etc/hosts

NOTE: you have to set same name in both /etc/hosts and /etc/hostname to avoid networking issues. And save file by pressing Ctrl+X, type y, and hit Enter.

Finally reboot to apply change and enjoy!

The NetBeans is an integrated development environment (IDE) written in Java and can run on Windows, OS X, Linux, Solaris and other platforms supporting a compatible JVM.

NetBeans IDE lets you quickly and easily develop Java desktop, mobile, and web applications, as well as HTML5 applications with HTML, JavaScript, and CSS. The IDE also provides a great set of tools for PHP and C/C++ developers. It is free and open source and has a large community of users and developers around the world.

See What’s new in latest NetBeans IDE 7.4:

  • HTML5 development for Android and iOS devices
  • HTML5 development in Java EE and PHP applications
  • Editing support for Knockout and AngularJS frameworks
  • Java SE 8 Support
  • Redesigned JavaFX support according to JDK 8 architecture
  • Additional enhancements are listed on the NetBeans IDE 7.4 New and Noteworthy page.

For more about this release, see the NetBeans IDE 7.4 Release Information page.

This tutorial shows you how to install NetBeans IDE 7.4 in Ubuntu 13.10 & Linux Mint 16 using oracle’s own JDK + NetBeans Co-bundled distribution package. It also works on Ubuntu 14.04, Ubuntu 13.04, Ubuntu 12.04 and other derivatives.

Install Netbean IDE 7.4 on Ubuntu & Linux Mint

NetBeans IDE 7.4 works better and faster with JDK distribution, so first download the oracle’s Co-bundled package JDK 7u45 with NetBeans 7.4 Go and download:

      jdk-7u45-nb-7_4-linux-i586.sh for the 32-bit Linux System.
      jdk-7u45-nb-7_4-linux-x64.sh for the 64-bit Linux System.
Download NetBean IDE

Download NetBean IDE

Go to the Downloads folder, set the permission by right-click on the installer -> Properties -> Permissions tab -> check ‘Allow executing file as program’. Or just run command below in terminal (Ctrl+Alt+T):

chmod +x ~/Downloads/jdk-7u45-nb-7_4-linux*.sh

Now run the installer:

cd ~/Downloads && ./jdk-7u45-nb-7_4-linux*.sh

It brings up the install wizard:

Netbean IDE install wizard

Netbean IDE install wizard

Follow it. Finally you’ll get the NetBeans IDE 7 installed on your system:

NetBeans IDE 7.4 on Ubuntu 13.10

NetBeans IDE 7.4 on Ubuntu 13.10

(Optional) To uninstall Netbeans IDE 7.4, run the uninstall.sh from the installation directory

opera ubuntu 13.10

This tutorial shows how to install Opera browser in Ubuntu 13.10 Saucy Salamander or Linux Mint 16 Petra.

Opera is a web browser developed by Opera Software. The latest versions of Opera use the Blink layout engine, which is used in Chrome v28+.

The latest Opera 12.16 for Linux is a recommended upgrade offering security and stability enhancements.

opera web browser in ubuntu 13.10

How to install Opera:

It’s very easy to install Opera in Ubuntu and its derivatives. Just download the Debian package from its official site. Or check your OS type (32-bit or 64-bit) and download the installer from Opera repository:

Opera 12.16 for 32-bit Ubuntu

Opera 12.16 for 64-bit Ubuntu

Once downloaded, double-click to install the package via pop-up Ubuntu Software Center or Gdebi. If you’re missing dependencies, run below command in terminal (Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/opera_12.16*.deb; sudo apt-get -f install

xfce theme manager

Xfce Theme Manager, an integrated theme manager for Xfce Desktop now is available for (X)Ubuntu 13.10 Saucy Salamander.

With this tool, you can manage:

  • GTK themes
  • window borders and controls
  • icon themes
  • cursors
  • wallpapers
  • panel size and style, backdrop adjustments, fonts and other view options

Screenshots:

xfce theme manager gtk

xfce theme manager gtk

xfce theme manager advanced

xfce theme manager advanced

xfce theme manager icons

xfce theme manager icons

To install Xfce Theme Manager in (X)Ubuntu 13.10 Saucy and Linux Mint 16 Xfce, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:rebuntu16/other-stuff

sudo apt-get update

sudo apt-get install xfce-theme-manager

Once installed, open it from Application Menu -> Settings -> Settings Manager -> Other -> Xfce-Theme-Manager

kid3 command line interface

Kid3 Audio Tag Editor has reached v3.0 with new features and improvements. It adds command-line interface kid3-cli and supports GStreamer 1.0.

If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Opus, Speex, TrueAudio, WavPack and WMA files (e.g. full albums) without typing the same information again and again and have control over both ID3v1 and ID3v2 tags, then Kid3 is the program you are looking for.

With Kid3 you can:

  • Edit ID3v1.1 tags
  • Edit all ID3v2.3 and ID3v2.4 frames
  • Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags
  • Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Speex, TrueAudio, WavPack, WMA, AIFF and WAV files
  • Edit tags of multiple files, e.g. the artist, album, year and genre of all files of an album typically have the same values and can be set together.
  • Generate tags from filenames
  • Generate tags from the contents of tag fields
  • Generate filenames from tags
  • Rename and create directories from tags
  • Generate playlist files
  • Automatically convert upper and lower case and replace strings
  • Import from freedb2.org, MusicBrainz, Discogs, Amazon and other sources of album data
  • Export tags as CSV, HTML, playlists, Kover XML and in other formats

What’s New in Kid3 3.0:
New:

  • Command-line interface kid3-cli.
  • Use common shared libraries for KDE, Qt-only and CLI versions.
  • Plugins for metadata libraries and importers.
  • Support Opus files with TagLib 1.9.
  • Support GStreamer 1.0.
  • Support libavresample 0.0.3.

Improved:

  • Editing without leaving the keyboard.
  • When saving a file fails, tell user if it is not writable.
  • Escape metacharacters in HTML export.
  • Updated Czech translation.
  • Updated Finnish translation.
  • Cleaned up configuration option sections.

Fixed:

  • Crash when saving non-FLAC file with flac extension.
  • Support minimum Mac OS X version 10.5.
  • Load Qt libraries only from bundle on Mac OS X.

DEBs for Ubuntu 12.04, Ubuntu 13.10 and installer for MAC OS, Windows are available in Kid3 homepage

Numix is a modern flat theme with a combination of light and dark elements. It supports Gnome, Unity, XFCE and Openbox.

This simple tutorials shows how to install Numix GTK as well as Numix icons on Ubuntu 13.10 Saucy, Ubuntu 14.04 Trusty, Ubuntu 13.04 Raring, Ubuntu 12.04 Precise and Linux Mint.

First take a look at screenshots:

numix gtk Ubuntu 13.10 Unity

numix gtk Ubuntu 13.10 Unity

numix icons ubuntu 13.10 unity

numix gtk & icons linux mint

numix gtk & icons linux mint

numix icons & gtk xfce4

numix icons & gtk xfce4

numix gtk & icons gnome shell

numix gtk & icons gnome shell

numix gtk & icons gnome shell

numix gtk & icons gnome shell

Install Numix GTK & Icons via PPA:

Numix project gets a launchpad PPA to make it easy to install Numix GTK, icons, wallpaper in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04 and their derivatives.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below one by one:

sudo add-apt-repository ppa:numix/ppa

sudo apt-get update

sudo apt-get install numix-gtk-theme numix-icon-theme numix-wallpaper-saucy

Once installed, use Gnome Tweak Tool, Unity Tweak Tool or other system tools to apply Numix theme and icons.

customize elementary os panel

This tutorial shows you how to customize your Elementary OS top panel, including background color and transparency, auto hide panel, and show or hide Applications launcher.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to edit the /usr/share/themes/elementary/gtk-3.0/app.css:

sudo scratch-text-editor /usr/share/themes/elementary/gtk-3.0/apps.css

eos panel config file

There you can change the value of panel background color and transparency as well as other colors, include Noise, Terminal, Notify, and more.

To apply changes, run:

pkill wingpanel

elementary os panel

To get slim wingpanel, run command below in terminal:

sudo apt-get install wingpanel-slim elementary-tweaks

Then go to System Settings -> Tweaks -> Wingpanel Slim, there you can enable slim wingpanel, auto-hide panel, show / hide launcher.

elementary tweak slim wingpanel

Finally, my panel looks like:

elementary os slim panel

save ubuntu backlight settings

As your may know, every time Ubuntu boots up you get the maximum level of screen brightness on laptop. Here’s a way to save your brightness by adding a startup script which will automatically adjust screen brightness when Ubuntu boots up.

Tutorial Objectives:

  • Save your screen brightness in Ubuntu 13.10
  • Enjoy!

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run commands below:

cat /sys/class/backlight/acpi_video0/max_brightness

It outputs the maximum level of your laptop backlight. Mine is 9. The minimum is 0.

Run command below to edit the /etc/rc.local file, which is a script executed at the end of each multiuser runlevel.

sudo gedit /etc/rc.local

Add following before the last line. Change 0 to the brightness level as you want (from 0 to the max)

echo 0 > /sys/class/backlight/acpi_video0/brightness

save-screen-brightness

gpx file format

Want to convert .gpx files to .dxf? Well, there’s an Nautilus extension which adds an option in your file browser’s context menu to make it easy to convert from gpx file format to dxf.

It is gpx2dxf. The developer has create a PPA to make it easy to install in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.04 Precise, Ubuntu 12.10 Quantal, Linux Mint 13/14/15/16 and other Ubuntu derivatives.

convert gpx to dxf

To get started installing this extension, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:atareao/nautilus-extensions

Then you can install it after checking for updates, run:

sudo apt-get update; sudo apt-get install gpx2dxf

Once installed, restart Nautilus by command nautilus -q to apply the changes.

If you don’t want to add the PPA, download the DEB or source tarball from the launchpad page.

Install Picapy, Picasa Web App in Ubuntu 13.10

Last updated: October 23, 2013

picasa web app ubuntu 13.10

Picapy is a Desktop App to manage your Picasa Web photos without opening a browser or installing Google’s Picasa Photo editor.

It works just like a file browser. Once logged in, you’re presented with a window displaying your Picasa Web albums. There you can add, edit or delete folders to your choosing. To edit/remove more than one folder use CTRL+Click.

picapy ubuntu 13.10

Install picasa via PPA:

The developer has created a PPA to make it easy to install in Ubuntu and its derivatives. So far, the PPA supports Ubuntu 13.10 Saucy Salamander, Ubuntu 13.04 Raring Ringtail, Ubuntu 12.04 Precise, Ubuntu 12.10, Linux Mint 13/15/14/16.

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:atareao/atareao

Then you can install it after checking for updates, run:

sudo apt-get update; sudo apt-get install picapy