Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-14-2004, 08:47 AM
|
#1
|
Member
Registered: Aug 2003
Location: Cornwall, UK
Distribution: Debian / Red Hat 7.3 / Peewee / Feather
Posts: 56
Rep:
|
X app without a window manager not true fullscreen
Hi there,
I want to run an app (firefox) from my .xinitrc file without a window manager.
This boots up and loads fine, however the application is not fullscreen, i can still see the default desktop in the background.
Crude diagram.....
=====================================
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxAPPLICATIONxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=xxxxxxxxxxxxxxxxxxxxxxxxx
=
=
= Default blank desktop
=
====================================
How can i force this app to take up the full 800x600 screen ?
-geometry -height and -width command args to /usr/firefox/firefox fail.
XFree3.3.6
Thanks in advance for any help
Last edited by Onyx^; 06-14-2004 at 08:49 AM.
|
|
|
06-14-2004, 10:46 AM
|
#2
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
This is just a guess:
Start Firefox in a regular x session with a window manager, then full-screen the application (F11).
Close it and then try your x session without the window manager.
I'm assuming Firefox will remember its previous state.
|
|
|
06-14-2004, 11:27 AM
|
#3
|
Member
Registered: Aug 2003
Location: Cornwall, UK
Distribution: Debian / Red Hat 7.3 / Peewee / Feather
Posts: 56
Original Poster
Rep:
|
fullscreen (F11) causes firefox to just lose some of its toolbars. It doesn't make the window any bigger (almost like x thinks it has a lower resolution that it is actually displaying)
|
|
|
06-14-2004, 07:59 PM
|
#4
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
ok...I didn't test it, and did say I was guessing...
Sorry I haven't got any more ideas.
|
|
|
07-01-2004, 10:44 AM
|
#5
|
Member
Registered: Aug 2003
Location: Cornwall, UK
Distribution: Debian / Red Hat 7.3 / Peewee / Feather
Posts: 56
Original Poster
Rep:
|
*bump* does anyone else have any ideas on this one ?
|
|
|
09-16-2004, 06:29 AM
|
#6
|
Member
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89
Rep:
|
Sorry to disappoint everyone with a bump and no solution, but i'm also interested in an answer to this as I just ran in to the problem myself. Did anyone find a way? I remember being able to get mozilla to resize, but firefox ignores everything I throw at it. I'll post back here if I do figure out something anyway.
|
|
|
09-16-2004, 09:40 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
Use the excellent Matchbox window manager.
http://matchbox.handhelds.org
The version I use is 0.6.2, but I'm sure the newer is better.
Yves.
|
|
|
09-18-2004, 08:19 AM
|
#8
|
Member
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89
Rep:
|
matchbox is a great windowmanager (it's been a while since I looked at it) but it doesn't do exactly what I'm after at least (and I assume the original poster). I have found though that using javascript I have been able to make the firefox browser fullscreen, yet it keeps its toolbars and things as the browser is unable to be shifed off the screen to the top or left. So the toolbars will always be visible. The only way I can see to remove the toolbars (automagically) is to write a new chrome interface for it which I'll take a look at doing and report back here when it's done! I realise there are already a few around, like kiosk and such but they don't do exactly what i'm needing.
|
|
|
09-20-2004, 04:59 AM
|
#9
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
Matchbox isn't OK? I'm surprised because it has an option to do just what you want (kiosk-like): hide all bars, and display only active window.
Yves.
|
|
|
09-20-2004, 08:19 AM
|
#10
|
Member
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89
Rep:
|
It might be ok to use, i'll keep it in mind. The main problem I have currently is that the firefox window refuses to accept geometry, as in when the browser launches you cannot specify where you want it placed, or how large you want it to be. That would solve almost all of the problems i'm getting which i remember mozilla used to support it. Is the option solely blocked within firefox alone, or is it a global block?
|
|
|
09-20-2004, 10:37 AM
|
#11
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
Further information: see "Kiosks and X terminals" here: http://matchbox.handhelds.org/usage.shtml
Yves.
|
|
|
01-11-2009, 10:23 PM
|
#12
|
LQ Newbie
Registered: Jan 2009
Posts: 3
Rep:
|
not sure if you have found your solution yet or not,
you can use the JavaScript to open up a window with 800x600, and make sure your browser doesn't have the popup blocker enabled..
if anyone wants more in detail, put a post here, otherwise, i won't go into details.
|
|
|
01-11-2009, 11:16 PM
|
#13
|
Member
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89
Rep:
|
This is a blast from the past! I remember getting javascript to resize the browser window and going through the chrome interface file (browser.js?) manually to remove all the toolbars. That was way back then though, I believe there was a fullscreen plugin that came out since then, and there is now a kiosk plugin that does everything - which I don't believe you even need to use javascript to specify the size with it anymore. I should have reported back here with the solution but must have got caught up in the excitement!
|
|
|
01-11-2009, 11:45 PM
|
#14
|
LQ Newbie
Registered: Jan 2009
Posts: 3
Rep:
|
i am currently using "Full Fullscreen 3.1" add-on with Iceweasel 3.0.3, but it doesn't give me a *real* full screen.
when i run
# /usr/bin/X :0 -terminate & sleep 2 && DISPLAY=:0 /usr/bin/xterm
it goes into a X window with nothing but an xterm, then in that xterm i run
# /usr/bin/firefox
that is actually a "Iceweasel 3.0.3" with "Full Fullscreen 3.1" add-on, and with the setting that always start in the fullscreen mode.
(this works perfect when it runs with fluxbox window manager).
but fact is it doesn't give me a REAL full screen, coz i still can see part of the xroot background.
so my kind of work around is to call the firefox with a html file, and that html file contain a javascript to open up a full screen size window.
by the way, my window use 1024x768.
if you know an addon that can really do a REAL fullscreen with firefox, please let me know.
thanks.
|
|
|
01-12-2009, 04:30 AM
|
#15
|
Member
Registered: Oct 2003
Location: Australia
Distribution: Slackware/LFS/Ubuntu
Posts: 89
Rep:
|
I'm using 1024x768 also. I just had a look and I didn't use javascript in the end, the only thing I needed was a plugin called "Real-Kiosk" which seems to be renamed to "R-kiosk" and can be found here:
https://addons.mozilla.org/en-US/firefox/addon/1659
Hope that helps!
Edit: Keep in mind this is also without a window manager - just your plain old xinitrc. If you're using fluxbox it might be limiting it?
Last edited by lukebeales; 01-12-2009 at 04:31 AM.
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|