Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2008, 08:09 AM   #1
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Talking Windowmanager Fluxbox

Fluxbox is yet another windowmanager for X. I compiled it.
Dreams came true: Easy switching between open programs is possible.
Screenshots are attached showing my iLiad session running Contentlister, 2 mrxvt windows, XBoard, & ipdf.
When I click on a icon in the fluxbox bar this app get's in front.
I'm so proud of this new effort. This is so sexy. I have the feeling I own a real Linux PDA.
I'm so damn studpid. I compiled fluxbox is December, but I checked whether it is working today.

[EDIT 02/15/08] Fluxbox installer is attached.
[EDIT 02/16/08] The usage of hacked libX11 is not very clever. In Contentlister we get first refeshes by hacked libX11, then a full-screen-refresh.

When you click with stylus on the area titled as "two" [it's the name of the current workspace] you will get the options menu of the toolbar [positon, clock setttings etc.].
to-do-list:
# click on toolbar -> small screen refresh
# simulation of 3rd mouse-click for action on titlebar [kill window, send to a workspace etc.]
etc..
Attached Thumbnails
Click image for larger version

Name:	iLiad_fluxbox_01_XBoard.png
Views:	929
Size:	58.9 KB
ID:	10364   Click image for larger version

Name:	iLiad_fluxbox_02_ipdf.png
Views:	858
Size:	185.8 KB
ID:	10365  
Attached Files
File Type: zip fluxbox.iLiad.0.1.zip (1.42 MB, 622 views)

Last edited by yokos; 02-16-2008 at 09:07 AM. Reason: EDIT II
yokos is offline   Reply With Quote
Old 02-15-2008, 08:15 AM   #2
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Newcastle upon Tyne, UK
Device: iRex iLiad, Psion 5MX, nokia n800
Wow! I would love to try this.
daudi is offline   Reply With Quote
Old 02-15-2008, 08:18 AM   #3
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Quote:
Originally Posted by daudi View Post
Wow! I would love to try this.
Right now I run the starting script of fluxbox in mrxvt. I think it will possible the get a shell script/manifest combo for contentlister.
yokos is offline   Reply With Quote
Old 02-15-2008, 08:41 AM   #4
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Mind posting the binaries so those with ssh access can check it out?

That's pretty cool. I don't know why it wasn't thought of before...

Edit: How about the hardware buttons? Everything work inside the applications? Page flipping, etc.
Adam B. is offline   Reply With Quote
Old 02-15-2008, 09:30 AM   #5
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Quote:
Originally Posted by Adam B. View Post
Mind posting the binaries so those with ssh access can check it out?

That's pretty cool. I don't know why it wasn't thought of before...

Edit: How about the hardware buttons? Everything work inside the applications? Page flipping, etc.
Everything works "normally".

Binaries are attached. You should run the shell script
Code:
/usr/local/bin/startfluxbox
.
I copied all files to "_local" on CF card, then started the shell script.
startfluxbox.orig is the original shell script w/o iLiad specific killing of matchbox wm & pageBar.
Attached Files
File Type: gz fluxbox_not_official_just_for_testing.tar.gz (1.42 MB, 421 views)

Last edited by yokos; 02-15-2008 at 09:37 AM.
yokos is offline   Reply With Quote
Old 02-15-2008, 09:37 AM   #6
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Excellent! I'll check it out when I run out of ideas on WebKit.
Adam B. is offline   Reply With Quote
Old 02-15-2008, 09:46 AM   #7
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
I killed pageBar because it hides the fluxbox bar at the bottom. I haven't checked the config files of fluxbox. It should be possible to set the bar on the top of screen etc. Crazy artistic themes of the window title bars could work, too.

to do: 3rd mouse click on the free desktop -> menu of fluxbox.
yokos is offline   Reply With Quote
Old 02-15-2008, 10:05 AM   #8
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Newcastle upon Tyne, UK
Device: iRex iLiad, Psion 5MX, nokia n800
Try
Code:
session.screen0.toolbar.placement: TopCenter
in your fluxbox/init file.

And would autohide work?
Code:
session.screen0.toolbar.autoHide: True
I think that if you click on the very bottom of the screen it should re-show the toolbar.

Here's more info on the init file

Last edited by daudi; 02-15-2008 at 10:06 AM. Reason: Added URL for init file
daudi is offline   Reply With Quote
Old 02-15-2008, 10:17 AM   #9
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
One cool thing is developers don't have to bother using the dialog-hack [matchbox-wm handles dialog windows as non-fullscreen-windows] anymore.
The could boost porting speed.
With fluxbox all windows open independently of the others.
I checked XBoard. The dialog windows which opened as fullscreen w/o fluxbox are now useable.

# screenshot: You will start the windowmanander fluxbox like all other apps. Cool - no hacking or so needed. Starting the fluxbox entry kills the pagebar and shows the fluxbox bar. When you start your iLiad the next time it will start with original windowsmanager again.

[If have to setup an installer now - the same method like XBoard, Abiword etc.]
Attached Thumbnails
Click image for larger version

Name:	fluxbox_in_CL.png
Views:	659
Size:	100.4 KB
ID:	10370  

Last edited by yokos; 02-15-2008 at 10:29 AM.
yokos is offline   Reply With Quote
Old 02-15-2008, 10:17 AM   #10
templario
Connoisseur
templario began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Dec 2006
Device: Iliad
Congratulations, this may be one of the best portings so far. I assume it can´t be ran from the content lister, can it?
templario is offline   Reply With Quote
Old 02-15-2008, 10:34 AM   #11
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Thanks daudi. I fell asleep yesterday reading the fluxbox documentation.
default content of "init":
Code:
session.screen0.slit.placement:	BottomRight
session.screen0.slit.direction:	Vertical
session.screen0.slit.onTop:	False
session.screen0.slit.autoHide:	False
session.screen0.tab.placement:	Top
session.screen0.toolbar.onTop:	False
session.screen0.toolbar.autoHide:	False
session.screen0.toolbar.placement:	BottomCenter
session.screen0.toolbar.widthPercent:	66
session.screen0.workspaceNames:	one,two,three,four
session.screen0.strftimeFormat:	%k:%M
session.screen0.focusNewWindows:	True
session.screen0.focusModel:	ClickToFocus
session.screen0.fullMaximization:	False
session.screen0.edgeSnapThreshold:	0
session.screen0.rowPlacementDirection:	LeftToRight
session.screen0.workspaces:	4
session.screen0.focusLastWindow:	True
session.screen0.colPlacementDirection:	TopToBottom
session.screen0.windowPlacement:	RowSmartPlacement
session.screen0.tab.width:	64
session.screen0.tab.height:	16
session.screen0.showwindowposition: true
session.opaqueMove:	False
session.autoRaiseDelay:	250
session.menuFile:	~/.fluxbox/menu
session.cacheLife:	5
session.styleFile:	/usr/local/share/fluxbox/styles/bloe
session.keyFile: ~/.fluxbox/keys
session.colorsPerChannel:	4
session.doubleClickInterval:	250
session.cacheMax:	200
session.imageDither:	True
session.configVersion:	1
Let's hack ~/.fluxbox/init!

Last edited by yokos; 02-15-2008 at 10:38 AM.
yokos is offline   Reply With Quote
Old 02-15-2008, 10:50 AM   #12
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
# toolbar is on top.
# Toolbar is autohiding, but I can't reopen, because the thin stripe of hide toolbar is in the edge of screen and therefore not achievable with stylus.

Sorry for starting a new post all the time.

What a pity I don't have the USB/LAN Connector right by my side.
Attached Thumbnails
Click image for larger version

Name:	Fluxbox_Toolbar_on_Top.png
Views:	495
Size:	119.4 KB
ID:	10371  

Last edited by yokos; 02-15-2008 at 11:10 AM.
yokos is offline   Reply With Quote
Old 02-15-2008, 10:53 AM   #13
Gogolo
Addict
Gogolo has learned how to buy an e-book online
 
Gogolo's Avatar
 
Posts: 345
Karma: 92
Join Date: Sep 2007
Device: iLiad V2 and DR1000S (OMG)
Yokos, great work, thanks a lot!

This will be very nice for notetaking while reading.
Gogolo

P.S.: I see tetris as a installer app in your screenshot...
Gogolo is offline   Reply With Quote
Old 02-15-2008, 12:10 PM   #14
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
first installer is out now!

Yepp. I have attached the first installer.
Some procedure as everytime [Adam B.'s, my ports].
Working day is over here in Germany, so to all MR-fellows out there: have a nice weekend with a new windowmanager.

I hope when I will come back on Mo, I will find here a nice "What is the best init file"-discussion.
yokos is offline   Reply With Quote
Old 02-15-2008, 01:14 PM   #15
Lazycat
Enthusiast
Lazycat began at the beginning.
 
Lazycat's Avatar
 
Posts: 46
Karma: 10
Join Date: Dec 2007
Device: iLiad 2nd Edition
Forgive me, I'm an idiot in porting.

Can someone tell me how to install this program? I really want to try it!
Lazycat is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 06:07 PM.


MobileRead.com is a privately owned, operated and funded community.