| 1   2   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Run any app fullscreen (https://talk.maemo.org/showthread.php?t=47831)

白い熊 2010-03-20 06:47

Run any app fullscreen
 
http://sumoudou.org/%E7%9B%B8%E6%92%...ia%20N900.html

Brank 2010-03-20 06:50

Re: Run any app fullscreen
 
would love to have this in a form of an app that lets you enable/disable

Ali_rshojakhani 2010-03-20 07:05

Re: Run any app fullscreen
 
great!! could someone plz post a more detailed and easier description on how to get it done? tnx!

That One Guy 2010-03-20 07:18

Re: Run any app fullscreen
 
It's 5 steps! How much easier to you want it?

bpe 2010-03-20 07:57

Re: Run any app fullscreen
 
After following the install instructions "To install kumatux.org on the Nokia N900 GNU mobile phone:" I get this error.

"/home/user/kumatux.org/kumatux.org-setup.sh: line 9: cd: : No such file or directory"

I have used the bash from that archive and also tried to use bash from apt-get bash both do not seem to work, any help would be great. thank you !!

I have it installed at /home/user/kumatux.org/

Tried running it under user's "user" and "root"

Metalov 2010-03-20 08:41

Re: Run any app fullscreen
 
Does it let you switch between fullscreen and non-fullscreen modes or is it only used to enable fullscreen without the option to return to 'windowed' mode?

白い熊 2010-03-20 08:44

Re: Run any app fullscreen
 
Quote:

Originally Posted by bpe (Post 574408)
"/home/user/kumatux.org/kumatux.org-setup.sh: line 9: cd: : No such file or directory"

That's cause you're not running it through bash, and busybox is reporting this.

Make sure, assuming you're in /home/user, to execute:
Code:

kumatux.org/bin/bash kumatux.org/kumatux.org-setup.sh
and ensure you have the executables of basename, bash, and dirname in kumatux.org/bin/
otherwise, you're gonna get these errors, they're all busybox generated, but you can't uninstall busybox and use real GNU tools in the base system, since you'd mess up the N900 system.

白い熊 2010-03-20 08:45

Re: Run any app fullscreen
 
Quote:

Originally Posted by Metalov (Post 574451)
Does it let you switch between fullscreen and non-fullscreen modes or is it only used to enable fullscreen without the option to return to 'windowed' mode?

You can switch back and forth.

白い熊 2010-03-20 08:46

Re: Run any app fullscreen
 
Quote:

Originally Posted by Brank (Post 574361)
would love to have this in a form of an app that lets you enable/disable

This let's you toggle fullscreen on and off exactly. I can't go without it on the N900.

RockCreek1 2010-03-20 09:40

Re: Run any app fullscreen
 
This looks like a very useful program that will make the N900 even more useful. For me and perhaps for other noobs, and others who may be cautious about entering all this code, it would be very much appreciated if this could be packaged as a simple app to download. Thank you.

bpe 2010-03-20 11:40

Re: Run any app fullscreen
 
I have linked xbindkeys rebooted but when I type xbindkeys it says.

error while loading shared libraries: libguile.so. 18: cannot open shared object file: No such file or directory.

Is this a problem on my end? I have re-flashed my n900 and followed the steps from the start and it still happens.

I tried apt-get guile and apt-cache search guile and installed the 1.8 version of libguile but still does not work.

Thank you I hope to get this to work soon :)

ToJa92 2010-03-20 13:07

Re: Run any app fullscreen
 
Almost there I guess, but I get this error:
Quote:

Originally Posted by PuTTY
Nokia-N900-02-8:/home/user/kumatux.org/kumatux.org-apps/xbindkeys_1.8.3_jj_2010-02-15-223242_fremantle_armel/bin# /home/user/kumatux.org/bin/kumatux.org-link xbindkeys
/home/user/kumatux.org/bin/kumatux.org-link: .: line 4: kumatux.org-vars: not found

How do I solve it?

I connect my computer to my N900 via SSH, so I'm running all commands as root by the way.

*takes backup just in case*

[DarkGUNMAN] 2010-03-20 19:55

Re: Run any app fullscreen
 
I have EasyDebian installed, and run Debian HArdware Keys. I can then use CTRL and UP or CRTL and SPACE to Full Screen any app.

白い熊 2010-03-22 01:48

Re: Run any app fullscreen
 
Quote:

Originally Posted by bpe (Post 574608)
I have linked xbindkeys rebooted but when I type xbindkeys it says.

error while loading shared libraries: libguile.so. 18: cannot open shared object file: No such file or directory.

Is this a problem on my end? I have re-flashed my n900 and followed the steps from the start and it still happens.

Sorry, this was a problem on my end, xbindkeys requires guile. I've also compiled it for kumatux.org, you can get it at:
http://kumatux.org/Applications.html

just kumatux.org-link it as any other app, source .profile via
Code:

. ~/.profile
and xbindkeys will run.

白い熊 2010-03-22 01:57

Re: Run any app fullscreen
 
Quote:

Originally Posted by ToJa92 (Post 574700)
How do I solve it?

I connect my computer to my N900 via SSH, so I'm running all commands as root by the way.

This is because you installed kumatux.org as a regular user, which means you probably installed it to /home/user/kumatux.org-root and /home/user/kumatux.org-links if you ran the default install. And now you're running the commands as root, which can't find kumatux.org files.

If you want to run as root, you need to install it as root, which will copy it to /root/kumatux.org-root etc. and then you'd export ~/.profile as root. However then the apps you link/install as root are not gonna be seen as user, since to use them as user, you have to link/install them as user.

That's actually the beauty of it, since you can install the programs as user without root privileges, and on top of that root and user can have different progs installed.

If you want to do this over SSH it's no prob, just ssh into user@192.186.2.15 and you'll log in as user. I seem to remember you have to first change user's password, i.e. on the N900, login as root, and then
Code:

password user
, then you can connect via ssh to user and will be able to carry out all the user's actions.

bpe 2010-03-22 04:00

Re: Run any app fullscreen
 
Thank you so much for the help so far in trying to get this fine app to work but I have another issue, after linking guile and rebooting I get this new error.

error while loading shared libraries: libgc.so.1: cannot open shared object file: no such file or directory.

Sorry if I am annoying you but I would still like to get this to work.


Thanks again !!

白い熊 2010-03-22 06:17

Re: Run any app fullscreen
 
You're getting there, this should be the last hickup.

Also install gc_7.2alpha4 from:
http://kumatux.org/Applications.html

and it should work.

bpe 2010-03-22 06:37

Re: Run any app fullscreen
 
Quote:

You're getting there, this should be the last hickup.

Also install gc_7.2alpha4 from:
http://kumatux.org/Applications.html

and it should work.
New error :)

error while loading shared libraries: libunistring.so.0: cannot open shared object file: no such file or directory.

白い熊 2010-03-22 07:22

Re: Run any app fullscreen
 
Can't believe this, it also needs libunistring_0.9.2.1, install it from:
http://kumatux.org/Applications.html

bpe 2010-03-22 07:42

Re: Run any app fullscreen
 
It is now saying "Segmentation fault" when I type xbindkeys :(

would you like me to flash my n900 and try from scratch ?

白い熊 2010-03-22 08:51

Re: Run any app fullscreen
 
You said you already reflashed right? If so, you have a clean system, since kumatux.org doesn't install anything into the system and doesn't touch the underlying rootfs, so unless you did something weird on the side, it shouldn't make a difference.

Don't understand why it would segfault.

Are you running it as user, i.e. not as root?

Where did you extract the apps to, which directory?

Just to see, try kumatux.org-unlink xbindkeys and all the apps, as root:
Code:

mkdir -p /media/0/kumatux.org-apps
chown user:users /media/0/kumatux.org-apps

then as user extract all there and kumatux.org-link them. Then export the ~/.profile via
Code:

. ~/.profile
as user. No need to reboot. And see if xbindkeys runs now.

bpe 2010-03-22 09:44

Re: Run any app fullscreen
 
Running it as "user"

I first had them installed at /home/user/

moved them to /media/0/kumatux.org-apps and it now works but when I press shift + enter, it does not make the application full screen, the prompt turns white when pressed though and in some apps the key area of the window does light up but does not go full screen. let me test some more.

When I type vi ~/.xbindkeysrc

This in the contents.

"wmctrl -r :ACTIVE: -b toggle,fullscreen"
shift + KP_Enter

I also have your wmctrl from applications installed !

白い熊 2010-03-22 21:04

Re: Run any app fullscreen
 
Did you run xbindkeys from the terminal, before attempting to Shift+Enter maximize an app?

What happens when you execute the following in the terminal?
Code:

wmctrl -r :ACTIVE: -b toggle,fullscreen

ToJa92 2010-03-22 21:12

Re: Run any app fullscreen
 
Quote:

Originally Posted by 白い熊 (Post 576576)
This is because you installed kumatux.org as a regular user, [lengthy post removed]

Thank you, just one question, should I remove everything and do it again? What would happen if I right now removed all files and reboot, would something break? I was thinking of reflashing anyway, but I want to try it out first.

ivnvir 2010-03-22 21:32

Re: Run any app fullscreen
 
why not pack all this stuff in deb (imagemagick and everything)?

why everyone has to suffer instead of just one suffering making a deb?

or am I missing something?

It s*cks to use the terminal and copy 1000 files...

白い熊 2010-03-22 22:14

Re: Run any app fullscreen
 
Quote:

Originally Posted by ToJa92 (Post 577814)
Thank you, just one question, should I remove everything and do it again? What would happen if I right now removed all files and reboot, would something break? I was thinking of reflashing anyway, but I want to try it out first.

Don't do this. That's why I designed kumatux.org so that if something is wrong, you didn't mess with the underlying system, you didn't change any files, so you don't have to reinstall anything and reflash etc.

If you installed it as user, then run kumatux.org-link as user. If you want to use it as root, use as root.

If you want to completely remove it for any user, if you ran kumatux.org setup as a regular user it created /home/user/kumatux.org-root and /home/user/kumatux.org-links which are just directories of symlinks which get exported on login from the /home/user/.profile file. So to completely remove it, just delete these two directories and delete these lines from the end of your /home/user/.profile
Code:

export KUMATUXBIN=/home/user/kumatux.org/bin
export KUMATUXLINKS=/home/user/kumatux.org-links
export KUMATUXROOT=/home/user/kumatux.org-root
. $KUMATUXBIN/kumatux.org-export
. $KUMATUXBIN/export.sh/path-export.sh

Now when you relogin/reboot you have a clean system, just like you started with.

白い熊 2010-03-22 22:19

Re: Run any app fullscreen
 
Quote:

Originally Posted by ivnvir (Post 577844)
why not pack all this stuff in deb (imagemagick and everything)?

why everyone has to suffer instead of just one suffering making a deb?

or am I missing something?

Yeah, you're missing something man: that's exactly what kumatux.org was designed for, so that you wouldn't install stuff from debs pulling all the dependencies in, potentially messing up your system, removing system parts etc. That's what happens actually in the N900 if you install some sdk, devel stuff etc.

This way, you just extract the compiled package anywhere on your system, you can put it in /media/trash or whatever, and just run kumatux.org-link and can use it.

Sure, you need to take care of the dependencies, like this xbindkeys stuff, but if something goes wrong you don't have a bricked system, you don't need no reflashes, you are guaranteed all system files are untouched and can easily go back via just kumatux.org-unlink

And most stuff I compiled has no dependency hell, this xbindkeys stuff is by far the worst...

Guess, it depends on what you consider suffering. I'm not a beginner in GNU/Linux I'd think, but I had to reflash this damn Nokia more than a hundred times, when I was compiling stuff, installing it into the system, or pulling in SDK dependencies etc. So came up with this super-clean solution, even enabling users without root access to use any app anywhere.

Think it's quite potent, just requires so CLI work, but I think it's well worth it.

bpe 2010-03-23 00:16

Re: Run any app fullscreen
 
When I run wmctrl -r :ACTIVE: -b toggle,fullscreen into terminal nothing happens.

I was meant to use wmctrl from your applications right?

zoner 2010-03-23 03:29

Re: Run any app fullscreen
 
well, I've read this thread 30 times, before I screw something up, someone please tell me what I'm doing wrong.

1-copied kumatux.org to /home/user/
2-copied 3 files from n900 tools directory to /home/user/kuma..org/bin
3-in /home/user/ directory, run

~ $ kumatux.org/bin/bash kumatux.org/kumatux.org-setup.sh

I get
-sh: kumatux.org/bin/bash: Permission denied

I know I can run as user, but it sure looks like it wants root.

I moved kumatux all over the place, tried running the bash from the bin directory, no go for me. I've tried with & without the tilde's like the source instructions. help? chmod? chown?

白い熊 2010-03-23 03:32

Re: Run any app fullscreen
 
Quote:

Originally Posted by bpe (Post 578037)
When I run wmctrl -r :ACTIVE: -b toggle,fullscreen into terminal nothing happens.

I was meant to use wmctrl from your applications right?

I find that hard to believe, you should be getting some response, either it should fullscreen the window, or you should get some feedback.

What is the response to:
Code:

which wmctrl
and
Code:

wmctrl --version

白い熊 2010-03-23 03:34

Re: Run any app fullscreen
 
Quote:

Originally Posted by zoner (Post 578143)
2-copied 3 files from n900 tools directory to /home/user/kuma..org/bin
3-in /home/user/ directory, run

~ $ kumatux.org/bin/bash kumatux.org/kumatux.org-setup.sh

I get
-sh: kumatux.org/bin/bash: Permission denied
help? chmod? chown?

Make sure you've extracted kumatux.org and the three files to bin under user, not as root.
Code:

chmod 755 kumatux.org/bin/basename
chmod 755 kumatux.org/bin/bash
chmod 755 kumatux.org/bin/dirname

then
Code:

kumatux.org/bin/bash kumatux.org/kumatux.org-setup.sh

bpe 2010-03-23 03:42

Re: Run any app fullscreen
 
which wmctrl
/home/user/kumatux.org-root/0/2/wmctrl


wmctrl --version
error while loading shared libraries: libXmu.so.6: cannot open shared object file: no such file or directory

白い熊 2010-03-23 05:41

Re: Run any app fullscreen
 
Sorry about this dependency hell, didn't write this one down either when I compiled:

install libxmu from:
http://kumatux.org/Applications.html

bpe 2010-03-23 07:10

Re: Run any app fullscreen
 
Woohoo it works !!! thank you very much for your time and efforts in helping and creating this, I really like how the dependency are handled with kumatux

白い熊 2010-03-23 07:55

Re: Run any app fullscreen
 
Ain't it great! Just think, you don't have to install anything into the root file system...

I have a number of versions of say emacs copied side by side in different directories, then when you want to switch, you just quickly kumatux.org-unlink one and kumatux.org-link another, don't even have to export the .profile, as the link script automatically finds the new available slot in the bin link dir in kumatux.org-links, so the new app is linked where the old one was and boom, you use the new one... Without messing with the system, if anything is wrong, you just unlink the app, and you have a pristine clean system, no trash...

Thanks for reporting the dependencies, at least we got this tracked down, since I compiled and linked everything on a necessity basis, but will keep better track for further apps...

bachagabriel 2010-03-23 14:50

Re: Run any app fullscreen
 
Is it possible to write a script or package it all in a .deb file to do it all in 1 step?

白い熊 2010-03-23 21:55

Re: Run any app fullscreen
 
http://talk.maemo.org/showthread.php...401#post579401

traysh 2010-04-30 18:49

Re: Run any app fullscreen
 
Quote:

Originally Posted by 白い熊 (Post 577904)
Yeah, you're missing something man: that's exactly what kumatux.org was designed for, so that you wouldn't install stuff from debs pulling all the dependencies in, potentially messing up your system, removing system parts etc. That's what happens actually in the N900 if you install some sdk, devel stuff etc.

This way, you just extract the compiled package anywhere on your system, you can put it in /media/trash or whatever, and just run kumatux.org-link and can use it.

Sure, you need to take care of the dependencies, like this xbindkeys stuff, but if something goes wrong you don't have a bricked system, you don't need no reflashes, you are guaranteed all system files are untouched and can easily go back via just kumatux.org-unlink

And most stuff I compiled has no dependency hell, this xbindkeys stuff is by far the worst...

Guess, it depends on what you consider suffering. I'm not a beginner in GNU/Linux I'd think, but I had to reflash this damn Nokia more than a hundred times, when I was compiling stuff, installing it into the system, or pulling in SDK dependencies etc. So came up with this super-clean solution, even enabling users without root access to use any app anywhere.

Think it's quite potent, just requires so CLI work, but I think it's well worth it.

Ok, might it is a good idea for a developer or a skilled person, but it is not a good idea for an end-user. An end-user needs integration with the existing tools like app manager and an easy install. For example, I want to run Slingshot in fullscreen. It would be nice if I could install with 1 click for Slingshot and 1 for fullscreen (or maybe only 1 for them both). But no, I have to run several commands that I don't understand. Things were done the way they were done (deb packages, app manager) for a reason, people thought in all this before, you don't need to re-do what they done.
In other words: you've managed to build several nice apps but they need far beyond skills most maemo users have. So, right now, they're not useful to almost everyone here.

EDIT:
And the deb packages aren't supposed to break anything, that's why they go first to extras-devel, then extras-testing and only then extras.

hawaii 2010-05-01 00:58

Re: Run any app fullscreen
 
Quit using XZ compression. gzip is where it's at and it makes your packages that much harder to move from device to device, since tar doesn't support XZ out of the box.

hawaii 2010-05-01 01:44

Re: Run any app fullscreen
 
Also, any reason you'd be missing GNU MP libs? libgmp.so.3 is a requirement for xbindkeys and I don't see it provided by the packages?


| 1   2   | Next
All times are GMT. The time now is 10:45.

vBulletin® Version 3.8.8