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 LoadDDEGrubParams() (map[string]string, error)
- func LoadGrubParams() (map[string]string, error)
- func LoadGrubParamsFile(file string) (map[string]string, error)
- func ShouldFinishGfxmodeDetect(params map[string]string) bool
- type Gfxmode
- type Gfxmodes
Constants ¶
View Source
const ( GrubParamsFile = "/etc/default/grub" DDEGrubParamsFile = "/etc/default/grub.d/11_dde.cfg" 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 DecodeShellValue ¶
func GetBootArgDeepinGfxmode ¶
func HasDeepinGfxmodeMod ¶
func HasDeepinGfxmodeMod() bool
func InGfxmodeDetectionMode ¶
func IsGfxmodeDetectFailed ¶
func LoadDDEGrubParams ¶
func LoadGrubParams ¶
Types ¶
type Gfxmode ¶
func ParseGfxmode ¶
Click to show internal directories.
Click to hide internal directories.