maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [FYI]Flashlight in camera cover launcher. (https://talk.maemo.org/showthread.php?t=80716)

vi_ 2011-12-07 18:41

[FYI]Flashlight in camera cover launcher.
 
If like me you have longed for a better way of launching flashlight that does not involve opening shutter, closing cam, opening status menu then clicking widget thing. You can actually launch it from CL if you edit /usr/share/applications/hildon/flashlight-applet-launcher.desktop and remove the line

'NoDisplay=true'

Voila, you can now add flashlight to CL.

True story dat.

vetsin 2011-12-07 19:02

Re: [FYI]Flashlight in camera cover launcher.
 
vi_,
how about this:
1. install Camera Lens Launcher from repos.
2. upon installation, go to Settings and change the first box to: "Show application pop-up window"
3. in the third box, add Flashlight and all other camera-related apps that you like.
Next time you slide that camera cover, a selection of apps will pop-up instead of the camera. :)

Mentalist Traceur 2011-12-07 19:14

Re: [FYI]Flashlight in camera cover launcher.
 
Thanked both posts: vi_, your post is no doubt useful knowledge-wise, but apps already exist in the repos that let you configure what gets launched when you open the cam shutter, or have it bring up a menu of choices.

vi_ 2011-12-07 19:52

Re: [FYI]Flashlight in camera cover launcher.
 
derp.

Flashlight-applet-launcher does not appear as a selectable program through Hildon menu OR CL launcher settings until you tell it to not 'no_display'.

This simply makes it show up as a program in applications list. This allows you to add it to CL launchers list of programs. Before this alteration it would not appear and you could not add it.

Ya follow?

vetsin 2011-12-07 20:22

Re: [FYI]Flashlight in camera cover launcher.
 
what i said works on my n900, dunno why that's not the case in yours. plus i thought CL=command line. haha
anyway, for my case, no extra editing was necessary.

ivanrajkovic 2011-12-07 20:22

Re: [FYI]Flashlight in camera cover launcher.
 
Quote:

Originally Posted by vi_ (Post 1134685)
derp.

Flashlight-applet-launcher does not appear as a selectable program through Hildon menu OR CL launcher settings until you tell it to not 'no_display'.

This simply makes it show up as a program in applications list. This allows you to add it to CL launchers list of programs. Before this alteration it would not appear and you could not add it.

Ya follow?

I could always add flashlight in camera lens launcher, even with 'NoDisplay=true' in the .desktop file.


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

vBulletin® Version 3.8.8