Thanks for the link - I will look into that. atm I am full time on gtkdlg1...Aitch wrote:goingnuts/techno
I just came across a window manager called awesome
Any use for this project? it uses C and Lua, AFAIK
http://awesome.naquadah.org/
Aitch
pUPnGO - 6Mb ISO - Basic Building Block Puplet
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I wouldn't bother
e16 would be a much nicer (smaller/simpler) choice, it uses its own eesh instead of lua and it has a more permissive license, a lot of the tools will work with gtk1 and I even found a hack to do desktop icons with it ... best of all it can look really nice with the right themes
though it will need to be patched for static builds because it uses dlopen to try and grab calls to libX11 (doesn't seem too complicated though)
...until someone makes "fpwm" that is ... a window manager in the style of a first person shooter (i've been mulling it over for a while)
with dependencies like that we may as well use compiz and lots of plugins128 pkg_check_modules(AWESOME_COMMON_REQUIRED REQUIRED
129 xcb>=1.6)
130
131 pkg_check_modules(AWESOME_REQUIRED REQUIRED
132 glib-2.0
133 cairo
134 x11
135 oocairo
136 oopango
137 xcb-randr
138 xcb-xtest
139 xcb-xinerama
140 xcb-util>=0.3.8
141 xcb-keysyms>=0.3.4
142 xcb-icccm>=0.3.8
143 xcb-image>=0.3.0
144 cairo-xcb
145 libstartup-notification-1.0>=0.10
146 xproto>=7.0.15
147 imlib2
148 libxdg-basedir>=1.0.0)
e16 would be a much nicer (smaller/simpler) choice, it uses its own eesh instead of lua and it has a more permissive license, a lot of the tools will work with gtk1 and I even found a hack to do desktop icons with it ... best of all it can look really nice with the right themes
though it will need to be patched for static builds because it uses dlopen to try and grab calls to libX11 (doesn't seem too complicated though)
...until someone makes "fpwm" that is ... a window manager in the style of a first person shooter (i've been mulling it over for a while)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Another window manager...
I found this one on Giles Orr's window manager site:
AHWM
It hasn't been touched in 10 years, but has a lot of documentation, and only relies on xlib, libc and some POSIX functions, Does not rely on any toolkit libraries.
It compiles ok, but had to make the minor alterations that Giles Orr mentions in his notes.
It is ancient, I know, but may be useful.
I'll upload the pet I made if anyone wants a dabble (best if I tested it a bit more first...)
AHWM
It hasn't been touched in 10 years, but has a lot of documentation, and only relies on xlib, libc and some POSIX functions, Does not rely on any toolkit libraries.
It compiles ok, but had to make the minor alterations that Giles Orr mentions in his notes.
It is ancient, I know, but may be useful.
I'll upload the pet I made if anyone wants a dabble (best if I tested it a bit more first...)
Wow, Giles Orr's site is amazing, hadn't seen that before....
AHWM looks interesting, Keef
I'd never considered focus to be broken, though it may have changed since 2002?
I'm just used to windows auto focus if on top, and backgrounded windows being in bottom taskbar, unless clicked in - maybe just habits?
Aitch
AHWM looks interesting, Keef
I'd never considered focus to be broken, though it may have changed since 2002?
I'm just used to windows auto focus if on top, and backgrounded windows being in bottom taskbar, unless clicked in - maybe just habits?
Aitch
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
for the ultra-minimalist window managers, I already posted mcwm (though it is a bit outdated now), its by far the lightest when statically compiled due to using xcb instead of X11 (X11 doesn't statically link well though tinyx11 gets us a bit closer)... and it has an ISC license ... some others xcb window managers are i3, uuwm, uwm (based on jwm) there is even a composite manager called unagi
Edit:
several pages back we were trying to find a way to use a running instance of a multicall binary to run new "applets" rather than spawning a whole new instance (the way ROX-Filer does) I think we had everything except the mechanism to get new args into the running process. ---Solved (I think, see the notes on apipe).
Edit:
several pages back we were trying to find a way to use a running instance of a multicall binary to run new "applets" rather than spawning a whole new instance (the way ROX-Filer does) I think we had everything except the mechanism to get new args into the running process. ---Solved (I think, see the notes on apipe).
Code: Select all
#include <stdio.h>
void argsfromstdin(void){ /* TODO accept a function pointer to run ac, av */
char s[255], av[255][255];
unsigned char i=0, pos=0, ac=0;
enum quotes_t{QUOTED=0,UNQUOTED}quotes=UNQUOTED;
//open a file ./apipe and store its file descriptor in variable apipe
//use mkfifo /tmp/apipe to create it ... or you can use stdin
//FILE * apipe = fopen("/tmp/apipe","r");;
fgets(s,255,stdin);
while (i<strlen(s)) {
/* '!'=33, 'ÿ'=-1, '¡'=-95 outside of these are non-printables */
if ( quotes && ((s[i] < 33) && (s[i] > -1) || (s[i] < -95))){
av[ac][pos] = '\0';
if (av[ac][0] != '\0') ac++;
pos = 0;
}else{
if (s[i]=='"'){ /* support quoted strings */
if (pos==0){
quotes=QUOTED;
}else{ /* support \" within strings */
if (s[i-1]=='\\'){
av[ac][pos-1] = '"';
}else{ /* end of quoted string */
quotes=UNQUOTED;
}
}
}else{ /* printable ascii characters */
av[ac][pos] = s[i];
pos++;
}
}
i++;
}
/* TODO accept a function pointer to run ac, av */
#ifdef DEBUG
#include <string.h>
#define write1(s) write(1, s, strlen(s))
while (ac-->0) {write1(av[ac]);write1("\n");}
#endif
}
int main(int argc, char *argv[]){
argsfromstdin();
}
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
technosaurus: Had not seen your update - would be cool if it works!
The latest post about window managers reminded me that I had a static build of conky lying around.
Also found that gxine-0.2.1 is gtk1..now I only need to get a static uclibc xinelib build...
The latest post about window managers reminded me that I had a static build of conky lying around.
Also found that gxine-0.2.1 is gtk1..now I only need to get a static uclibc xinelib build...
- Attachments
-
- snap0002.png
- (6.7 KiB) Downloaded 1394 times
-
- conky-1.3.0-486.tar.gz
- static build conky
- (93.5 KiB) Downloaded 381 times
-
- Posts: 282
- Joined: Wed 16 Dec 2009, 21:38
- Location: Earth
About GetGUI:
I modified somewhat, now it can recognize Dialog/Xdialog syntax and following
options:
--title
--backtitle
--ok-label
--yes-label
--cancel-label
--no-label
--no-cancel
--default-item
--password
--msgbox
--inputbox
--yesno
--menu
--menubox
--radiolist
--checklist
--combobox
--fselect
Getgui's native options are not broken (I hope). Some default values are changed for my own needs (default fonts, button color etc..).
Also, a program name is changed to "xgetgui" to avoid copiright conflicts.
I modified somewhat, now it can recognize Dialog/Xdialog syntax and following
options:
--title
--backtitle
--ok-label
--yes-label
--cancel-label
--no-label
--no-cancel
--default-item
--password
--msgbox
--inputbox
--yesno
--menu
--menubox
--radiolist
--checklist
--combobox
--fselect
Getgui's native options are not broken (I hope). Some default values are changed for my own needs (default fonts, button color etc..).
Also, a program name is changed to "xgetgui" to avoid copiright conflicts.
- Attachments
-
- xgetgui-0.1a.tar.gz
- (151.28 KiB) Downloaded 373 times
SUUM CUIQUE.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I went through and fixed most of the syntactical build errors, and tweaked the font and border settings so it isn't so fugly. Still needs a lot of cleanup though ... mainly how the functions and variables are declared... also made a build script.PANZERKOPF wrote:About GetGUI:
I modified somewhat, now it can recognize Dialog/Xdialog syntax and
...
Getgui's native options are not broken (I hope). Some default values are changed for my own needs (default fonts, button color etc..).
Also, a program name is changed to "xgetgui" to avoid copiright conflicts.
Edit @PANZERKOPF, btw most of the fixes were not your code - just legacy stuff and from ripping chunks out of ploticus ... also I added the list of widgets to the --help (though I didn't put any order to them or descriptions or formatting)
- Attachments
-
- xgetgui-T.tar.gz
- (153.31 KiB) Downloaded 342 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 282
- Joined: Wed 16 Dec 2009, 21:38
- Location: Earth
Thanks!technosaurus wrote: I went through and fixed most of the syntactical build errors, and tweaked the font and border settings so it isn't so fugly. Still needs a lot of cleanup though ... mainly how the functions and variables are declared... also made a build script.
Edit @PANZERKOPF, btw most of the fixes were not your code - just legacy stuff and from ripping chunks out of ploticus ... also I added the list of widgets to the --help (though I didn't put any order to them or descriptions or formatting)
I agree but seems this is not possible without completely rewriting an internal toolkit.goingnuts wrote:PANZERKOPF: If only we could add scrolling to the menu and file select windows it would be close to perfect.
Unfortunately I have poor experience with X toolkits
P.S.
Another crazy idea about GTK1:
It is possible to make it UTF compliant or that is same as reinventing a wheel?
This idea was born when I found a clone of Athena Widget: Xaw3Dxft.
It supports UTF and Xft so If someone can improve Athena, why another one can't improve gtk1?
SUUM CUIQUE.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Gtk-xcb fits the bill (the one on sourceforge, not the one in gtk's git tree). It was forked right before the cairo dependency and uses xcb as the backend (will need updated for newer versions though). Ideally I would like to update it to work with pango-1.24.5 and latest xcb libs, and add maybe some widgets/functions.PANZERKOPF wrote:...
Another crazy idea about GTK1:
It is possible to make it UTF compliant or that is same as reinventing a wheel?
This idea was born when I found a clone of Athena Widget: Xaw3Dxft.
It supports UTF and Xft so If someone can improve Athena, why another one can't improve gtk1?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Take a look at tinycore
If you are looking for interesting ideas about a minimalist distribution take a look at tinycore
http://distro.ibiblio.org/tinycorelinux/welcome.html
[/url]
http://distro.ibiblio.org/tinycorelinux/welcome.html
[/url]
Re: Take a look at tinycore
I know too little but I would be surprised if these two ahve the same goal?justauser wrote:If you are looking for interesting ideas about a minimalist distribution take a look at tinycore
http://distro.ibiblio.org/tinycorelinux/welcome.html
Goingnuts will know though.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
Re: Take a look at tinycore
Thanks...I haven't followed too close the development of TC since I made this special version of pUPnGO: pUPnGO_V412_080211.iso running TC as topping. TC definitely is an interesting distro...but sort of lost interests after spending a short time on their forum...justauser wrote:If you are looking for interesting ideas about a minimalist distribution take a look at tinycore
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Ditto on the toxic-caustic forum... That is what TC stands for right? I once had several hundred posts, but the constant mis-moderation convinced me it was as much of a lost cause as DSL (the main dev's former project), so I made sure to post all my relevant topics here (before removing all of my posts there). Tcl also stopped being simple a long time ago ... Puppy too, but I know puppy and like simple... so I try to make it simpler... Pupngo was already simpler, so I help out here when I can and the other more spotlight oriented devs cherry-pick from here and it slowly filters into mainline (not all, by any means... my init/xinit combo written in c is way oversimplified for a "standard" linux desktop but gets a basic gtk1 desktop in a 2mb kernel image). We test out these insane "impossible" ideas where experts would say it can't be done... It's a good thing we aren't "experts".
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Take a look at tinycore
Did take a look back too ...justauser wrote:If you are looking for interesting ideas about a minimalist distribution take a look at tinycore
http://distro.ibiblio.org/tinycorelinux/welcome.html
[/url]
quoted fromi understand that not worth powder and shot
http://forum.tinycorelinux.net/index.ph ... l#msg71186
It is fascinating watching what you guys have been doing. I am glad you are happy to be in the engine room, and that you have stuck with Puppy. It is so annoying when some projects get overtaken by "ego", but that isn't happening here. Watching these posts is like taking a peek into the inventors back shed. Thanks.technosaurus wrote: other more spotlight oriented devs cherry-pick from here and it slowly filters into mainline (not all, by any means.... We test out these insane "impossible" ideas where experts would say it can't be done... It's a good thing we aren't "experts".
...They have "Hero Member"´s too - did not find any heroine there thoughDid take a look back too ...
Ohh and that wbar - looks so cool - even began to build a static version - starting with imlib2 and then remembered why I did not succeed in the past: wbar is cc/c+ or whatever.
But found another Easter-time-killer: beaver - quite mature editor with some syntax highlight and more modern mouse response that the gtk-version of mp. Attached a static build of beaver - only had to disable a font-style-setting to avoid segfaults in the static build bin.
- Attachments
-
- snap0000.png
- running pupngo+beaver
- (42.83 KiB) Downloaded 403 times