Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Users

Full screen non-Hildon X applications possible?

 

 

Maemo users RSS feed   Index | Next | Previous | View Threaded


ucecesf at ucl

Jul 17, 2009, 11:01 AM

Post #1 of 8 (1554 views)
Permalink
Full screen non-Hildon X applications possible?

Hello,

I've posted this onto the maemo.org forum but in case the audience
here is significantly different, I thought I'd try here as well!
Apologies to those that see this twice.

I've got an N800 and everything is working fine. The reason for
getting it was to run Emacs so that I could have org-mode on a
portable system. That's all working just fine.

However, I find I like using Emacs with the system in portrait
orientation. I have the screen rotating tool and that works as well.

What doesn't work is that if I run Emacs as an X window application, I
cannot make it full screen; if I run the X terminal and run Emacs
within that (with -nw) option, I can indeed make use of the full
screen but I lose the mouse/stylus interaction with Emacs directly.

Can X window applications, non-Hildon, be made to run full screen?
I've tried specifying -geometry but that hasn't made any difference.

Any pointers more than welcome!!

Thanks,
eric
_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


gary at eyetraxx

Jul 17, 2009, 3:31 PM

Post #2 of 8 (1444 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

Which version are you using? emacs with X support or emacs with no X
support?
http://danielsz.freeshell.org/code/mine/emacs-for-maemo

By what I'm reading in the comments, full screen mode isn't available to
non-hildonized apps. But don't take my word for it...

-Gary
_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


ucecesf at ucl

Jul 17, 2009, 3:56 PM

Post #3 of 8 (1446 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

At Fri, 17 Jul 2009 15:31:13 -0700,
Gary wrote:
>
> Which version are you using? emacs with X support or emacs with no X
> support?
> http://danielsz.freeshell.org/code/mine/emacs-for-maemo

I have emacs (v22) with X support. Works fine (with the matchbox
keyboard) except for the inability to use the whole screen or to be
resized.

> By what I'm reading in the comments, full screen mode isn't available to
> non-hildonized apps. But don't take my word for it...

looks like it but I was hoping I was wrong!

Thanks,
eric
_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


ucecesf at ucl

Jul 19, 2009, 4:19 AM

Post #4 of 8 (1443 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

At Sun, 19 Jul 2009 12:53:36 +0200,
Damien Challet wrote:
>
> It is possible to have any (windowed) application with xbindkeys and wmctrl in
> full screen,
>
> google
>
> wmctrl maemo xbindkeys
>
> it works very well for emacs, nxclient, etc.
>
>

Excellent. Thanks. I'll pursue this avenue.

It's interesting that the search in maemo.org's talk forum didn't find
this thread.

Thanks again,
eric
_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


peter.flynn at mars

Aug 2, 2009, 12:38 PM

Post #5 of 8 (1314 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

Eric S Fraga wrote:
> At Sun, 19 Jul 2009 12:53:36 +0200,
> Damien Challet wrote:
>> It is possible to have any (windowed) application with xbindkeys and wmctrl in
>> full screen,
>>
>> google
>>
>> wmctrl maemo xbindkeys
>>
>> it works very well for emacs, nxclient, etc.
>>
>>
>
> Excellent. Thanks. I'll pursue this avenue.

Did you find out how to do this? Googling returns nothing except this
thread, a lot of repo listings, and some pages in japanese...

///Peter
_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


rael at edge

Aug 2, 2009, 1:02 PM

Post #6 of 8 (1331 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

Hello!

> Did you find out how to do this? Googling returns nothing except this
> thread, a lot of repo listings, and some pages in japanese...

Hildon/the window manager follows the freedesktop WM spec.

See:

http://standards.freedesktop.org/wm-spec/1.4/ar01s05.html#id2569140

You have to set the _NET_WM_STATE property to _NET_WM_STATE_FULLSCREEN
to get the window resized to full screen. You can either do this from
within the application (like hildon does when pressing the full screen
button), or try to write a tool for it.

I can offer C/C++ example code, if somebody wants to write a tool for it
(named wmctrl may be such a tool).

--
Gruß...
Tim

_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


peter.flynn at mars

Aug 2, 2009, 2:09 PM

Post #7 of 8 (1320 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

Tim Teulings wrote:
> Hello!
>
>> Did you find out how to do this? Googling returns nothing except this
>> thread, a lot of repo listings, and some pages in japanese...
>
> Hildon/the window manager follows the freedesktop WM spec.
>
> See:
>
> http://standards.freedesktop.org/wm-spec/1.4/ar01s05.html#id2569140
>
> You have to set the _NET_WM_STATE property to _NET_WM_STATE_FULLSCREEN
> to get the window resized to full screen. You can either do this from
> within the application (like hildon does when pressing the full screen
> button), or try to write a tool for it.

This implies that you have to modify the source for the application and
recompile, right?

I'm not trying that with Emacs :-) Although one of the Japanese pages
does have some eLisp code

> (defun toggle-full-screen ()
> (shell-command "~/bin/wmctrl -r :ACTIVE: -b toggle,fullscreen"))
> (global-set-key (quote [f6])(quote toggle-full-screen))

I stuck that in my .emacs but Emacs doesn't like the syntax of the last
line for some reason; claiming an error commandp, toggle-full-screen.
But that's not a problem for this list...time to ask Usenet...


///Peter

_______________________________________________
maemo-users mailing list
maemo-users [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-users


qole.tablet at gmail

Aug 10, 2009, 10:44 AM

Post #8 of 8 (1224 views)
Permalink
Re: Full screen non-Hildon X applications possible? [In reply to]

My Easy Debian package uses xbindkeys and wmctrl to make any application
full screen. It is included in the package as "Set Debian HW Keys". If you
don't want to download the 1.1 GB file just to make applications full
screen, you can install the easy-deb-chroot package from extras and then
look at the /home/user/xbindkeysrc.scm to see how I did it.

Basically, you need to install wmctrl and xbindkeys (you're on your own
there; I use the Debian versions), then use xbindkeys to run this command
when you press a key or key combination (in my case, you press the "-"
hardware key and the "fullscreen" hardware key to toggle):

wmctrl -r :ACTIVE: -b toggle,fullscreen

On Sun, Jul 19, 2009 at 4:19 AM, Eric S Fraga <ucecesf [at] ucl> wrote:

> At Sun, 19 Jul 2009 12:53:36 +0200,
> Damien Challet wrote:
> >
> > It is possible to have any (windowed) application with xbindkeys and
> wmctrl in
> > full screen,
> >
> > google
> >
> > wmctrl maemo xbindkeys
> >
> > it works very well for emacs, nxclient, etc.
> >
> >
>
> Excellent. Thanks. I'll pursue this avenue.
>
> It's interesting that the search in maemo.org's talk forum didn't find
> this thread.
>
> Thanks again,
> eric
> _______________________________________________
> maemo-users mailing list
> maemo-users [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-users
>



--
enthusiast, n. "One whose mind is wholly possessed and heated by what
engages it; one who is influenced by a peculiar fervor of mind; an ardent
and imaginative person."

Maemo users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.