cros-garcon: Set XDG_CURRENT_DESKTOP to enable Firefox CSD

When running on X11, Firefox checks the value of XDG_CURRENT_DESKTOP to
determine whether Client-Side Decorations (tabs in titlebar) can be
used. We didn't set this, so they couldn't be used.

We use the value X-Generic to avoid changing the behaviour of other
programs that use this variable, like xdg-utils.

TEST="Title Bar" checkbox in "Customize Firefox" is visible, can be
     disabled and removes the system titlebar.

Change-Id: I1bf523e44f06a2af909a6dde7ea2345fdefb8742
Reviewed-by: David Munro <>
Tested-by: kokoro <>
Reviewed-by: James Ye <>
Commit-Queue: James Ye <>
1 file changed
tree: c6500e5185096ad95cd9697292fc0f1233a60018
  1. cros-adapta/
  2. cros-apt-config/
  3. cros-debs/
  4. cros-garcon/
  5. cros-gpu-buster/
  6. cros-guest-tools/
  7. cros-host-fonts/
  8. cros-logging/
  9. cros-notificationd/
  10. cros-pulse-config/
  11. cros-sftp/
  12. cros-sommelier/
  13. cros-sommelier-config/
  14. cros-sudo-config/
  15. cros-systemd-overrides/
  16. cros-tast-tests/
  17. cros-ui-config/
  18. cros-wayland/
  19. docs/
  20. kokoro/
  21. lxd/
  22. mesa/
  23. scripts/
  24. termina/
  25. .gitignore
  27. OWNERS
  28. PRESUBMIT.cfg



These are the guest packages for setting up a container to integrate with Chrome OS. This includes build scripts that are run in Google's internal continuous integration service.


The guest packages can be built with Bazel.

bazel build //cros-debs:debs


promote\ MILESTONE and promote\ MILESTONE in scripts are used to promote containers from staging to live. NOTE: Whatever is the latest in staging is what gets promoted to live so make sure it's what was tested.