Put this in your ~/.config/openbox/lubuntu-rc.xml in between <applications> tags:
<application class="Firefox" name="Navigator">
<fullscreen>yes</fullscreen>
</application>
To get specific class or name for your applications, use this:
obxprop | grep '^_OB_APP'
and then click with your cursor inside the app window.
Useful website: http://openbox.org/wiki/Help:Configuration
Answer from MichalH on Stack ExchangeHi, I want to open LibreOffice & Firefox in Full-screen by default.
How to do that OR How to do that with Terminal, so I can change .desktop files.
Also, Is there a way to Hide the LibreOffice Title bar without messing up close, minimize buttons?
Thanks.
I've noticed a trend towards command-line "apps" (as opposed to commands) that are smarter, more UI-oriented, and generally tend to want to take the full terminal window.
A subset of these apps need lots of screen real-estate, are very useful for "just a moment", and then when you're done they should go away. For example:
-
lazygit
-
systeroid
-
ncdu
-
nnn
-
(etc.)
I find it very useful to alias these apps within a "full-screen gnome-terminal" setup. This way, the terminal from which the app is launched does not need to be large, but the effect is to make the app go full-screen until you quit it.
For example, lazygit:
alias lg="gnome-terminal --full-screen --zoom 0.8 -- lazygit"
I put this in my ~/.bash_aliases file to be loaded by my ~/.bashrc file. (The default on Ubuntu and probably other systems is for .bashrc file to automatically load .bash_aliases).
Once I'm finished with my session, I quit, and I'm back to my regularly scheduled terminal / desktop.
Put this in your ~/.config/openbox/lubuntu-rc.xml in between <applications> tags:
<application class="Firefox" name="Navigator">
<fullscreen>yes</fullscreen>
</application>
To get specific class or name for your applications, use this:
obxprop | grep '^_OB_APP'
and then click with your cursor inside the app window.
Useful website: http://openbox.org/wiki/Help:Configuration
Generally lxde will have a rc.xml/lxde-rc.xml/lubuntu-rc.xml inside ~/.config/openbox/
Example contents of the xml file:
<application name="firefox">
<fullscreen>true</fullscreen>
</application>
You should add the following line under your preferred application node (as shown above in the example):
<fullscreen>true</fullscreen>
And execute openbox --reconfigure
What's your setup? Do you actually have 2 separate X displays, or are you using Xinerama to combine the two?
If you're using 2 displays, they should have their own -display or DISPLAY env variable. You can use that to execute a new app.
$ echo $DISPLAY
:0.0
$ xterm -display :0.0
Open a shell in the other display to get your other display env variable.
There's also -geometry, in the format of [Wth,Ht+X+Y]
$ xterm -geometry 132x80+500+0
When Xinerama is enabled, your other display is usually a +X+Y offset.
Of course, this does require the app to process command line arguments. It then passes those off to X when initialising the window. For xterm, width and height are units of text characters, where X/Y are screen pixels.
If you have control over the X configuration, and if other applications will not be shown on the production workstations, you might want to disable the "Xinerama" feature and set up two screens. Then you could just have your apps connect to :0.0 and :0.1 and get the screen size from each.
Yes.
You haven't provided any details of your GUI application; and importantly I think what stacks it uses.
Is it motif? simple xorg?, using GTK2/3? Qt5? etc as most applications require specific stacks that need to run - but if it's a simple X11 GUI app that doesn't use stacks I believe it's a yes. However very few GUI apps remain today that don't use GUI libraries/toolkits.
I've opened GUI apps on unix/sun-OS boxes where the size was defined in the command that opened the window, and full-screen was possible, however they weren't modern apps & didn't use modern toolkits. Many of those programs also ran in Debian & Ubuntu GNU/Linux the same way, but it's been decade+ since I've wanted to run them as they're outdated (with many no longer available, as they were re-written/replaced and it's simpler being able to use a WM than controlling everything from command line).
You however gave no specifics; but it is possible for some applications (just not worth it in my experience; we no longer run machines with that limited resources).
No. Most GUI applications depend upon the entire desktop stack.
Some programs in Lubuntu remember the size when they were closed. Some do not. Lubuntu users can open some or all programs maximized by editing ~/.config/openbox/lubuntu-rc.xml. A very detailed how to can be found at the Community Documentation site
https://help.ubuntu.com/community/Lubuntu/Windows#Launching_Windows_Maximized
I do not use darktable myself but there is a way to launch amenable programs full screen automatically without having to press F11 after loading the program.
To do so, follow all the precautions mentioned in Launching Windows Maximized but use this code in the Applications section of lubuntu-rc.xml:
<fullscreen>yes</fullscreen>
After determining how you will specify your darktable window with xprop, your "rule" would be something like this (putting what is specific to darktable in place of "geany"):
<application name="geany" type="normal">
<fullscreen>yes</fullscreen>
</application>
As usual, you'll need to run openbox --reconfigure in a terminal after saving lubuntu-rc.xml to let the window manager know you've changed something. Or you may have set up your Openbox right-click menu to have the "reconfigure" option available there.
I think you are looking for kiosk mode, you can achieve this by various kiosk based linux based iso distribution like http://sanickiosk.wikidot.com/ (Sanickiosk) and WebKiosk (http://www.binaryemotions.com/).
Even you can customize ubuntu to run only firefox in full screen mode (http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS).
Thanks & Regards,
Alok Thaker
I'm really not sure if this is the proper place, but the disto for this type of use hardly matters, its really up to personal preference and how hard you find it to set up. In my limited expirence you can just add the command to launch the app, typically with a geometry option (with firefox you can specify the -width and -height flags), and then that X session will end when the program ends.
Hallo there, I'm using Gnome 3.16 on Debian stable (Jessie) and I'm wondering...every other window manager has a way to make a window fullscreen. Just, any window, I can make it fullscreen. Firefox can do it on it's own, but I'm just wondering if anybody knows how to do this in Gnome?
What is the problem with F11?
Looks like the best option I can think of, in case anybody comes across this in the future, is to set wmctrl -r :ACTIVE: -b toggle,fullscreen to a keyboard shortcut. That will make the active window fullscreen no matter what window manager or desktop environment one is using.