OS-sw ver.: CCBot/2.0 (https://commoncrawl.org/faq/)
Login date: 19 Aug 18 - 17:33:43
IP Address: 54.167.243.214Cursore

Registrati
L'mcetool è un ottimo tool per poter configurare via command line una serie di opzioni interessanti del nostro Jolla.
Di seguito illustrerò come installarlo e l'outuput dell'help.

---------------------------------------------------------------------------------
Installazione
---------------------------------------------------------------------------------



Entriamo vi ssh su jolla (o via wifi o developer mode) e poi come su-devel, refreshiamo la lista dei pacchetti e installiamo il pacchetto mce


su-devel
Password:
pkcon refresh
pkcon install mce-tools



Ora non ci resta altro che usare questo comodo tool, di seguito l'help:


mcetool --help
Mode Control Entity Tool

USAGE
        mcetool [OPTION] ...

OPTIONS
  -U, --unblank-screen
  -d, --dim-screen
  -n, --blank-screen
      --blank-screen-lpm
      --get-display-stats[=<human|machine>]
  -P, --blank-prevent
  -v, --cancel-blank-prevent
      --set-blank-prevent-mode=<disabled|keep-on|allow-dim>
  -G, --set-dim-timeout=<secs>
      --set-dim-with-kbdtimeout=<secs>
  -O, --set-dim-timeouts=<secs,secs,...>
  -f, --set-adaptive-dimming-mode=<enabled|disabled>
  -J, --set-adaptive-dimming-time=<secs>
  -o, --set-blank-timeout=<secs>
      --set-blank-from-lockscreen-timeout=<secs>
      --set-blank-from-lpm-on-timeout=<secs>
      --set-blank-from-lpm-off-timeout=<secs>
  -j, --set-never-blank=<enabled|disabled>
  -K, --set-autolock-mode=<enabled|disabled>
      --set-autolock-delay=<seconds[.fraction]>
      --set-devicelock-in-lockscreen=<READ THE LONG HELP>
      --set-lockscreen-animation=<enabled|disabled>
  -t, --set-tklock-blank=<enabled|disabled>
  -I, --set-inhibit-mode=<disabled|stay-on-with-charger|stay-on|stay-dim-with-charger|stay-dim>
      --set-kbd-slide-inhibit-mode=<disabled|stay-on-when-open|stay-dim-when-open>
  -k, --set-tklock-mode=<locked|locked-dim|locked-delay|unlocked>
  -m, --tklock-callback=<unlock|retry|timeout|closed>
  -q, --tklock-open=<oneinput|visual|lpm|pause>
  -Q, --tklock-close
  -M, --set-doubletap-mode=<disabled|show-unlock-screen|unlock>
  -z, --set-doubletap-wakeup=<never|always|proximity>
      --set-volume-key-policy=<default|media-only>
  -Z, --set-powerkey-action=<never|always|proximity|proximity2>
      --set-powerkey-blanking=<off|lpm>
      --set-powerkey-long-press-delay=<ms>
      --set-powerkey-double-press-delay=<ms>
      --set-display-on-single-powerkey-press-actions=<actions>
      --set-display-on-double-powerkey-press-actions=<actions>
      --set-display-on-long-powerkey-press-actions=<actions>
      --set-display-off-single-powerkey-press-actions=<actions>
      --set-display-off-double-powerkey-press-actions=<actions>
      --set-display-off-long-powerkey-press-actions=<actions>
      --set-touchscreen-gesture-actions=<gesture_id,actions>
      --set-powerkey-dbus-action=<action_id,signal_argument|method_call_details>
      --set-powerkey-ps-override-count=<press-count>
      --set-powerkey-ps-override-timeout=<ms>
      --set-display-off-override=<disabled|use-lpm>
  -r, --enable-radio=<master|cellular|wlan|bluetooth>
  -R, --disable-radio=<master|cellular|wlan|bluetooth>
  -p, --set-power-saving-mode=<enabled|disabled>
  -T, --set-psm-threshold=<10|20|30|40|50>
  -F, --set-forced-psm=<enabled|disabled>
  -E, --set-low-power-mode=<enabled|disabled>
      --set-lpmui-triggering=<bit1[,bit2][...]>
  -s, --set-suspend-policy=<enabled|disabled|early>
      --get-suspend-stats
  -S, --set-cpu-scaling-governor=<automatic|performance|interactive>
  -i, --set-fake-doubletap=<enabled|disabled>
  -b, --set-display-brightness=<1...100>
      --set-dimmed-brightness-static=<1...100>
      --set-dimmed-brightness-dynamic=<1...100>
      --set-compositor-dimming-threshold-hi=<0...100>
      --set-compositor-dimming-threshold-lo=<0...100>
  -g, --set-als-mode=<enabled|disabled>
      --set-als-autobrightness=<enabled|disabled>
      --set-als-input-filter=<disabled|median>
      --set-als-sample-time=<50...1000>
  -u, --set-ps-mode=<enabled|disabled>
      --set-ps-blocks-touch=<enabled|disabled>
      --set-ps-acts-as-lid=<enabled|disabled>
      --set-lid-sensor-mode=<enabled|disabled>
      --set-lid-open-actions=<disabled|unblank|tkunlock>
      --set-lid-close-actions=<disabled|blank|tklock>
      --set-kbd-slide-open-trigger=<never|no-proximity|always>
      --set-kbd-slide-open-actions=<disabled|unblank|tkunlock>
      --set-kbd-slide-close-trigger=<never|after-open|always>
      --set-kbd-slide-close-actions=<disabled|blank|tklock>
      --set-filter-lid-with-als=<enabled|disabled>
      --set-filter-lid-als-limit=<lux>
      --set-orientation-sensor-mode=<enabled|disabled>
      --set-orientation-change-is-activity=<enabled|disabled>
      --set-flipover-gesture-detection=<enabled|disabled>
  -a, --get-color-profile-ids
  -A, --set-color-profile=<ID>
  -C, --set-cabc-mode=<off|ui|still-image|moving-image>
  -c, --set-call-state=<none|ringing|active|service>:<normal|emergency>
  -l, --enable-led
  -L, --disable-led
      --enable-led-pattern=<PATTERN>
      --disable-led-pattern=<PATTERN>
      --show-led-patterns
  -y, --activate-led-pattern=<PATTERN>
  -Y, --deactivate-led-pattern=<PATTERN>
      --set-sw-breathing=<enabled|disabled>
      --set-sw-breathing-limit=<0 ... 100>
  -e, --powerkey-event=<short|double|long>
  -D, --set-demo-mode=<on|dim|off>
      --set-brightness-fade-def=<msecs>
      --set-brightness-fade-dim=<msecs>
      --set-brightness-fade-als=<msecs>
      --set-brightness-fade-blank=<msecs>
      --set-brightness-fade-unblank=<msecs>
      --set-lipstick-core-delay=<secs>
      --set-input-policy-mode=<enabled|disabled>
      --set-input-grab-allowed=<bit1[,bit2][...]>
      --set-touch-unblock-delay=<msecs>
      --begin-notification[=<name[,duration_ms[,renew_ms]]>]
      --end-notification[=<name[,linger_ms]>]
  -N, --status
  -B, --block[=<secs>]
  -h, --help[=<OPTION|"all">]
  -H, --long-help[=<OPTION>]
  -V, --version
      --set-verbosity=<emerg|alert|crit|err|warning|notice|info|debug>
      --set-memuse-warning-used=<page_count>
      --set-memuse-warning-active=<page_count>
      --set-memuse-critical-used=<page_count>
      --set-memuse-critical-active=<page_count>
      --set-exception-length-call-in=<msec>
      --set-exception-length-call-out=<msec>
      --set-exception-length-alarm=<msec>
      --set-exception-length-usb-connect=<msec>
      --set-exception-length-usb-dialog=<msec>
      --set-exception-length-charger=<msec>
      --set-exception-length-battery=<msec>
      --set-exception-length-jack-in=<msec>
      --set-exception-length-jack-out=<msec>
      --set-exception-length-camera=<msec>
      --set-exception-length-volume=<msec>
      --set-exception-length-activity=<msec>
      --reset-settings[=<keyish>]

NOTES
        If no options are specified, the status is output.

        If non-option arguments are given, matching parts of long help
        is printed out.

REPORTING BUGS
        Send e-mail to: <Questo indirizzo email è protetto dagli spambots. E' necessario abilitare JavaScript per vederlo.>



que sotto i valori di default (Jolla prima versione):


mcetool

MCE status:
-----------
MCE version:                         1.79.5.1
Verbosity level:                     warning
Radio states:
        Master:                      enabled (Online)
        Cellular:                    enabled
        WLAN:                        enabled
        Bluetooth:                   disabled
        NFC:                         disabled
        FM transmitter:              disabled
Call state (type):                   none (normal)
Display state:                       off
Color profile:                       hardcoded
Brightness:                          54 (1-100)
Dimmed brightness static:            3 (1-100 percent of hw maximum)
Dimmed brightness maximum:           50 (1-100)
Compositor dimming high threshold:   10 (0-100)
Compositor dimming low threshold:    0/disabled (0-100)
CABC mode:                           ui
Dim timeout:                         15 (seconds)
Dim with kbd timeout:                use default (seconds)
Adaptive dimming:                    enabled
Adaptive dimming threshold:          10000 (milliseconds)
Display never blank:                 disabled
Blank timeout:                       5 (seconds)
Blank from lockscreen:               10 (seconds)
Blank from lpm-on:                   5 (seconds)
Blank from lpm-off:                  5 (seconds)
Blank inhibit:                       disabled
Kbd slide blank inhibit:             disabled
Display blank prevent mode:          keep-on
Keyboard backlight:                  disabled
Inactivity status:                   inactive
Power saving mode:                   enabled (inactive)
Forced power saving mode:            disabled
PSM threshold:                       10 (%)
Touchscreen/Keypad lock:             locked
Touchscreen/Keypad autolock:         enabled
Touchscreen/Keypad autolock delay:   30 [s]
Devicelock is in lockscreen:         enabled
Lockscreen unblank animations:       enabled
Double-tap wakeup policy:            proximity
Volumekey input policy:              default
Powerkey wakeup policy:              always
Powerkey blanking mode:              off
Powerkey long press delay:           1500 [ms]
Powerkey double press delay:         400 [ms]
Powerkey press from display on:
        single                       blank,tklock
        double                       blank,tklock,devlock,vibrate
        long                         dbus1
Powerkey press from display off:
        single                       unblank
        double                       unblank,tkunlock
        long                         (none)
Touchscreen gestures:
        gesture0                     unblank
        gesture1                     unblank
        gesture2                     unblank
        gesture3                     unblank
        gesture4                     unblank
        gesture5                     unblank
        gesture6                     unblank
        gesture7                     unblank
        gesture8                     unblank
        gesture9                     unblank
        gesture10                    unblank
Powerkey D-Bus actions:
        dbus1                        send signal with arg 'power-key-menu'
        dbus2                        send signal with arg 'event2'
        dbus3                        send signal with arg 'event3'
        dbus4                        send signal with arg 'event4'
        dbus5                        send signal with arg 'event5'
        dbus6                        send signal with arg 'event6'
        dbus7                        send signal with arg 'event7'
        dbus8                        send signal with arg 'event8'
        dbus9                        send signal with arg 'event9'
        dbus10                       send signal with arg 'event10'
Powerkey ps override count:          3
Powerkey ps override timeout:        333 [ms]
Display off override mode:           disabled
Use low power mode:                  enabled
LPM UI triggering:                   from-pocket
Use als mode:                        disabled
Use als autobrightness:              enabled
Active als input filter:             median
Sample time for als filtering:       125
Use orientation sensor mode:         enabled
Orientation change is activity:      enabled
Flipover gesture detection:          enabled
Use ps mode:                         enabled
Touch can be blocked by ps:          disabled
PS acts as LID sensor:               disabled
Use lid sensor mode:                 enabled
Filter lid with als:                 enabled
Lid closed als limit:                0 (lux)
Lid open actions:                    unblank
Lid close actions:                   tklock
Kbd slide open trigger:              no-proximity
Kbd slide open actions:              unblank
Kbd slide close trigger:             after-open
Kbd slide close actions:             tklock
Allowed dim timeouts                 [ 15 30 60 120 600 ]
Brightness fade [def]:               150 (milliseconds)
Brightness fade [dim]:               1000 (milliseconds)
Brightness fade [als]:               1000 (milliseconds)
Brightness fade [blank]:             100 (milliseconds)
Brightness fade [unblank]:           90 (milliseconds)
Autosuspend policy:                  enabled
CPU Scaling Governor:                automatic
Use fake doubletap:                  enabled
Tklock autoblank policy:             enabled
Lipstick core delay:                 30 (seconds)
Input grab policy:                   enabled
Input grab allowed:                  ts,kp
Touch unblock delay:                 100 (milliseconds)
Display on after incoming call       5000 ms
Display on after outgoing call       2500 ms
Display on after alarm               1250 ms
Display on at usb connect            5000 ms
Display on at usb mode query         10000 ms
Display on at charging start         3000 ms
Display on at battery full           disabled
Display on at jack insert            3000 ms
Display on at jack remove            3000 ms
Display on at camera button          3000 ms
Display on at volume button          2000 ms
Display on activity extension        2000 ms
Led breathing:                       enabled
Led breathing battery limit:         101 (%)
Memory use warning [used]:           260000 (ram pages)
Memory use warning [active]:         disabled
Memory use critical [used]:          275000 (ram pages)
Memory use critical [active]:        disabled
Memory use level:                    normal



Intex Aquafish:

MCE status:
-----------
MCE version:                         1.82.0
Verbosity level:                     warning
Radio states:
    Master:                      enabled (Online)
    Cellular:                    enabled
    WLAN:                        enabled
    Bluetooth:                   disabled
    NFC:                         disabled
    FM transmitter:              disabled
Call state (type):                   none (normal)
Display state:                       off
Color profile:                       hardcoded
Brightness:                          25 (1-100)
Dimmed brightness static:            3 (1-100 percent of hw maximum)
Dimmed brightness maximum:           50 (1-100)
Compositor dimming high threshold:   10 (0-100)
Compositor dimming low threshold:    0/disabled (0-100)
CABC mode:                           ui
Dim timeout:                         30 (seconds)
Dim with kbd timeout:                use default (seconds)
Adaptive dimming:                    enabled
Adaptive dimming threshold:          10000 (milliseconds)
Display never blank:                 disabled
Blank timeout:                       3 (seconds)
Blank from lockscreen:               10 (seconds)
Blank from lpm-on:                   5 (seconds)
Blank from lpm-off:                  5 (seconds)
Blank inhibit:                       disabled
Kbd slide blank inhibit:             disabled
Display blank prevent mode:          keep-on
Keyboard backlight:                  disabled
Inactivity status:                   inactive
Power saving mode:                   disabled (inactive)
Forced power saving mode:            disabled
PSM threshold:                       20 (%)
Touchscreen/Keypad lock:             locked
Touchscreen/Keypad autolock:         enabled
Touchscreen/Keypad autolock delay:   30 [s]
Devicelock is in lockscreen:         enabled
Lockscreen unblank animations:       enabled
Double-tap wakeup policy:            proximity
Volumekey input policy:              default
Powerkey wakeup policy:              always
Powerkey blanking mode:              off
Powerkey long press delay:           1500 [ms]
Powerkey double press delay:         400 [ms]
Powerkey press from display on:
    single                       blank,tklock
    double                       blank,tklock,devlock,vibrate
    long                         dbus1
Powerkey press from display off:
    single                       unblank
    double                       unblank,tkunlock
    long                         (none)
Touchscreen gestures:
    gesture0                     unblank
    gesture1                     unblank
    gesture2                     unblank
    gesture3                     unblank
    gesture4                     unblank
    gesture5                     unblank
    gesture6                     unblank
    gesture7                     unblank
    gesture8                     unblank
    gesture9                     unblank
    gesture10                    unblank
Powerkey D-Bus actions:
    dbus1                        send signal with arg 'power-key-menu'
    dbus2                        send signal with arg 'event2'
    dbus3                        send signal with arg 'event3'
    dbus4                        send signal with arg 'event4'
    dbus5                        send signal with arg 'event5'
    dbus6                        send signal with arg 'event6'
    dbus7                        send signal with arg 'event7'
    dbus8                        send signal with arg 'event8'
    dbus9                        send signal with arg 'event9'
    dbus10                       send signal with arg 'event10'
Powerkey ps override count:          3
Powerkey ps override timeout:        333 [ms]
Display off override mode:           disabled
Use low power mode:                  disabled
LPM UI triggering:                   from-pocket
Use als mode:                        enabled
Use als autobrightness:              disabled
Active als input filter:             median
Sample time for als filtering:       150
Use orientation sensor mode:         enabled
Orientation change is activity:      enabled
Flipover gesture detection:          enabled
Use ps mode:                         enabled
Touch can be blocked by ps:          disabled
PS acts as LID sensor:               disabled
Use lid sensor mode:                 enabled
Filter lid with als:                 enabled
Lid closed als limit:                0 (lux)
Lid open actions:                    unblank
Lid close actions:                   tklock
Kbd slide open trigger:              no-proximity
Kbd slide open actions:              unblank
Kbd slide close trigger:             after-open
Kbd slide close actions:             tklock
Allowed dim timeouts                 [ 15 30 60 120 600 ]
Brightness fade [def]:               150 (milliseconds)
Brightness fade [dim]:               1000 (milliseconds)
Brightness fade [als]:               1500 (milliseconds)
Brightness fade [blank]:             100 (milliseconds)
Brightness fade [unblank]:           90 (milliseconds)
Autosuspend policy:                  enabled
CPU Scaling Governor:                automatic
Use fake doubletap:                  enabled
Tklock autoblank policy:             enabled
Lipstick core delay:                 30 (seconds)
Input grab policy:                   enabled
Input grab allowed:                  kp
Touch unblock delay:                 100 (milliseconds)
Display on after incoming call       5000 ms
Display on after outgoing call       2500 ms
Display on after alarm               1250 ms
Display on at usb connect            5000 ms
Display on at usb mode query         10000 ms
Display on at charging start         3000 ms
Display on at battery full           disabled
Display on at jack insert            3000 ms
Display on at jack remove            3000 ms
Display on at camera button          3000 ms
Display on at volume button          2000 ms
Display on activity extension        2000 ms
Led breathing:                       enabled
Led breathing battery limit:         101 (%)
Memory use warning [used]:           494500 (ram pages)
Memory use warning [active]:         disabled
Memory use critical [used]:          519500 (ram pages)
Memory use critical [active]:        disabled
Memory use level:                    normal

Ultimi articoli

Prev Next

Contatti

25-07-2018 Click:17

Visualizza i contatti e i riferimenti degli admin del sito.

Windows - Script batch - Check se servizio running e in caso riavvio

27-03-2018 Click:93

Di seguito un paio di scripta batch per windows che se lanci...

Windows - Script batch - Backup di cartelle/files con robocopy

27-03-2018 Click:92

Nell'esempio successivo, creeremo uno script per l'esecuzion...

Visite totali32043
Questo sito web usa i cookies per gestire alcune funzionalità, quali navigazione, autenticazione, commenti, etc. Utilizzando il nostro sito web, accetti l'utilizzo dei cookies.