Active Topics

 


Reply
Thread Tools
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#11
RPM built. Now lets brick the phone :P
 
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#12
Success!

Except after apply theme and refresh it didn't apply. Maybe needs more time?

doing pkill via terminal after install worked

gconftool-2 -s --type=string /meegotouch/theme/name harbour-mytheme
pkill lipstick


What if i add a pause after pkill?
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#13
Don't know, try it...
Maybe instead pkill try
Code:
systemctl-user restart lipstick.service
Maybe it like in N9 when you need to restart some processes, not only homescreen refresh...
Maximum add reboot
 
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#14
The problem is thats not apply the theme with root privileges, only with user. I probed with root and user in terminal

Do you know how to apply the theme with user privilege?

This one
"gconftool-2 -s --type=string /meegotouch/theme/name harbour-mytheme"
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#15
 

The Following User Says Thank You to Schturman For This Useful Post:
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#16
Originally Posted by Schturman View Post
use:
Code:
su -l nemo -c "command"
That worked.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#17
First post and PDF instruction updated!
* added explanation about running command from SPEC file as USER
* added command for installation of rpm-build package.
 

The Following 2 Users Say Thank You to Schturman For This Useful Post:
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#18
Could it be possible notifications like n9?

dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotificatio n uint32:1000 uint32:0 string:'x-nokia.internet' string:'Theme' string:'Theme installed!
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#19
use notifer.py likr this: python /path/notifer.py. Use it also as USER from spec file.
Code:
#!/usr/bin/python
import dbus

bus = dbus.SessionBus()
object = bus.get_object('org.freedesktop.Notifications','/org/freedesktop/Notifications')
interface = dbus.Interface(object,'org.freedesktop.Notifications')
#print(interface.GetCapabilities())

interface.Notify("app_name",
                 0,
                 "icon-m-notifications",
                 "Dalvik is STOPPED !",
                 "Dalvik stopper",
                 dbus.Array(["default", ""]),
                 dbus.Dictionary({"x-nemo-preview-body": "Dalvik stopper",
                                  "x-nemo-preview-summary": "Dalvik is STOPPED !"},
                                  signature='sv'),
                 0)
that mean:
Code:
su -l nemo -c "python /path/notifer.py"

Last edited by Schturman; 2014-04-01 at 22:19.
 

The Following User Says Thank You to Schturman For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#20
Hi to all
After last system update 1.0.5.16, I can't update my apps created with this method Don't know why, more detailed explanation here: http://talk.maemo.org/showthread.php?t=93023
Any help will be appreciated.
Thanks
 
Reply

Tags
jolla phone, on device


 
Forum Jump


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