Notices


Reply
Thread Tools
Posts: 115 | Thanked: 98 times | Joined on Aug 2011
#1
I have BlessN900 0.49-4 installed on my N900. It always failed to start if I start it from its shortcut. I tried to open "/usr/share/applications/hildon/blessn900.desktop" and start BlessN900 from XTerminal.

Here is my command using normal user.
Code:
/opt/blessn900/blessn900
Here is the output.
Code:
Could not parse application stylesheet
Segmentation fault
(BlessN900 can't start)

I tried to gain root access.
Code:
sudo gainroot
/opt/blessn900/blessn900
Here is the output.
Code:
Maemo applications must be run with the run-standalone.sh script!
QGtkStyle was unable to detect the current GTK+ theme.
Could not parse application stylesheet
QDBusInterface  com.almalence.blessn900.stdcam_replacer  is NOT valid 
Segmentation fault
(Still can't start)

I didn't give up, I tried to be the root user.
Code:
root
/opt/blessn900/blessn900
Here is the output.
Code:
Could not parse application stylesheet
CameraWidget::InitializePipeline(): Start Initialize 
Start StandBy
(IT WORKS! BlessN900 STARTS!)


Then my question is how to modify "/usr/share/applications/hildon/blessn900.desktop" to execute
Code:
root
/opt/blessn900/blessn900
If I modify the "Exec" line to
Code:
Exec=osso-xterm "sudo /opt/blessn900/blessn900"
it still can't start, cause it same as
Code:
sudo gainroot
/opt/blessn900/blessn900
I should modify the shortcut to run using root user, not normal user with root access.

Last edited by AWasisto; 2012-05-14 at 14:52.
 

The Following 2 Users Say Thank You to AWasisto For This Useful Post:
Posts: 84 | Thanked: 76 times | Joined on Aug 2011
#2
Try this in terminal as normal user:

sh -c 'echo "sleep 1; /opt/blessn900/blessn900" | root'
 

The Following 5 Users Say Thank You to LightRain For This Useful Post:
Posts: 115 | Thanked: 98 times | Joined on Aug 2011
#3
It works! Now my BlessN900 works from its shortcut. Thank you!
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:02.