environment 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ##
  2. ## Example ~/.config/labwc/environment file.
  3. ## Uncomment lines starting with one '#' to suit your needs.
  4. ##
  5. ##
  6. ## Use the XKB_DEFAULT_LAYOUT variable to set the keyboard layout. For example
  7. ## to start with Swedish keyboard layout set it to 'se'. If you are unsure what
  8. ## your country code is, refer to the layout section of:
  9. ## /usr/share/X11/xkb/rules/evdev.lst
  10. ##
  11. ## Multiple keyboard layouts can be set by comma-separating the country codes.
  12. ## If a variant layout is needed, the syntax is layout(variant)
  13. ## If multiple layouts are used, specify the toggle-keybind using
  14. ## XKB_DEFAULT_OPTIONS as show below.
  15. ##
  16. ## For further details, see xkeyboard-config(7)
  17. ##
  18. # XKB_DEFAULT_LAYOUT=se
  19. # XKB_DEFAULT_LAYOUT=se,us(intl)
  20. # XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle
  21. # XKB_DEFAULT_OPTIONS=grp:shift_caps_toggle
  22. XKB_DEFAULT_LAYOUT=us
  23. ##
  24. ## Set cursor theme and size. Find system icons themes with:
  25. ## `find /usr/share/icons/ -type d -name "cursors"`
  26. ##
  27. # XCURSOR_THEME=breeze_cursors
  28. # XCURSOR_THEME=capitaine-cursors
  29. # XCURSOR_SIZE=24
  30. XCURSOR_THEME=adwaita-cursors
  31. ##
  32. ## Disable hardware cursors. Most users would not want to do this, but if you
  33. ## are experiencing issues with disappearing cursors, this might fix it.
  34. ##
  35. # WLR_NO_HARDWARE_CURSORS=1
  36. WLR_NO_HARDWARE_CURSORS=1
  37. ##
  38. ## In order for labwc to work out of the box, the environment variable below
  39. ## is set to "1" by default to avoid menus with incorrect offset and blank
  40. ## windows with Java applications such as JetBrains and Intellij Idea.
  41. ## See https://github.com/swaywm/sway/issues/595
  42. ## labwc will not override any already set environment variables, so if you for
  43. ## some reason do not want this, then just set it to "0" (not recommended, but
  44. ## mentioned here for completeness).
  45. ##
  46. # _JAVA_AWT_WM_NONREPARENTING=0
  47. ##
  48. ## This allows xdg-desktop-portal-wlr to function (e.g. for screen-recording).
  49. ## It is automatically set to "labwc:wlroots" by labwc though, so it is only
  50. ## included here for completeness. Again, labwc will not over-write an
  51. ## already set environment variable, so if you need it set to something else,
  52. ## then uncomment and adjust.
  53. ##
  54. # XDG_CURRENT_DESKTOP=labwc:wlroots
  55. XDG_CURRENT_DESKTOP=labwc:wlroots
  56. ##
  57. ## This causes a virtual output to be created automatically whenever there
  58. ## are no outputs around. This helps for cases like wayvnc so there is always
  59. ## an output available to connect to. The name can be chosen freely but there
  60. ## must be no duplicate output names, for this reason using VIRTUAL-x or a
  61. ## physical connector name like HDMI-A-1 is not recommended as wlroots may
  62. ## want to create outputs with those names later on which would then fail.
  63. ##
  64. ## Using an output name that starts with NOOP- has the additional benefit
  65. ## that wayvnc will detect it being a virtual output and allow clients to
  66. ## resize the output to match the client resolution.
  67. ##
  68. # LABWC_FALLBACK_OUTPUT=NOOP-fallback
  69. # fcitx5
  70. # GTK_IM_MODULE=fcitx
  71. # QT_IM_MODULE=fcitx
  72. # XMODIFIERS=@im=fcitx
  73. # INPUT_METHOD=fcitx
  74. # SDL_IM_MODULE=fcitx