LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 09-30-2009, 02:15 AM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,269

Rep: Reputation: 109Reputation: 109
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.)
 
Old 09-30-2009, 04:50 AM   #2
Dr_P_Ross
Member
 
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Arch
Posts: 43

Rep: Reputation: 18
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.
 
Old 09-30-2009, 11:15 AM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,269

Original Poster
Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by Dr_P_Ross View Post
Firefox remembers
sizes between sessions
Something has gone wrong. My Firefox does not remember sizes between sessions.
 
Old 09-30-2009, 11:41 AM   #4
Dr_P_Ross
Member
 
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Arch
Posts: 43

Rep: Reputation: 18
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

It may be corrupt on your machine for some reason; nothing's perfect! See
http://kb.mozillazine.org/Corrupt_localstore.rdf for advice about
fixing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rythbox to start up in fullscreen for kiosk yoyo007 Linux - Software 2 07-16-2007 03:30 AM
start apps fullscreen? >xfce CQ1ST Linux - Newbie 0 01-31-2006 09:15 PM
Kmenuedit is not changing the KMENU entries cheater1034 Linux - Software 2 12-10-2005 09:37 AM
Start firefox in fullscreen mode m33p Linux - Software 1 09-16-2004 04:13 PM
start konqueror in fullscreen-mode?? TKONeo Linux - Software 5 01-15-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration