Le 28/12/2020 à 05:41, Trever Furnish a écrit :

We're struggling to find a way to get Firefox (ESR 78.5, currently) to hide or combine the three horizontal bars at the top -- the window manager title bar, the tab bar, and the "location bar" (not sure what this is usually called).


(Disclaimer, I just tested it on my Ubuntu 20.04 machine with Firefox Nightly only and I know nothing about Citrix environment :) )

Hello Trever,

Give that Citrix does not work correctly with Firefox kiosk mode, I would workaround the issue by hiding the navigation bar with custom CSS injected in the user profile and if you can install extra packages on the user machines I would install xdotool (apt install xdotool) to force going into fullscreen at startup by simulating the F11 key. With a bash script I would do something like that:

```

target=/path/to/user/profile

cat >> $target/prefs.js <<EOL
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
EOL

mkdir $target/chrome/
cat >> $target/chrome/userChrome.css <<EOL
#titlebar,
#nav-bar {
  visibility: collapse !important;
}
EOL

xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11 &
firefox --profile $target

```

If you are looking for a cross platform solution to the fullscreen issue, I think that deploying an autofullscrren extension is probably a better alternative.

Regards,

Pascal


--
Pascal Chevrel
Firefox Release Manager
+ Firefox Nightly community management

_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to