[Request] xinit surf , set window size? no dm or wm. Internet kiosk
Linux - SoftwareThis 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.
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.
Look at surfs docs and set the size of it. https://www.mankier.com/1/surf
Does -F work? How about xprop?
It must be launching with a specific size.
Does it have a . config file?
Yes -F is used for full screen and surf is in full screen mode but not utilizing all the resolution available from X. X is also in full screen mode and working properly.
xinit does this with many programs and it has something to do with setting its window space. But i don't know how to do, i need someone who is familiar with X server when it was more widely used for these things, like this back in the early 2000s.
Just try it for your self, install surf and drop into a tty. Add surf -F www.google.com to your .xinitrc file and type startx
I need some people to help me troubleshoot this. Also its EXTREMELY useful to run in lightweight secure environments where you only want a system for running 1 application.
I'm intrigued.
I can see a few more options in surf's man page, e.g. -e (reparenting to root window possible?) and -x (xdotool?).
Try with xprop as mentioned:
1. start surf
2. get WINID
3. adjust geometry with xprop
I'm intrigued.
I can see a few more options in surf's man page, e.g. -e (reparenting to root window possible?) and -x (xdotool?).
Try with xprop as mentioned:
1. start surf
2. get WINID
3. adjust geometry with xprop
From what i have seemed to find is that when using xdotool or wmcrtl i cant seem to get a winid when i scan for one. I think this is because there is no window manager what so ever installed. Now with some research on Google i have seen some people claim otherwise, but iam not sure this is the case. I might be doing something wrong. As far as xprop, no i have not tried this and i think it might actually work. The other problem i have is resolution , this needs to be able to work on many rackmount systems in server racks. Most systems are at least 1080p, but this is not the case with server rack mounts. The resolution can be much lower in average, which causes an issue even when using a tool to force a resolution setting on the window. As far as xprop, what should i do? What are some other ways to get a window id without wmctrl or xdotool? As these tools dont seem to find any winids?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.