Question Nexus

Ask a question get an Answer

The Terminal

Posted by slayton on October 4, 2008

The Terminal.

To start out this post I’m going to pose a simple question. What can you do faster, type out ten words on your keyboard or click 10 different icons spread around your desktop.  Most people when intially posed this question respond that clicking is faster.  This may be the case if the icons are really close and you don’t know how to type, but as soon as you have very basic typing skills it becomes much easier to type commands then to perform a visual search, followed by moving and then clicking a mouse.

If you know what your doing you can almost always perform the task many times more quickly and efficiently in the terminal. In fact you will eventually learn that there are many things that can really only be accomplished in a terminal. The terminal like most things in linux isn’t designed to be easy to learn, but easy to use.  The learning curve is steep but once you’ve reached the top you’ll be doing thins faster and more efficiently then you ever could using the GUI.

Read the rest of this entry »

Posted in Linux | Tagged: , , , , | Leave a Comment »

Why Use Linux?

Posted by Mark on September 24, 2008

There is no way that I can list all the possible reasons to use Linux, but I can list the reasons I, a somewhat technically-inclined person, am giving it a try.

  1. I am tired of Windows giving me broken applications and incompatibility issues with no fixes available. With Windows I feel like I’m at the mercy of the companies involved (in my case Microsoft and Toshiba, primarily) for solving my hardware incompatibility issues (that should never have been issues). If they don’t feel like I’m an important enough market, they probably won’t release a fix. With Linux I am at the mercy of a community of people just like me (well, hopefully a little smarter), who respond in a much more personable way. Besides, with Linux I can edit the system myself and create a fix if one doesn’t exist. More difficult at first, but probably worth it in the long run.
  2. I want a faster, more stable, more efficient operating system. My old Toshiba Pentium 4 laptop is struggling under the weight of Windows. Linux has given it rebirth. Boot time, application load time, even the internet all seem to run more smoothly and quickly.
  3. I figure this is great practice for building a Hackintosh. This way I can get familiar with things like the command line interface, patching, and learn how to diagnose problems and find/create solutions. Since OSX is a Unix-based OS, it will be very easy to apply knowledge learned here to what will be required to build my own fully-functioning mac.
  4. It is absolutely free. Just go to http://www.ubuntu.com for a free download or a free CD.

That said, there are some down sides, I recognize. For example:

  • Problems will come up that are difficult to fix. This is ok, though – Linux is about teaching yourself how to have more control over your system. It’s ok if problems come up – and even if MORE problems come up versus Windows – as long as there is a route to fixing it. That is the guarantee of Linux, the way I see it, and the basis of its advantages over any closed-source OS.
  • It will take more time (at first) to do things I am used to being able to do easily in Windows.

The big question is whether the time/effort investment will yield worthy returns. I am hoping the answer is a definitive yes. Expect the answer to that question to come in about 6 months.

Posted in Uncategorized | Leave a Comment »

Just moved to linux, where did my desktop go?

Posted by Mark on September 24, 2008

> Mark: Stuart, one of the complaints I have so far about using Linux is that I feel like I have less “space” on my screen. The fonts used in Linux are bigger, the menus seem bigger, not to mention the fact that there is the system panel/bar thing at the top and then the panel at the bottom, too, which just ends up taking more space. Help!

> Stuart: So you feel like you have less space? Well I’m not surprised you feel that way, because you do.  If I had a list of common complaints from people migrating to linux, this would in the top 5, so your not alone.

There are two things that attribute to you having less space: your Desktop Manager, and the Font Rendering. I’ll try to address both below.

The default Desktop Manager in Ubuntu is Gnome and by default Gnome has two panels, one at the top and one at the bottom.  The layout of these panels is completely up to you. Here are a few examples of things you can do to the panel:

  • Try something out, click on the blank space of one the top panel and click and drag it to the bottom, left, or right. It will move.
  • If you want to get rid of it completely right click on it then select “Delete this Panel”
  • You make a lot of fun changes to a panel by right clicking selecting “Properties”. Now you can: Change the size of the panel, add Show/Hide buttons, add a background image, make the panel transparent, Enable/Disable Expanding panels.
  • You can also add widgets to the panel by right clicking and selecting “Add to Panel”. I think you’ll be surprised by the number of things you can add.
  • Its also really easy to move stuff around, just click it and drag it around the panel.  This won’t work if the widget is “locked”, to unlock a widget right click it and select “Lock to Panel”. By default the widgets that come with Ubuntu are locked.

I think after you’ve used the two panel system long enough you will like it.  I hated the top panel at first but now I’ve really come to rely upon it.  For me, the top panel serves the purpose of an application launcher and a quick system notifier. I look there for info such as: Email Received, Time, Weather, Network Status. The bottom panel is what I use to switch between running applications.  On my bottom panel I have: Window List, System Monitor, and Workspace Switcher. (I’ll do a post on the beauties of the workspace switcher another day).

Another option is to try a different Desktop Manager, there are quite a few with the most popular being: Gnome, KDE, XFCE.

The second point you bring up is Fonts.  Fonts are actually a huge issue in linux. Most of the fonts used in windows are covered by Copyright.  You can download the Microsoft Core True Type Fonts, the package is called msttcorefonts. However, in my experience linux fonts look better under linux than windows fonts do. You can try messing around with the fonts to see if you find a configuration that looks better.

To change the font settings click: System–>Preferences–>Appearance, then select the Font tab. All of my fonts are set to Sans, except Window Title Font which is Sans Bold and Fixed Width Font which is Monospace. All my fonts are set to size 10.

So in summary you can try tweaking with settings in an attempt to recover the lost screen real estate but I think you’ll probably be happiest with the default settings.

> Mark: So basically you’re telling me that I’m stuck with less viewing space unless I screw around with the fonts. Is there any way to decrease the padding in application menus or otherwise make things more compact? I don’t think I should have to buy a 21″ monitor to solve this problem.

> Stuart: So to give you an idea of my screen real-estate I have a resolution of 1280×800 on my laptop. I remember noticing a distinct drop in space when I switched to Ubuntu but about a week or so later I got used it.  I understand that the majority of newer laptops are all “widescreen” which is essentially more horizontal space at the cost of vertical space.  The Gnome panels eat into this precious vertical space. Looking back I would probably not buy a widescreen laptop again but I’m stuck with what I’ve got so I’ll make do.  A couple things I have done do to maximize my viewing area are:

  • Under System–>Preferences–>Appearance, select the interface tab and select: Icons Only under Toolbar Button Labels, this will remove text under buttons across the entire system. This should add a few more pixels.
  • Another solution is to try out KDE, or XFCE. You can download Kubuntu and Xubuntu liveCDs, which are Ubuntu but with a different window manager.  Try the liveCD if you like what you see, you can then install KDE or XFCE to your current installation via Synaptic Package Manager or by opening a terminal and typing sudo apt-get install kubuntu-desktop or sudo apt-get install xubuntu-desktop. Ubuntu will then download the appropriate files and install the other window manager. This is nice because it doesn’t remove Gnome or require a fresh install, and has the added bonus that you can switch from one desktop manager to another at any given time.
  • I use Firefox a lot. Is my most used application. I was able to gain a lot of real-estate in firefox by moving my Bookmarks Toolbar.  I moved my Bookmarks Toolbar next to the “File Edit View History Bookmarks Tools Help” bar. You can do this by: Right clicking on the toolbar, select customize, then move (click and drag) the Bookmarks Toolbar Items up to the top bar, then click done. You’ll notice that your bookmarks themselves moved, but the space they were originally occupying is still present. Right click on the toolbar again and uncheck the Bookmarks Toolbar. The bookmarks will stay but the space they previously occupied will go away!
  • There are a few more tweaks you can do in specific applications to maximize their real-estate which we can talk about later if you’d like.

So long story short, Explorer under Windows has a much higher resolution and uses less real-estate then Gnome does in linux.  Its a pain but you’ll get used to it and eventually you won’t notice it.  Believe me when I say that the loss of productivity from a “smaller” desktop is dwarfed by the increase in productivity from using an OS that is intuitive and empowering.

This is actually a great segway into my next topic which will be about the amazing world of the Terminal!

Posted in Uncategorized | Leave a Comment »