Reply
Thread Tools
Posts: 228 | Thanked: 137 times | Joined on Jan 2012 @ UK
#1071
Great update, loving the new time selector

Any thoughts on adding a light theme to the ProfileMatic UI?
 

The Following User Says Thank You to nbedford For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1072
Originally Posted by nbedford View Post
Great update, loving the new time selector

Any thoughts on adding a light theme to the ProfileMatic UI?
Most of the UI has been programmed to be ready for light theme... but since I've personally thought the dark theme fits much better, I've never pursued it.

But if there's genuine interest in light theme I will add it as a TODO item for eventual inclusion.
__________________
My N9/N950 projects:
 

The Following 2 Users Say Thank You to ajalkane For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1073
Oh and about the much praised Time selector (I praise it also), pretty much all of the thanks have to go to Vasiliy Sorokin and Aleksey Mikhailichenko (https://gitorious.org/harmattan-time...tan-timepicker)

I only embellished it a little for ProfileMatic's needs. But without their great component, it wouldn't be here now in ProfileMatic. So public thanks from me here to them, even if regards are in ProfileMatic's About dialog also. One can never thank good work enough .
__________________
My N9/N950 projects:
 

The Following 5 Users Say Thank You to ajalkane For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#1074
Wallpaper auto-changer by Coderus and use it with idle profile

1. Put your wallpapers to /home/user/.wallpapers
2. Put script to /home/user/MyDocs
3. Choose the Idle profile for some minutes that you want.
4. Run it in "Custom action" as ROOT:
Code:
sh -c "echo rootme | devel-su -c 'sh /home/user/MyDocs/auto-wall.sh'"
rootme = your root password

Code:
#!/bin/sh

tmpFile=$(mktemp)
wallpapers="/home/user/.wallpapers"

files=$(find $wallpapers -type f > $tmpFile)
total=$(cat "$tmpFile"|wc -l)
randomNumber=$(($RANDOM%$total))

i=0
while read line;  do
  if [ "$i" -eq "$randomNumber" ];then
    # Do stuff with file
    gconftool-2 -t string -s /desktop/meego/background/portrait/picture_filename "$line"
    break
  fi
  let i="$i+1"
done < $tmpFile
rm $tmpFile
Thanks to Coderus for script.

Last edited by Schturman; 2013-02-13 at 17:47.
 

The Following 5 Users Say Thank You to Schturman For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#1075
Someone know how to check what my root password and how to activate idle profile from command line ?
Thanks

I noticed that sometimes Idle profile not work, don't understand why.
When I try my script with "TRY" button in the setting, it work perfectly, but when my phone in idle for 2 min (my idle profile) it not run the custom action WHY ?

Last edited by Schturman; 2013-02-13 at 11:21.
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#1076
am i asking too much if you can add tactile feedback to clock?
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1077
Originally Posted by Schturman View Post
I noticed that sometimes Idle profile not work, don't understand why.
When I try my script with "TRY" button in the setting, it work perfectly, but when my phone in idle for 2 min (my idle profile) it not run the custom action WHY ?
Can be a bug... the idle condition (like most conditions) was refactored quite a bit in version 2.0. If you can run ProfileMatic's daemon in terminal, and collect me the log around the time that happens, I might be able to see if it's a bug in ProfileMatic or something else.

Slarti had a similar issue, which reboot solved. In his logs I saw ProfileMatic launching the script correctly, but for some reason the script did not run.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1078
Originally Posted by lorenzo View Post
am i asking too much if you can add tactile feedback to clock?
It'd be nice, I hadn't noticed that difference between stock clock and this one. I can look a bit into it, if it's easy in QML I might be able to do it, but if it requires lots of work I guess I won't.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
rooster13's Avatar
Posts: 319 | Thanked: 221 times | Joined on Jan 2010 @ Finland
#1079
Originally Posted by ajalkane View Post
It'd be nice, I hadn't noticed that difference between stock clock and this one. I can look a bit into it, if it's easy in QML I might be able to do it, but if it requires lots of work I guess I won't.
Are we talking about haptic feedback here?
If yes, check this out:

Code:
/***********************************  * Copyright 2012 Peter Pykäläinen *  *                                 *  * This file is part of goViihde.  *  ***********************************/  // import QtQuick 1.0 // to target S60 5th Edition or Maemo 5 import QtQuick 1.1 import QtMobility.feedback 1.1  HapticsEffect {     id: errorRumbler     attackIntensity: 0.0     attackTime: 250     intensity: 1.0     duration: 100     fadeTime: 250     fadeIntensity: 0.0 }
__________________
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget
 

The Following 3 Users Say Thank You to rooster13 For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#1080
Originally Posted by ajalkane View Post
Can be a bug... the idle condition (like most conditions) was refactored quite a bit in version 2.0. If you can run ProfileMatic's daemon in terminal, and collect me the log around the time that happens, I might be able to see if it's a bug in ProfileMatic or something else.

Slarti had a similar issue, which reboot solved. In his logs I saw ProfileMatic launching the script correctly, but for some reason the script did not run.
Thanks for answer. Yes I use the latest version 2.0
and here is the log...
After stopping the daemon, the first idle worked and two another idles not run the script.
Thanks

PS. remove ".txt" extention...
Attached Files
File Type: txt profilematic.log.txt (8.8 KB, 84 views)
 

The Following User Says Thank You to Schturman For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:45.