The New Linux User
  • Home
  • Distro Reviews
    • Section One>
      • Debian Linux
        • Knoppix Linux
          • Feather Linux
            • Puppy Linux
              • Vector Linux
                • PUD Linux
                  • PCLinuxOS
                    • Ubuntu 8.04 (Hardy Heron)
                      • Xubuntu 8.04
                        • PCLinuxOS Gnome
                          • Linux Mint 4 (Daryna)
                          • Section Two>
                            • TinyMe Linux
                              • Linux Mint 5 (Elyssa)
                                • Ubuntu 8.10 (Intrepid Ibex)
                                  • Fedora 10
                                    • SimplyMEPIS
                                      • Linux Mint 6 Felicia
                                        • Sabayon Linux
                                          • Dreamlinux
                                            • Jibbed BSD
                                              • Mandriva One 2009 Spring
                                                • Sidux
                                                  • Mandriva 2010
                                                  • Section Three>
                                                    • Easy Peasy 1.5
                                                      • Linux Mint 8 Helena
                                                        • PCLinuxOS 2010
                                                          • Ubuntu 10.04 Lucid Lynx
                                                            • Peppermint OS One
                                                          • About Me
                                                          • First Steps
                                                          • Step 2-Test Drive Linux
                                                          • Newbie Helpful Links
                                                          • Tutorials
                                                            • The AWN Dock
                                                              • Convert .tgz to .deb Using Alien
                                                                • Flock Browser and Java Applications
                                                                  • Flock Browser and Flash Player
                                                                    • Peeling Windows Effect (Compiz-Fusion)
                                                                      • Changing Gnome Display Manager (GDM) v.2.28
                                                                        • Changing Gnome Display Manager-Option 2
                                                                          • Volume in the Gnome Panel
                                                                            • Mint Google Search--Opera
                                                                            • Downloads
                                                                            • But Wait! There's More!


                                                                            Avant Window Navigator

                                                                            (commonly known as the AWN dock)



                                                                            What it is:
                                                                            Avant Window Navigator (referred to as AWN) is an open-source navigation bar (called a dock) that can take the place of taskbars and panels. Here is just a sample of what an AWN dock can look like. AWN can be themed and the settings changed in a vast number of ways to get a look you desire. It's positioned on the bottom of the screen.
                                                                            The AWN dock


                                                                            How do I get it?


                                                                            1. Open your package manager, whether you are trying out APT or using Synaptic Package Manager (which is a lot easier for the newb) and search "awn" or "avant."  The results of the search should give you two or three choices: avant-window-navigator (required), awn-manager (required) and awn-core-applets or awn-applets-trunk (these two are optional but if they are presented you will want them).  Right click on the checkbox next to avant-window-navigator first.  It should list the rest as dependencies or with the package. 
                                                                            2. Right-click on the checkbox next to the listings (if they weren't automatically added) and click on "mark for installation."
                                                                            3. Click on apply.
                                                                            4. The changes will be applied. When Synaptic is finished (or APT if you used it) close it out and then click on your main menu.
                                                                            5. Depending on how your menu is set up (mine has an "all" heading so I can just scroll down the list) scroll until you find two listings: AWN manager and Avant Window Navigator. For first time use, open the AWN manager first and explore your options.  Additionally, for me, AWN is listed in the Gnome Accessories menu.

                                                                            Here's a picture of TWO separate AWN manager windows. The one on the left shows some of the general options and the one on the right shows the list of themes I have installed (there are many theme options; one place to get them is at opendesktop.org using the search box and "awn.")

                                                                            AWN manager in two separate windows
                                                                            Once you are done feeling your way around the awn manager, it's time to open your dock!

                                                                            Go back to your menu list and open Avant-Window-Navigator. Your shiny new dock will poof up on the bottom of the screen. Unfortunately, it won't fill itself with icons! Now we have to create "launchers," the icons that will start your applications. You can either open the awn manager from your menu again or you can right-click on the very edge of the dock to open the awn-manager (it is tricky to get just the right spot!)  Then there are 3 ways you can add icons/launchers to the dock.

                                                                            First option you can try:


                                                                            This may or may not work for you. I have had some successes and some failures at putting icons in the dock this way but feel free to try this first as it is easier. Open your menu and scroll down to an application you want on your dock (think of it as a place to quickly launch your favorite applications) like Firefox for example. Drag the Firefox selection from your menu down into your dock. If it works, great!! Just repeat until you have all your favorite applications in there. If this didn't work for you for some reason, read on!

                                                                            Second option you can try:


                                                                            Open your file manager (Nautilus, Thunar or Konqueror probably) and find "file system" or your computer icon on your desktop if you have one there. (Not in your home folder!!) From there navigate to /usr/share/applications. From there you can drag icons to the dock just as you did (or tried to do) from the main menu. That is the other drag n drop option. Now if your choices aren't there or this doesn't work for whatever reason, read on!

                                                                            Third option (requires commands--don't worry!)

                                                                            Click the tab on the left that says Launchers. This will take you to the launchers screen where it will say launcher preferences add and remove launchers. There are add/remove/edit buttons on the right side. Click the "add" option!

                                                                            A launcher editor pops up. There will be options for name, description and the all important command. Here is an example using Firefox:
                                                                            Picture
                                                                            All you have to do is make yours say what mine does.  In case it's hard to see, the command itself is simply "firefox" (no quotes)
                                                                            As for the icon--mine has a firefox icon there already but yours may have just a blue square or nothing at all.  If you have no icon and you want one, click on the icon square (where the firefox icon is in the pic) 
                                                                            A window will pop up called Select Icon.  It has 2 choices, Stock/In Theme and Custom (which is already ticked on mine)  The directory should say your home folder name.  For now, tick the Stock/In Theme choice.  Give it a moment to load and a long list of icons will pop up..just scroll down until you find the firefox icon, single click on it and choose okay.  The icon will now be on the launcher and will now show up on the dock.


                                                                            Things you might want for your dock.


                                                                            1.  Home Folder Launcher

                                                                            • 1.  Using the Awn manager again, go back to the launchers tab.
                                                                            • 2.  Choose the add button on the right. When the launch editor pops up, enter the following into the editor:
                                                                            Name: (either home folder, home or whatever you want to name it
                                                                            Description: (I usually don't bother; if you put anything here it will show up on mouse-over)
                                                                            Command: nautilus --no-desktop (nautilus space dash dash no dash desktop) So as not to mistake how to type that in, there is only one space in the command, right after the word nautilus. Yes, it's a weird one. Now you have your home folder launcher!!!!
                                                                            2.  AWN applets--This is ONLY if you do not have the applets package listed in the repository on your package manager!!

                                                                            The AWN dock is great to have, even without the extra applets...that having been said, the applets are great to have! So how do you get them if they aren't in the list on Synaptic or APT? Here goes!
                                                                            THESE INSTRUCTIONS ARE ONLY FOR UBUNTU LINUX (THEY WORK FOR LINUX MINT ALSO) 
                                                                            This is a picture showing the next steps.

                                                                            Picture
                                                                            1. Open a terminal..(eek! the command line!....don't worry, I wouldn't explain it if I hadn't personally done this!)
                                                                            2. TYPE in the following, which will be on two separate lines (don't copy and paste!) 
                                                                                                                        sudo gedit /etc/apt/sources.list

                                                                            (Sudo makes you super user, gedit is a text editor --you might need to replace gedit with something else if you use another text editor-- and the rest is the location of the sources list, which is a list of places that your distro gets its packages from)

                                                                          •       3.  At the bottom of the page, under 'other repositories', add a new entry
                                                                          • I call mine AWN-Repo. As you can see (or in case you can't) you type in ##space+++AWN-Repo+++enter
                                                                          • (the ## is to "comment out" the title, which tells it not to do anything with that line, that it's just a "comment"--then after the plus signs you can call it whatever makes sense, more plus signs and then hit enter)
                                                                          •       4.  Add these two lines (each on its own line!):
                                                                          • deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
                                                                            deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main

                                                                            (if you have a version other than hardy (as in hardy heron), replace only the word hardy with the word jaunty, intrepid, gutsy,  edgy or feisty for previous Ubuntu versions)

                                                                          •       5.  Then save and exit the text editor.

                                                                          •       6.  Open your package manager again (I used Synaptic)
                                                                          •       7.  Click on Edit in Synaptic's menu and scroll down to Reload package information and click on it
                                                                          • Use search to look up 'avant' again and the applets package should now be there. Right click on the checkbox to choose mark for installation. In my case, using the hardy repository got me a newer version of the dock and applets so when I marked them for installation, they uninstalled the old stuff, so it looked a little strange to have the dock and applets but it said they weren't installed. So if you see awn manager and avant-window-navigator uninstalled and the ones installed have the word trunk attached, it's normal.
                                                                          • Go to Top
                                                                            Create a free website with Weebly