Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[REWRITTEN (now tangent)]Minimalistic Pager: minipager!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Mon May 16, 2005 12:44 am    Post subject: [REWRITTEN (now tangent)]Minimalistic Pager: minipager! Reply with quote

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? :D
_________________
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
View user's profile Send private message
rockstarbrian
n00b
n00b


Joined: 26 Jan 2004
Posts: 12
Location: New York

PostPosted: Mon May 16, 2005 1:16 am    Post subject: great Reply with quote

i love it, everybody always talks about wanting a minimalist pager for openbox. keep up the good work.



:D
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Mon May 16, 2005 5:07 am    Post subject: Reply with quote

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
View user's profile Send private message
dismal
n00b
n00b


Joined: 11 May 2005
Posts: 16
Location: Chicago, IL

PostPosted: Tue May 17, 2005 10:14 pm    Post subject: Reply with quote

That's pretty awesome man. I've been looking for something like this.
Back to top
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Sun May 22, 2005 11:35 am    Post subject: Reply with quote

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
View user's profile Send private message
rezza
Guru
Guru


Joined: 09 Apr 2003
Posts: 434
Location: Edinburgh, UK

PostPosted: Sun May 22, 2005 1:22 pm    Post subject: Reply with quote

Any way I can tell it to be top center instead of bottom right?
_________________
screenshots
blog
Back to top
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Mon May 23, 2005 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sat May 28, 2005 12:00 am    Post subject: Reply with quote

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
View user's profile Send private message
PhotonX
n00b
n00b


Joined: 14 Jul 2004
Posts: 33
Location: Irvine, CA

PostPosted: Sun May 29, 2005 9:37 pm    Post subject: Reply with quote

omgbump cuz minipager is teh pwn
_________________
g2|PhotonX
Gentoo Enemy Territory Clan :: #gentoo.et @ freenode
Back to top
View user's profile Send private message
COiN3D
Guru
Guru


Joined: 02 Aug 2004
Posts: 543
Location: Munich, Germany

PostPosted: Sat Jun 04, 2005 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sat Jun 04, 2005 3:35 pm    Post subject: Reply with quote

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! :D
_________________
Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Sat Jun 04, 2005 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sat Jun 04, 2005 7:11 pm    Post subject: Reply with quote

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 :P

It would be great if you could contribute.
_________________
Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Sat Jun 04, 2005 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Sun Jun 05, 2005 9:48 pm    Post subject: Reply with quote

So XCB will eventually substitute XLIB? the link wasn't very clear about it...
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Sun Jun 05, 2005 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Mon Jul 18, 2005 3:17 pm    Post subject: Reply with quote

bump! renamed and rewritten!
_________________
Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca
Back to top
View user's profile Send private message
cron0
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2004
Posts: 132
Location: Montreal, Quebec

PostPosted: Thu Jul 21, 2005 11:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Fri Jul 22, 2005 3:13 pm    Post subject: Reply with quote

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 :P
_________________
Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca
Back to top
View user's profile Send private message
Swoosh
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 203

PostPosted: Thu Sep 01, 2005 4:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
steve_d555
Guru
Guru


Joined: 07 Nov 2004
Posts: 458
Location: Belmont, Massachusetts

PostPosted: Sat Sep 03, 2005 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sat Sep 03, 2005 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
dswissmiss
Guru
Guru


Joined: 23 May 2004
Posts: 498
Location: New York

PostPosted: Fri Nov 25, 2005 5:18 am    Post subject: Reply with quote

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
View user's profile Send private message
syscrash
Guru
Guru


Joined: 14 Apr 2003
Posts: 541

PostPosted: Sat Nov 26, 2005 9:33 pm    Post subject: Reply with quote

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:
Code:
xcompmgr -c

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
View user's profile Send private message
dswissmiss
Guru
Guru


Joined: 23 May 2004
Posts: 498
Location: New York

PostPosted: Sat Nov 26, 2005 10:16 pm    Post subject: Reply with quote

Quote:
About the xinitrc, are you sure that you put the & after minipager?


Ah damn...thanx :oops:

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum