Documentation ¶
Index ¶
- Constants
- func DecodeShellValue(in string) string
- func GetBootArgDeepinGfxmode() (cur Gfxmode, all Gfxmodes, err error)
- func HasDeepinGfxmodeMod() bool
- func InGfxmodeDetectionMode(params map[string]string) bool
- func IsGfxmodeDetectFailed(params map[string]string) bool
- func LoadGrubParams() (map[string]string, error)
- func ShouldFinishGfxmodeDetect(params map[string]string) bool
- type Gfxmode
- type Gfxmodes
Constants ¶
View Source
const ( GrubParamsFile = "/etc/default/grub" GfxmodeDetectReadyPath = "/tmp/deepin-gfxmode-detect-ready" DeepinGfxmodeDetect = "DEEPIN_GFXMODE_DETECT" DeepinGfxmodeAdjusted = "DEEPIN_GFXMODE_ADJUSTED" DeepinGfxmodeNotSupported = "DEEPIN_GFXMODE_NOT_SUPPORTED" )
Variables ¶
This section is empty.
Functions ¶
func GetBootArgDeepinGfxmode ¶
Types ¶
type Gfxmode ¶
Click to show internal directories.
Click to hide internal directories.