Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [GUIDE for noobs] RPM packaging directly on your Jolla phone.

    Reply
    Page 2 of 6 | Prev |   1   2   3     4   | Next | Last
    flotron | # 11 | 2014-03-31, 21:55 | Report

    RPM built. Now lets brick the phone :P

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flotron | # 12 | 2014-03-31, 22:10 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Schturman | # 13 | 2014-03-31, 22:31 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flotron | # 14 | 2014-03-31, 23:03 | Report

    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"

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Schturman | # 15 | 2014-03-31, 23:19 | Report

    use:
    Code:
    su -l nemo -c "command"

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Schturman For This Useful Post:
    flotron

     
    flotron | # 16 | 2014-04-01, 00:24 | Report

    Originally Posted by Schturman View Post
    use:
    Code:
    su -l nemo -c "command"
    That worked.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Schturman | # 17 | 2014-04-01, 10:47 | Report

    First post and PDF instruction updated!
    * added explanation about running command from SPEC file as USER
    * added command for installation of rpm-build package.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Schturman For This Useful Post:
    flotron

     
    flotron | # 18 | 2014-04-01, 18:58 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Schturman | # 19 | 2014-04-01, 22:17 | Report

    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"

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Schturman; 2014-04-01 at 22:19.
    The Following User Says Thank You to Schturman For This Useful Post:
    flotron

     
    Schturman | # 20 | 2014-04-14, 22:30 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 6 | Prev |   1   2   3     4   | Next | Last
vBulletin® Version 3.8.8
Normal Logout