![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
The Community Cafe The Community Chat area is for lighthearted and enjoyable discussions, like you might find around a water cooler at work. Almost any non-tech-support topic may be discussed here. Discussions on religion and politics are not allowed, except for politics directly related to free and open source issues. Any topic or discussion that causes problems or drama will be closed. This area is intended for fun and community building, not arguments. Please take those elsewhere. Thanks! |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Location: NY, United States
Beans: 160
|
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 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:
Last edited by aaaantoine; January 26th, 2009 at 04:10 PM.. |
|
|
|
|
|
|
#2 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Location: NY, United States
Beans: 160
|
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. Rollin with Ubuntu August 07 - December 08; Rollin with Arch since December 08. |
|
|
|
|
|
#3 |
|
Iced Blended Vanilla Crème Ubuntu
![]() |
Re: Dock-style gnome-panel Applet: Does One Exist?
|
|
|
|
|
|
#4 |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Location: NY, United States
Beans: 160
|
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. Rollin with Ubuntu August 07 - December 08; Rollin with Arch since December 08. |
|
|
|
|
|
#5 |
|
Fresh Brewed 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 |
|
Fresh Brewed Ubuntu
![]() |
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 03:47 PM.. |
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2006
Beans: 50
|
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 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Aug 2007
Location: NY, United States
Beans: 160
|
Re: Dock-style gnome-panel Applet: Does One Exist?
Quote:
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.
__________________
Acer Aspire 5050-5554 w/ 4GB RAM upgrade. Rollin with Ubuntu August 07 - December 08; Rollin with Arch since December 08. Last edited by aaaantoine; November 19th, 2008 at 04:04 PM.. |
|
|
|
|
|
|
#9 |
|
Fresh Brewed Ubuntu
![]() |
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 |
|
Way Too Much Ubuntu
![]() |
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. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|