Laptops Under 200

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 28 June 2011

The Importance of Running Applications Using Command-Line Interface in GNU/Linux

Posted on 08:45 by Unknown
These days you certainly don't have to rely on the GNU/Linux command-line interface that much even though it's the foundation of the entire operating system. This is because nowadays we have powerful GUI tools written in various toolkits such as GTK+/Qt, etc which makes the life of a someone who's even new to GNU/Linux much more "comfortable" without a doubt.

But quite ironically, many users, beside all those excellent package manager GUIs, etc still prefer to use the command-line when it comes to installing applications because unlike with a GUI where you have to go to the menu and open it then search and click on the "apply" button, etc... with a command-line tool (which is the "engine" these GUIs use anyway) all you gotta do is just copy and paste the command in to your Terminal and hit the "enter" key... the rest will be taken care of :D... especially with Debian based distributions such as Ubuntu for instance.

And the command-line, also known as the "Shell" (which is also known as "Terminal", which is again, another emulation of the original "command line interface" in a GUI environment such as in your Gnome/KDE desktop) is the way how operating systems used to get "orders" from the users since at that time there weren't any graphical user interfaces available thus the shell or the command-line was THE interface it self.

So it is a or "the" most powerful tool, especially in GNU/Linux OS to this day and perhaps always will be as long as the hackers have the authority.  

The "shell emulator" for the Gnome desktop... known as the Gnome Terminal...

Anyway because of its this powerful nature, did you know that you can actually use the command-line also as a way of fixing certain types of application related errors?. Of course not all the errors since some are "caused" by coding errors where there's nothing we as users can do about it but...

This is certainly not something new and is something that anyone like me who's got a decent knowledge of GNU/Linux knows that, concerning software (since the command line is the heart of GNU/Linux and its adaptation is in a much higher scale than I can image...) apart from installing, you can use the command line as a way of fixing certain errors that won't let you run the newly installed programs otherwise!.

For instance (this is just a singe example as I've seen this over and over again) sometime ago in my Ubuntu Laptop (11.04) I installed a software called NTFS-Config. Now I used the "apt-get" command to installed it but after the installation was over I closed the Terminal window and clicked on the icon on the menu to launch it. I waited for few seconds but nothing happened. Then I clicked on the icon again, but still nada, nothing happened.

So I realized the application  have failed to run ("oh Gayan, what an insight that is" :P).

The point is, the application didn't give me any errors or messages of any kind which would help me at lest to understand what was happening. Since I've been using (like many others) command line quite efficiently to getting fixed certain things in apps in the past, I opened the Terminal window and put the command that should launched the "ntfs-config" utility to see what information it can throw at me.

The same thing happened, it failed to launch but, unlike with the above method, this time I was able to see an "output" by the application which was "hidden" while it was running without using the command-line. Below is a portion of the error.
Traceback (most recent call last):
  File "/usr/bin/ntfs-config", line 102, in <module>
    main(args, opts)
  File "/usr/bin/ntfs-config", line 75, in main
    app = NtfsConfig()
  File "/usr/lib/pymodules/python2.7/NtfsConfig/NtfsConfig.py", line 56, in __init__
    os.mkdir(HAL_CONFIG_DIR)
OSError: [Errno 2] No such file or directory: '/etc/hal/fdi/policy' 
Now as you can see, although the whole "text" would get anyone a bit confused and I certainly have no idea what the heck that is all about, yet one line (in bold text) got my attention.

It basically says that "ntfs-config" cannot find a folder in "/etc/hal/fdi/policy" directory path. So I checked and realised that there isn't any folder by that name in that path!. So all I did was manually created the folders it said, "missing".

That's all I did and the next thing I did was reopened it via the standard menu and clicking on the icon and guess what?, this time it worked!.

So all I'm trying to say to all those who are new and learning GNU/Linux from scratch (I'm an average dude... trust me :D) haven't happened to know this yet... whenever an application fails to start after a successful installation, just run it using your command line.

Remember :- this obviously won't be able to fix all the errors since some are only fixable via accessing the original programming codes... in that case there's nothing anyone can do unless the original developers fix it.

But other small issues like the above mentioned one, etc, whenever something like that happens, try running that app in your Terminal because even if you can't figure it out and fix it, still most of the time, command line will at least be able to give some "feedback" to you which should help to finding a way to fix it. Again not all the time but heck, it might save you few "angry faces" :D. Good luck.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in learn linux, linux, tech help, tutorials | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to Install "The Board" in Ubuntu? (GTK+ written dedicated Digital Diary)
    If you frequently use your computer for hours and hours daily... then even after installing cool theme and other stuff to make the desktop l...
  • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of the best!)
    I maybe wrong on this one but I think the origin of the Qt written KDE desktop actually comes from the German programmers. But the point is ...
  • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use Disk Cloning Tool for GNU/Linux!
    Although for Microsoft Windows there are several excellent commercial and free applications available yet with GNU/Linux when it comes to di...
  • How to Access Few "Advanced Preferences" Settings in Nautilus File Manager?
    Nautilus is the default file management utility in Gnome desktop environment (which is also shared by the Ubuntu Unity as well). Although ...
  • Wipe - Secure File Delete Application for GNU/Linux
    Not just in GNU/Linux but in any operating system, just because you deleted the files from the hard disk drive doesn't mean that they...
  • Install Agave in Ubuntu - Excellent Color Palettes Creator for GNU/Linux!
    I think anyone would agree on the fact that both colors and our emotions (buggers... control our lives one way or the other :P) are bound to...
  • Have You Watched the "Free Software Song"?
    I saw this song (in video) for the first time few years ago while watching the Revolution OS, a movie which basically exposes the birth of G...
  • GDM Tweaker - A Tool For Changing GDM Background/Theme Easily
    Although Ubuntu decided to drop GDM from the future releases still with Ubuntu, setting up your GDM screen is almost impossible (you know c...
  • How to Build a New Computer under $200
    This article will present a brief tutorial explaining how to repair or build a Windows PC. More instruction will be added as time permits. B...
  • MediaInfo - An Advanced Audio/Video Tag "Reader" for GNU/Linux and MS Windows
    If you have installed the proper codecs in MS Windows and GNU/Linux, the operating system can read Tag information which holds information s...

Categories

  • 11.04 natty narwhal
  • 11.10
  • 3d rendering
  • addons
  • address books
  • adobe
  • adobe flash
  • adobe flash player
  • amarok
  • amarok for windows
  • andorid
  • android
  • android applications
  • android apps
  • android phones
  • android tablets
  • app launchers
  • apple
  • applets
  • application indicator
  • applications
  • applications for windows
  • archive managers
  • arios
  • art
  • arts
  • asus
  • asus eee pc
  • ati
  • ati catalyst
  • audio
  • audio converts
  • audio editors
  • audio encoders
  • audio players
  • audio tag editing
  • audio utilities
  • ayatana scrollbars
  • backup
  • backup tools
  • banners
  • batter saver
  • battery calibration
  • benchmark testing
  • bittorrent
  • bittorrent clients
  • blogger
  • blogger news
  • blogger platform
  • blogging
  • blogging tips
  • blogging utilities
  • blu-ray
  • boot loaders
  • BSOD
  • business card creator
  • Canonical
  • cd/dvd burners
  • chat clients
  • checksum checker
  • chrome
  • chrome addons
  • chrome os
  • chromium
  • clamav
  • cloud computing
  • cloud comupting
  • cloud storage
  • clutter
  • collaborative editor
  • command line
  • commands
  • community
  • compiz
  • computer repair
  • computers
  • cross-platform
  • data backup
  • data encrption
  • desklets
  • desktop environments
  • digital audio workstation
  • disk cloning
  • disk drive erasers
  • disk image burning
  • disk images
  • disk partition editors
  • display managers
  • distributions
  • docks
  • download managers
  • drawing tools
  • drivers
  • driving lessons
  • dropbox
  • dvd authoring
  • dvd backup
  • dvd creator
  • e-book managers
  • e-mail
  • e-mail clients
  • e-mails
  • eee pc
  • elementary os
  • email clients
  • emails
  • encoding
  • encorders
  • experiences
  • facebook
  • fedora
  • fedora core
  • fedora core 15
  • fedora core learn
  • feed readers
  • file management tools
  • file managers
  • file manegers
  • file recovering
  • file splitters
  • file systems
  • filesystems
  • finance
  • firefox
  • firefox 5
  • firefox 6
  • firefox addons
  • firefox5
  • firmware utilities
  • flash videos
  • flickr
  • fonts
  • frustrations
  • fun
  • gadgets
  • GDM
  • gentoo
  • gimp
  • gmail
  • Gnome
  • gnome 3 shell theme
  • gnome 3.2
  • gnome applications
  • gnome desktop
  • gnome shell
  • gnome3
  • gnu
  • gnu emacs
  • gnu-linux
  • gnu-linux distributions
  • goober
  • google
  • google chrome
  • google chrome extensions
  • google maps
  • GPU
  • graphic design
  • graphic utilities
  • grey screen of death
  • grub editors
  • gtk
  • gtk applications
  • gtk themes
  • gtk3
  • gtk3 themes
  • hardware monitors
  • hdd clone tools
  • hdd tools
  • health
  • hobbies
  • html5
  • icons
  • ideas
  • im clients
  • iMac computer repair
  • iMac error
  • image editiors
  • image organizers
  • image resizers
  • image utilities
  • image viewers
  • iphone
  • itunes
  • java
  • journal applications
  • kde
  • kde 4.6
  • kde applications
  • kde-qt
  • kernel
  • kubuntu
  • kubuntu 11.04
  • laptops
  • learn
  • learn linux
  • legal
  • libre office
  • life
  • lightdm
  • linux
  • Linux distributions
  • linux keyboards
  • linux mint
  • linux multimedia players
  • linux music players
  • loco teams
  • logmein
  • lubuntu
  • lxde vs xfce
  • mac osx
  • mandriva
  • media players
  • metacity
  • microsoft windows
  • mounting
  • mplayer
  • ms windows
  • multi-touch gestures
  • multimedia
  • multimedia codecs
  • multimedia converters
  • multimedia players
  • multimedia utilities
  • music players
  • mypaint
  • natty narwhal
  • nautilus
  • nautilus scripts
  • nautilus tips
  • netbooks
  • netbooks under 200-250
  • network monitoring
  • networking
  • news
  • nokia phone suite
  • note taking
  • ntfs
  • nvidia
  • office productivity suits
  • office suits
  • oneiric ocelot 11.10
  • online radio
  • online storage
  • open source
  • open-source
  • opensource
  • opensuse
  • operating systems
  • optical disk burners
  • optical disks
  • optimizations
  • package managers
  • painting tools
  • parent control
  • password generators
  • password managers
  • pdf editors
  • pdf readers
  • pdf tools
  • pim software
  • pinguy os
  • plasma
  • plugins
  • portable
  • portable applications
  • portable laptops
  • privacy
  • professional video editors
  • programming tools
  • project management software
  • proprietary drivers
  • python applications
  • qt
  • qt applications
  • qt4
  • registry cleaner
  • remote access
  • remote desktop access
  • reviews
  • roboform
  • rom flashing
  • rss readers
  • satellite trackers
  • scanning tools
  • screen recorders
  • screenshot taker
  • scripts
  • search engines
  • security
  • shell extensions
  • shell themes
  • skype
  • smart phones
  • software
  • software emulators
  • sound servers
  • source code editor
  • stack exchange
  • startup managers
  • stock market
  • swimming
  • system cleaner
  • system information
  • system monitors
  • tablet pcs
  • tablets
  • task killers
  • tech help
  • tech news
  • tech tips
  • technology
  • terminal emulators
  • text editors
  • text translators
  • themes
  • thunar
  • thunderbir
  • thunderbird5
  • tips
  • transformation packs
  • tutorials
  • tweaks
  • twitter
  • ubunt
  • ubuntu
  • ubuntu 11.10
  • ubuntu 11.10 alpha 3
  • ubuntu derivatives
  • ubuntu derrivatives
  • ubuntu minimal install
  • ubuntu netbooks
  • ubuntu news
  • ubuntu one
  • ubuntu tablet
  • ultrabooks
  • unity 2d
  • unity desktop
  • unity desktop apps
  • usb
  • utilities
  • vector graphics
  • video editors
  • video utilities
  • videos
  • virtualbox
  • virtualization
  • virus scanners
  • vlc
  • voip
  • wallpaper contest
  • wallpapers
  • weather apps
  • web browser addons
  • web browsers
  • webcam
  • weight loss
  • weird
  • widgets
  • window managers
  • windows
  • wine
  • xml editors
  • xubuntu
  • youtube

Blog Archive

  • ►  2012 (7)
    • ►  August (2)
    • ►  June (1)
    • ►  May (3)
    • ►  January (1)
  • ▼  2011 (515)
    • ►  December (3)
    • ►  November (1)
    • ►  October (16)
    • ►  September (57)
    • ►  August (59)
    • ►  July (81)
    • ▼  June (112)
      • Mandriva Linux 2011 RC1 Disk Images are Available ...
      • How to Install Virtualbox 4.0.10 in Ubuntu 11.04/1...
      • Wanna an Oxygen KDE Theme for Your Firefox Web Bro...
      • Ubuntu One Files - The Official Android App for Ub...
      • Vagalume - The Last.fm Music Client GUI (GTK+) for...
      • How To Install Nvidia 275.09.07 Driver in Ubuntu 1...
      • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of...
      • How To Install Instantbird (IM Client) in Ubuntu 1...
      • The Importance of Running Applications Using Comma...
      • Canonical Store Launches a Neoprene Laptop Sleeve!
      • How to Install Orta Theme Pack in Ubuntu 11.04 Nat...
      • How to Install Parole in Ubuntu (a GTK+ Written Me...
      • "We're Done With Linux", Says Nokia
      • Muon Suite 1.2 Beta 2 is Out (Qt Written Package M...
      • How to Install Firefox 5 in Ubuntu 10.04 and 10.10 ?
      • paprefs - An App to Configure PulseAudio Preferenc...
      • Install CPU-Fire Applet in Ubuntu 11.04 Natty Narwhal
      • Ekoore - The Ubuntu Linux 11.04 Powered Tablet PC ...
      • How to Make Gnome Desktop Automatically Change the...
      • DeVeDe - An Excellent DVD/SVCD/Divx Video Disk Cre...
      • How to Install Geeqie (Image Viewer) in Ubuntu Lin...
      • No More Synaptic (package manager) in Ubuntu Linux...
      • How to Install Gnome Mplayer in Ubuntu 11.04 Natty...
      • DejaDup - A Simple Backup Tool for GNU/Linux
      • Linux : Fedora 16 Might Switch to Btrfs File System
      • "Canonical Might Replace Firefox with Google's Chr...
      • The Excellent Linux Tablet PC - Called, "WeTab"!
      • How to Disable "Feedback" Button in Firefox 5?
      • "Multisystem" - Run Multiple GNU/Linux Operating S...
      • Install Tomboy-Pastebinit in Ubuntu - Sharing "e-n...
      • Install FAAC in Ubuntu 11.04 - AAC Audio Encoder f...
      • Wipe - Secure File Delete Application for GNU/Linux
      • CoolPreviews - Excellent Web Page Previewing Add-o...
      • How to Install Firefox 5 in Ubuntu 11.04 Natty Nar...
      • Notepad++ - A GNU Licensed, Source Code Editor for...
      • How to Update to the Latest Unity Desktop Version ...
      • Shrinkta - Backup DVD to hard drive Application, f...
      • Introducing Prerendering Technology into Google's ...
      • Wanna Install Firefox 5 in Ubuntu Linux 11.04 (tes...
      • Gaupol - A Video Subtitle Editor for GNU/Linux!
      • Install OggConvert in Ubuntu - A Theora Video Conv...
      • Install LiVES in Ubuntu 11.04 Natty Narwhal (a Vid...
      • How to Install ATI/AMD Catalyst Linux Driver 11.6 ...
      • How to Remove Nautilus Thumbnail Cache Folder in G...
      • Battery Calibration - An App for Android Mobile Ph...
      • Install Nanny in Ubuntu - A Parent Control System ...
      • How To Install Gparted in Ubuntu 11.04 (a disk Par...
      • Silicon Empire - An Excellent Qt Written Optical D...
      • Install Gpredict in Ubuntu (a Satellite Tracking S...
      • "Blog This" - Pretty Useful Browser Add-on for Goo...
      • Install "GConf Cleaner" in Ubuntu Linux (A "Regist...
      • How to Speed Up Video Thumbnail Previewing Times i...
      • Ubuntu Linux Powered Steampunk Laptop (Pre-order, ...
      • How to Delete User Account Passwords using Command...
      • Install MP3 Diags in Ubuntu 11.04 (Corrupted MP3 H...
      • How to Install gLabels in Ubuntu? (a Business Card...
      • How to Install F-Spot in Ubuntu Linux 10.10 and 11...
      • Install CameraMonitor in Ubuntu Linux (Notificatio...
      • How To Install Inkscape in Ubuntu Linux? (a Vector...
      • How to Install Acidrip in Ubuntu - The Best DVDRip...
      • Install Indicator Workspaces in Ubuntu 11.04 Natty...
      • Install MP3Splt in Ubuntu 11.04 Natty Narwhal ( A ...
      • How to Install Gimmix Music Player in Ubuntu Linux?
      • How To Install Ubuntu One Indicator Applet in Ubun...
      • How To Install Amarok in Ubuntu 11.04 Natty Narwhal ?
      • An Ubuntu 11.10 Oneiric Varsity Wallpaper from the...
      • How to Install Dragon Player (Written in Qt) in Ub...
      • How To Install SysPeek System Monitor Indicator in...
      • "Ubuntu Forever, Ubuntu No Limits!" - A Cool Wallp...
      • How To Install VLC 1.1.10 in Ubuntu 11.04 Natty Na...
      • MintLiner - A Beautiful Greeny GTK3 Theme for Gnom...
      • How to Install Conky in Ubuntu 11.04 Natty Narwhal?
      • How to Install Lame and Sound-Converter (GUI) in U...
      • Asus UX21 - An Impressively Thinner Yet A Powerful...
      • How To Install/Upgrade KDE 4.6.4 in Kubuntu 11.04 ...
      • Install the Qt Written k3b CD Kreator in Ubuntu 11...
      • How to Install Thunderbird 5 (beta) in Ubuntu 11.0...
      • How To Install Google Chrome 12 (stable) in Ubuntu...
      • How to Install Yakito in Ubuntu 11.04 Natty Narwha...
      • How to Install SMPlayer in Ubuntu 11.04 Natty Narw...
      • How to Install gthumb in Ubuntu (11.04/10.10 and 1...
      • Changing Your Favicon Within the Dashboard is Fina...
      • How to Install easyMP3Gain in Ubuntu?
      • How To Install MPlayer in Fedora Core 15?
      • How to Install Chromium 12 in Ubuntu (11.04, 10.04...
      • Install the Indicator-Forceclose Applet in Ubuntu ...
      • How To Permanently Delete Your Facebook Account?
      • Install Dropbox in Ubuntu
      • How To Install NTFS-Config in Ubuntu 11.04 Natty N...
      • VideoCatcher - A Qt Powered TV Viewer for KDE4!
      • How to Install puddletag in Ubuntu 11.04 Natty Nar...
      • How To Install GIMP in Ubuntu (10.04/10.10 and 11....
      • How To Install Adobe Flash Player 10.3 in Ubuntu 1...
      • Install Truecrypt in Ubuntu 11.04 Natty Narwhal
      • How To Install Skype in Fedora 15?
      • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use...
      • How To Install LibreOffice 3.4 in Ubuntu 11.04 Nat...
      • A Skype Status Menu Gnome Shell Extension is Avail...
      • Atolm-gtk3, Another Beautiful Gnome3/Shell Theme!
      • New Asus Eee PC Netbook Editions now Support Ubun...
    • ►  May (149)
    • ►  April (33)
    • ►  March (4)
  • ►  2008 (2)
    • ►  March (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile