View previous topic :: View next topic |
Author |
Message |
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Mon May 16, 2005 12:44 am Post subject: [REWRITTEN (now tangent)]Minimalistic Pager: minipager! |
|
|
Minipager has been rewritten completely and renamed to tangent.
It's much more flexible and themeable; you can have tangent look like this:
http://syscrash.hopto.org/stuff/tangent/blue.png
or even this:
http://syscrash.hopto.org/stuff/tangent/desert.png
(The colours, padding, border width, number of rows, etc. can be changed.)
To get it:
svn checkout http://syscrash.hopto.org/svn/tangent/trunk tangent
type
make
then
./tangent
For info on how to use it, read the README.
Please let me know about any bugs or feature requests.
By the way, you have to edit your theme if you want to change the number of rows.
This can mean only one thing: minipager sucks!
original post follows
-------------------------
Hi,
I'm working on a pager called minipager.
screenshot: http://syscrash.hopto.org/~syscrash/minipager.png
You can get it from svn:
Code: | $ svn checkout http://syscrash.hopto.org/svn/repos/minipager
cd minipager
make
su
(password)
make install
|
It's kind of themeable (edit the pixmaps!).
So far, it is only positioned in the bottom right corner; position will be user-specifiable soon.
Opinions? _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca
Last edited by syscrash on Sat Sep 03, 2005 3:31 pm; edited 4 times in total |
|
Back to top |
|
|
rockstarbrian n00b
Joined: 26 Jan 2004 Posts: 12 Location: New York
|
Posted: Mon May 16, 2005 1:16 am Post subject: great |
|
|
i love it, everybody always talks about wanting a minimalist pager for openbox. keep up the good work.
|
|
Back to top |
|
|
feld Guru
Joined: 29 Aug 2004 Posts: 593 Location: WI, USA
|
Posted: Mon May 16, 2005 5:07 am Post subject: |
|
|
for this i use Netwmpager.
Its not in portage, but some dude keeps up the ebuilds. Just google and you'll find.
Its in the upper right hand corner of my pic here:
http://webpages.charter.net/cdsprague/desktop.jpg
-Feld _________________ < bmg505> I think the first line in reiserfsck is
if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); } |
|
Back to top |
|
|
dismal n00b
Joined: 11 May 2005 Posts: 16 Location: Chicago, IL
|
Posted: Tue May 17, 2005 10:14 pm Post subject: |
|
|
That's pretty awesome man. I've been looking for something like this. |
|
Back to top |
|
|
nightm4re Guru
Joined: 20 Jun 2004 Posts: 519 Location: Providence, RI, USA
|
Posted: Sun May 22, 2005 11:35 am Post subject: |
|
|
Minipager has come along quite nicely in the past few days, it now works via xlib, is color configurable with command line options, and only takes roughly 4.2mb of ram (on my 1gb system with 5 virtual desks). I am looking at how to improve that use even more.
For a current shot of it on my system, here's my latest screenshot. Look on the left monitor lower right. _________________ Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net |
|
Back to top |
|
|
rezza Guru
Joined: 09 Apr 2003 Posts: 434 Location: Edinburgh, UK
|
Posted: Sun May 22, 2005 1:22 pm Post subject: |
|
|
Any way I can tell it to be top center instead of bottom right? _________________ screenshots
blog |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Mon May 23, 2005 8:10 pm Post subject: |
|
|
rezza wrote: | Any way I can tell it to be top center instead of bottom right? |
Not quite yet, but it's in the works _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Sat May 28, 2005 12:00 am Post subject: |
|
|
New version!
Written in xlib and uses parts of glib, user-configurable placement and colours.
It depends on yatesParse (a command-line argument parsing library), instructions on how to get it are in the DEPENDENCIES file.
Code: | $ svn checkout http://syscrash.hopto.org/svn/repos/minipager/branches/minipager-xlib
$ make
$ ./minipager --help
|
Enjoy!
Please tell me about bugs, feature requests, etc.
I'll look into implementing transparency. _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
PhotonX n00b
Joined: 14 Jul 2004 Posts: 33 Location: Irvine, CA
|
Posted: Sun May 29, 2005 9:37 pm Post subject: |
|
|
omgbump cuz minipager is teh pwn _________________ g2|PhotonX
Gentoo Enemy Territory Clan :: #gentoo.et @ freenode |
|
Back to top |
|
|
COiN3D Guru
Joined: 02 Aug 2004 Posts: 543 Location: Munich, Germany
|
Posted: Sat Jun 04, 2005 10:29 am Post subject: |
|
|
Hi syscrash,
I'm afraid but I'm getting a compile error. A file is missing. Code: | ~/minipager-xlib $ make
if test ! -d objects; then mkdir objects; fi
g++ -pipe -O2 -fomit-frame-pointer -W -Wall -Wno-unused-parameter -pedan
tic -c src/xserver.cpp -o objects/xserver.o
In file included from src/minipager.h:15,
from src/xserver.cpp:1:
src/misc.h:1:24: yatesParse.h: No such file or directory
make: *** [bin] Error 1
|
Please say it when you've fixed it. _________________ e17 documentation | Be free and use Jabber as your IM! | Combine IRC and IM |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Sat Jun 04, 2005 3:35 pm Post subject: |
|
|
COiN3D wrote: | Hi syscrash,
I'm afraid but I'm getting a compile error. A file is missing. Code: | ~/minipager-xlib $ make
if test ! -d objects; then mkdir objects; fi
g++ -pipe -O2 -fomit-frame-pointer -W -Wall -Wno-unused-parameter -pedan
tic -c src/xserver.cpp -o objects/xserver.o
In file included from src/minipager.h:15,
from src/xserver.cpp:1:
src/misc.h:1:24: yatesParse.h: No such file or directory
make: *** [bin] Error 1
|
Please say it when you've fixed it. |
You'll have to install yatesParse, get it like this:
Code: | $ svn co svn://svn.gna.org/svn/yatesparse/trunk yatesparse
$ cd yatesparse
$ make
# make install |
Enjoy! _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Sat Jun 04, 2005 5:21 pm Post subject: |
|
|
nightm4re wrote: | roughly 4.2mb of ram (on my 1gb system with 5 virtual desks). I am looking at how to improve that use even more. |
Damn right you should. 4+ megs for a minimalist pager is outrageous. What does it need to have in memory? Surely the majority of it's information is discerned from the window manager. All it does is store/display a few tiny boxes. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Sat Jun 04, 2005 7:11 pm Post subject: |
|
|
charlieg wrote: | nightm4re wrote: | roughly 4.2mb of ram (on my 1gb system with 5 virtual desks). I am looking at how to improve that use even more. |
Damn right you should. 4+ megs for a minimalist pager is outrageous. What does it need to have in memory? Surely the majority of it's information is discerned from the window manager. All it does is store/display a few tiny boxes. |
No idea why it uses so much, there is nothing special in the code that allocates a lot of mem
It would be great if you could contribute. _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Sat Jun 04, 2005 7:16 pm Post subject: |
|
|
Well, over IM syscrash blamed XLIB... solution? XCB: http://freedesktop.org/Software/xcb _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
mirko_3 l33t
Joined: 02 Nov 2003 Posts: 605 Location: Birreria
|
Posted: Sun Jun 05, 2005 9:48 pm Post subject: |
|
|
So XCB will eventually substitute XLIB? the link wasn't very clear about it... _________________ Non fa male! Non fa male! |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Sun Jun 05, 2005 11:35 pm Post subject: |
|
|
XCB homepage wrote: | Xlib has been the standard C binding for the X Window System protocol for many years now. It is an excellent piece of work, but there are applications for which it is not ideal, for example- Small platforms: Xlib is a large piece of code, and it is difficult to make it smaller.
- Latency hiding: Xlib requests requiring a reply are effectively synchronous: they block until the reply appears, whether the result is needed immediately or not.
- Direct access to the protocol: Xlib does quite a bit of caching, layering, and similar optimizations. While this is normally a feature, it makes it difficult to simply emit specified X protocol requests and process specific responses.
- Threaded applications: While Xlib does attempt to support multithreading, the API makes this difficult and error-prone.
- New extensions: The Xlib infrastructure provides limited support for the creation of X extension client side code.
XCB: an X C Binding
For these reasons, among others, we are working on XCB, an X C Binding which is designed to solve the above problems |
Um, that's pretty clear to me. Yes, XCB is an alternative to XLIB. XCL is an XLIB compatability layer for XCB enabling it to become the de facto replacement for XLIB once it is complete. It's functional although needs more momentum than it currently has. Having projects like this start to use it can only help. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Mon Jul 18, 2005 3:17 pm Post subject: |
|
|
bump! renamed and rewritten! _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
cron0 Tux's lil' helper
Joined: 05 Jan 2004 Posts: 132 Location: Montreal, Quebec
|
Posted: Thu Jul 21, 2005 11:52 pm Post subject: |
|
|
syscrash wrote: | bump! renamed and rewritten! |
Code: | I/O warning : failed to load external entity "/home/cron0/.config/tangent/overrides.xml" |
That file isn't supplied in the SVN repository. How should I create it?
Other than that, I like it!!!
cron0 |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Fri Jul 22, 2005 3:13 pm Post subject: |
|
|
JF_Cron0 wrote: | syscrash wrote: | bump! renamed and rewritten! |
Code: | I/O warning : failed to load external entity "/home/cron0/.config/tangent/overrides.xml" |
That file isn't supplied in the SVN repository. How should I create it?
Other than that, I like it!!!
cron0 |
That's the overrides file, it lets you use your own settings for things that the theme would usually specify.
The syntax is exactly the same as that for themes.
For example, if you want your number of rows to be 4 all the time, your overrides.xml would look like this:
Code: | <tangent>
<rows>4</rows>
</tangent> |
Enjoy _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
Swoosh Apprentice
Joined: 19 Sep 2004 Posts: 203
|
Posted: Thu Sep 01, 2005 4:42 pm Post subject: |
|
|
how can i position tangent? i've tried editing the position* file and it works fine for that session but when i start it with .xinitrc it reverts to the top left.
great app, thanks very much |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Sat Sep 03, 2005 6:31 am Post subject: |
|
|
Is Opacity supported for Tangent. It looks like it is for minipager. If it is how do you configure it? _________________ rubyforums | blog | boxwhore |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Sat Sep 03, 2005 3:33 pm Post subject: |
|
|
Swoosh wrote: | how can i position tangent? i've tried editing the position* file and it works fine for that session but when i start it with .xinitrc it reverts to the top left.
great app, thanks very much |
It should position itself automatically; that may be a bug, i'll look into it.
steve_d555 wrote: | Is Opacity supported for Tangent. It looks like it is for minipager. If it is how do you configure it? |
It isn't, but you can achieve the same effect with transset or devilspie. _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
dswissmiss Guru
Joined: 23 May 2004 Posts: 498 Location: New York
|
Posted: Fri Nov 25, 2005 5:18 am Post subject: |
|
|
syscrash: Great programs!
I have 2 quick question about minipager; are you able to klick on it to switch desktops? Works fine with tangent (but I happen to like the minipager look more). Also, I don't suppose I'm able to turn off xcompmgr shadows for the pager, am I?
Thanx
Dswissmiss
EDIT: oh, I just noticed that when I start minipager in .xinitrc, my WM won't start. All I get is that X as a mousepointer, the wallpaper and conky. Took me a while to figure out why. Just wondering if this is a known issue or if it's my fault. _________________ screenshots |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Sat Nov 26, 2005 9:33 pm Post subject: |
|
|
dswissmiss wrote: | syscrash: Great programs!
I have 2 quick question about minipager; are you able to klick on it to switch desktops? Works fine with tangent (but I happen to like the minipager look more). Also, I don't suppose I'm able to turn off xcompmgr shadows for the pager, am I?
Thanx
Dswissmiss
EDIT: oh, I just noticed that when I start minipager in .xinitrc, my WM won't start. All I get is that X as a mousepointer, the wallpaper and conky. Took me a while to figure out why. Just wondering if this is a known issue or if it's my fault. |
You should be able to click on it to switch desktops. I haven't hacked on minipager in a long time, but it should switch desktops when button 1 is released on it. As for the shadows, just run xcompmgr like this:
That disables shadows for all windows, though. I'm not sure how to do it per-window.
About the xinitrc, are you sure that you put the & after minipager?
It should look like:
Code: | minipager &
conky &
exec openbox |
Without the &, it will block until minipager is exited.
Hope this helps _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
dswissmiss Guru
Joined: 23 May 2004 Posts: 498 Location: New York
|
Posted: Sat Nov 26, 2005 10:16 pm Post subject: |
|
|
Quote: | About the xinitrc, are you sure that you put the & after minipager? |
Ah damn...thanx
As for the other two, I guess I can live with the shadows for now, and since I use fluxbox the scroll button is faster to switch desktops anyway.
Thanx again _________________ screenshots |
|
Back to top |
|
|
|