Difference between revisions of "MATE"

From Alpine Linux
Jump to: navigation, search
(Disabling standby and screensaver)
(Disabling standby and screensaver)
Line 87: Line 87:
 
$ sudo apk add xset
 
$ sudo apk add xset
 
$ xset q
 
$ xset q
</pre>
+
/pre>
  
{{cat|"xset q| grep Standby"|
+
 
   Standby: 600    Suspend: 600   Off: 600
+
 
   DPMS is Enabled
+
Keyboard Control:
   Monitor is On
+
  auto repeat:  on    key click percent:  0    LED mask:  00000000
 +
  XKB indicators:
 +
    00: Caps Lock:  off    01: Num Lock:    off    02: Scroll Lock: off
 +
    03: Compose:    off    04: Kana:        off    05: Sleep:      off
 +
    06: Suspend:    off    07: Mute:        off    08: Misc:        off
 +
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
 +
    12: Group 2:    off    13: Mouse Keys:  off
 +
  auto repeat delay:  500    repeat rate:  20
 +
  auto repeating keys:  00ffffffdffffbbf
 +
                        fadfffefffedffff
 +
                        9fffffffffffffff
 +
                        fff7ffffffffffff
 +
  bell percent:  0    bell pitch:  400    bell duration:  100
 +
Pointer Control:
 +
  acceleration:  2/1    threshold:  4
 +
Screen Saver:
 +
  prefer blanking:  yes    allow exposures:  yes
 +
  timeout:  600    cycle:  0
 +
Colors:
 +
  default colormap:  0x22    BlackPixel:  0x0    WhitePixel:  0xffffff
 +
Font Path:
 +
  /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,built-ins
 +
'''DPMS (Energy Star):'''
 +
   '''Standby: 600    Suspend: 0   Off: 900'''
 +
   '''DPMS is Enabled'''
 +
   '''Monitor is On'''
 
}}
 
}}
 +
{{cat|xset q|
 +
  
 
To disable those timers issue the command:
 
To disable those timers issue the command:

Revision as of 23:31, 7 December 2018

Setup Xorg

Use Alpine's setup script:

# setup-xorg-base

Add any additional video drivers necessary:

# apk add xf86-video-ati

Add additional input drivers (if necessary)

# apk add xf86-input-synaptics

Enable Community Repository

Mate is available in the Community repository. Uncomment http://<url>/alpine/<version>/community in /etc/apk/repositories. For example:

Contents of /etc/apk/repositories

# /etc/apk/repositories #/media/sdb/apks http://mirror.csclub.uwaterloo.ca/alpine/v3.8/main http://mirror.csclub.uwaterloo.ca/alpine/v3.8/community #http://mirror.csclub.uwaterloo.ca/alpine/v3.8/testing

Install MATE Desktop

Add extra necessary packages

# apk add desktop-file-utils gtk-engines consolekit gtk-murrine-engine caja caja-extensions marco dbus lxdm udev hicolor-icon-theme sudo
# mate_pkgs=$(apk search mate -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc')
# apk add $mate_pkgs

Create a regular user:

# adduser -h /home/<user> -g "Full User Name" <user>

# apk del mate-screensaver

  1. ln -s /usr/etc/xdg/menus/ /etc/xdg/menus
  2. apk add mate-screensaver

Add all available True Type Fonts:

$ ttfs=$(apk search -q ttf- | grep -v '\-doc')
# apk add $ttfs

If you are running your Alpine from RAM, save the changes:

# lbu ci

Enable services to start on reboot

# rc-update add lxdm
# rc-update add dbus
# rc-update add udev

And finally, start the dbus, udev, and lxdm. This will start the display manager and allow you to login.

# rc-service dbus start
# rc-service udev start
# rc-service lxdm start


Misc

Disabling standby and screensaver

Check the current configuration using xset:

$ sudo apk add xset
$ xset q
/pre>



Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  20
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  0    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  0
Colors:
  default colormap:  0x22    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 0    Off: 900
  DPMS is Enabled
  Monitor is On
}}
{{cat|xset q|


To disable those timers issue the command:

$ xset dpms 0 0 0

Santiy check:

$ xset q Standby: 0 Suspend: 0 Off: 0 DPMS is Enabled Monitor is On localhost:~$