Active Topics

 


Reply
Thread Tools
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#11
Originally Posted by zmay View Post
it doesn't work
i downloaded hildon-desktop from repo. i made scripts. chmod them
and when typing lock it says -sh lock not found
i wouldnt use the default notes try leaf pad !
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#12
you put them in /bin? and they if you ls -l they are both user root and group root? and they for certain have execute permissions? and finally did you try both sh and bash in the scripts? I had bash but you are probably running busy box so the line should probably read #
!/bin/sh.

can you cd into /bin and run ls -l unlock lock and post the output?
then post the actual contents of the 2 files you created?

There is a simple answer for this ...

btw the command in the files (the line ending in either true or false) can be run manually to lock/unlock the desktop. so you can run the commands to see if the actuall hildon desktop locking/unlocking is working. putting the commands in the files, making them executable and putting them in /bin is just to make it easier to unlock/lock by being able to just type lock or unlock as opposed to having to remember the cryptic command that ends in true of false.

Last edited by extendedping; 2010-12-01 at 15:59.
 

The Following User Says Thank You to extendedping For This Useful Post:
zmay's Avatar
Posts: 33 | Thanked: 8 times | Joined on Nov 2010
#13
could we start from scratch?
i installed leafpad and made two scripts lock und unlock with bash as shell
whats next?


okej
bash doesn't work so i changed it to sh
it's fine
i can execute them in x term but theres no effect whtsoever
do i need modified hildon deskopt to make scripts work?

Last edited by zmay; 2010-12-01 at 16:26.
 
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#14
Originally Posted by zmay View Post
could we start from scratch?
i installed leafpad and made two scripts lock und unlock with bash as shell
whats next?


okej
bash doesn't work so i changed it to sh
it's fine
i can execute them in x term but theres no effect whtsoever
do i need modified hildon deskopt to make scripts work?
yes i use modified-hildon-desktop_3.3 an works mint . .
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks
 

The Following User Says Thank You to stevomanu For This Useful Post:
zmay's Avatar
Posts: 33 | Thanked: 8 times | Joined on Nov 2010
#15
yeah
i got it all workin.
thx y'all
 

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


 
Forum Jump


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