Page 1 of 7 123 ... LastLast
Results 1 to 10 of 67

Thread: Dock-style gnome-panel Applet: Does One Exist?

  1. #1
    Join Date
    Aug 2007
    Location
    NY, United States
    Beans
    169
    Distro
    Ubuntu 11.04 Natty Narwhal

    Introducing Task Dock: A gnome-panel Dock Applet

    Because Window List from gnome-panel depends on WnckTasklist to create a standard task list, and because I don't want to mess with any libraries, I've created an independent app.

    If you want a dock built into your existing gnome panel, this application will do it.

    I've attached two screen shots; one of my current implementation, and one of how the dock would appear on a 48px panel using the Human theme.

    This marks my first distributed application, so I expect it to be broken for a lot of people. However, this is pretty much stable on my platform.

    Installation instructions:
    1. Download the attached tar.gz file.
    2. Extract it somewhere in your home folder.
    3. Make sure you have libpanelapplet-2.0 and libwnck-1.0 installed, along with their -dev packages.
    4. In the terminal, go to the folder and type:
    Code:
    make
    sudo make install
    Note that ./configure is omitted because I have not yet implemented it.

    Things I eventually want to add:
    - Handle urgent messages for windows.
    - Set icon locations for windows (In other words, add support for minimize, restore, and window preview animations)
    - Actually add support for launchers, so that the task "dock" lives up to its name.
    - Add smooth icon scaling, if possible.
    - Add options for grouping windows.
    - Add options for only showing current workspace windows.

    Change log (will provide last 2-3 versions in the event of a regression):
    0.0.2: (Thanks, Eemil!)
    - Now brings hidden windows to front when clicking the icon, and only minimizes shown windows.
    - Switches to the workspace a window resides in when you click to unminimize / activate a window.

    0.0.1: Initial release. Lists windows from all workspaces, without grouping, on the gnome panel.

    Original post:
    Quote Originally Posted by aaaantoine
    Basically, I want a panel applet that behaves like AWN. Does such an application exist?

    If not, which idea do you think is better?

    1. Write a fork of the Window List applet that is specialized to behave like AWN.
    2. Write and submit patches to the Window List applet to add AWN behavior options for the user.

    Actually I would probably do a combination of the two if I went forward with this project. But first, I need to find that source code...

    Edit: I use AWN currently. My reasons for wanting to replace it are as follows.
    1. It's buggy.
    2. It requires compositing, which won't be a problem for me when DRI2 makes it to Ubuntu, but in the mean time...
    3. I want to integrate it into my existing gnome panel to save resources.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by aaaantoine; January 26th, 2009 at 09:10 PM.

  2. #2
    Join Date
    Aug 2007
    Location
    NY, United States
    Beans
    169
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dock-style gnome-panel Applet: Does One Exist?

    So I found the source code in gnome-panel.

    But I'm having a hard time trying to find the widgets for the window list applet itself.

    window-list.c seems to apply to the preferences window more than anything else.

    ...This thread should probably move to the Programming forum.
    Acer Aspire 5050-5554 w/ 4GB RAM upgrade. Ubuntu Aug 07 - Dec 08; Arch Linux Dec 08 - July 2011; Ubuntu again since July 2011.
    "Triclops": Home-built AMD Athlon II X2 250, 4GB RAM, Radeon 6570, 500GB HDD. Ubuntu/Windows-XP duo since Jun 2010.

  3. #3
    Therion is offline I Ubuntu, Therefore, I Am
    Join Date
    Sep 2007
    Location
    Right behind you...
    Beans
    2,768
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Dock-style gnome-panel Applet: Does One Exist?

    Do you mean something like Gnome Do?

    http://www.flickr.com/photos/7361736...337246/detail/

  4. #4
    Join Date
    Aug 2007
    Location
    NY, United States
    Beans
    169
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dock-style gnome-panel Applet: Does One Exist?

    No. Gnome Do is great, but a window list it is not.
    Acer Aspire 5050-5554 w/ 4GB RAM upgrade. Ubuntu Aug 07 - Dec 08; Arch Linux Dec 08 - July 2011; Ubuntu again since July 2011.
    "Triclops": Home-built AMD Athlon II X2 250, 4GB RAM, Radeon 6570, 500GB HDD. Ubuntu/Windows-XP duo since Jun 2010.

  5. #5
    Join Date
    Apr 2006
    Location
    Chicago
    Beans
    1,406
    Distro
    Ubuntu

    Re: Dock-style gnome-panel Applet: Does One Exist?

    That would be cool.. An applet that turns the panel into a dock right?
    Constant development is the law of life, and a man who always tries to maintain his dogmas in order to appear consistent drives himself into a false position - Mahatma Gandhi

  6. #6
    Join Date
    Jul 2007
    Location
    Reykjavík, Iceland
    Beans
    1,555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Dock-style gnome-panel Applet: Does One Exist?

    if I understand correctly, you are trying to make "Window List 2.24.1" behave the same or similarly to awn?

    If Im not going to spain over christmas I would love to participate.

    [added]
    Send me pm about this when you begin.
    Last edited by Bölvağur; November 19th, 2008 at 08:47 PM.

  7. #7
    Join Date
    Dec 2006
    Beans
    117

    Re: Dock-style gnome-panel Applet: Does One Exist?

    If you mean an applet that behaves like an Apple Dock (for example, clicking the Firefox icon will bring you to the current Firefox window instead of opening a new instance) but runs in the panel, then I am right there with you.

    Closest two things I've found:

    1) Run the XFCE panel with the xfce panel applet "icon box".

    2) Run a bottom panel and AWN concurrently. If you size AWN really small and put your native panel applets far to each end, and then make matching AWN and panel applet backgrounds, you can get a similar result to what you're looking for.

  8. #8
    Join Date
    Aug 2007
    Location
    NY, United States
    Beans
    169
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dock-style gnome-panel Applet: Does One Exist?

    Quote Originally Posted by Bölvağur View Post
    if I understand correctly, you are trying to make "Window List 2.24.1" behave the same or similarly to awn?

    If Im not going to spain over christmas I would love to participate.

    [added]
    Send me pm about this when you begin.
    Pretty much.

    If I can ever figure out how the code actually works, my short term plans are as follows:

    1. Remove the text from the Window List entries (fork). Or, create an option to remove the text (patch).
    2. Make icon resize with panel size instead of using multiple rows.
    3. When text is removed, the Window List buttons should always fit the icon instead of expanding to fill available space.

    That's the "easy" stuff. From there I would like to try figuring out integrating launchers.
    Last edited by aaaantoine; November 19th, 2008 at 09:04 PM.
    Acer Aspire 5050-5554 w/ 4GB RAM upgrade. Ubuntu Aug 07 - Dec 08; Arch Linux Dec 08 - July 2011; Ubuntu again since July 2011.
    "Triclops": Home-built AMD Athlon II X2 250, 4GB RAM, Radeon 6570, 500GB HDD. Ubuntu/Windows-XP duo since Jun 2010.

  9. #9
    Join Date
    Jul 2007
    Location
    Reykjavík, Iceland
    Beans
    1,555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Dock-style gnome-panel Applet: Does One Exist?

    I would guess it might be easiest to copy the code from "Window List 2.24.1" and rename it to "Panel Dock 0.0.1"

    Then you can use the same code for minimizing the windows and just have an if statement to check if there is instance of that applications already running, if not then we can use bash command to execute the program or look into the code in gnome-menu (not sure)

  10. #10
    Join Date
    Jul 2008
    Location
    New York, USA
    Beans
    263
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Dock-style gnome-panel Applet: Does One Exist?

    You can make one.

    Make new panel, Uncheck expand, choose your size, place on screen, check hide buttons, auto-hide if you want, add applets and shortcuts you want and presto!, You got yourself a nice homemade dock from GNOME's Panel.
    Ubuntu+GNOME! Main Computer: 3.00GHZ, 2048MB RAM, 17" Widescreen monitor, Ubuntu 8.10 (64-bit), Windows XP MCE 2005 (32-bit).Resolution: 1280 x 720 Laptop: 700MHZ, 128 MB ram, 1x" LCD Montior. Windows 2000 PRO (32-bit), Resolution 1024 x768.

Page 1 of 7 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •