Kmenuedit: how do I tell entries to start as fullscreen?
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.
Kmenuedit: how do I tell entries to start as fullscreen?
In Kmenuedit, do entries have an option for always starting as fullscreen? Since one of the last times I reinstalled my distro, Firefox has always started as a window; I don't want it to. In the Command box, where the entry says "firefox %u", is there a parameter for fullscreen? (By the way, I don't know what %u means.)
I do not think kmenuedit can tell any arbitrary application to start fullscreen. After all, some cannot do so, and there is no standard
protocol for doing so. The X window server includes standard resource specifications such as for geometry, and many X-based programs will
obey a resource request (and it is a request, not an order) such as
"-geometry 1280x960+0+0" to start at size 1280x960 with the top left corner at (0,0). But many others won't. The firefox command,
for example, is a script that does some checking and pre-processing
and eventually calls another script, run-mozilla.sh, which only
handles certain arguments and quietly scraps the rest. Firefox remembers
sizes between sessions, so you could just make it the size you want
by dragging borders, then quit?
The %u in the command box is a placeholder for a single URL. To see
the set of possible placeholders, open kmenuedit, navigate to the firefox
entry, then select Help->What's this.. and click in the Command box. You
should get a popup describing the possible placeholders. I am not aware of anywhere else that you can find this information: the user documentation for lots of KDE is still remarkably incomplete.
So why is there a placeholder at all? A placeholder for what, you may ask? I *think* the answer is that the menu entry is not specific to the KDE menu system -- if you open up the menu and right-click on an entry, one of the options available is "Add to Desktop" and if you choose that you'll get a desktop icon. For at least some icons, you can drag'n'drop things on them, in which case the placeholder should be replaced by what you dropped. I suspect that this isn't a universal principle either, doesn't seem to work for all programs.
The size is stashed in localstore.rdf, typically to be found
as ~/.mozilla/firefox/*.default/localstore.rdf (where the * is some
cryptic sequence of characters specific to your setup).
Try this:
a) do ls -l localstore.rdf and note the time it was last changed
b) start firefox, do something, quit firefox
c) repeat (a), check that the time of last change has altered
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.