webOS Nation Forums >  webOS smartphones (Pre, Pixi, Veer) >  webOS tips, information, and resources > {TIP} Make Applications Invisible in Launcher
{TIP} Make Applications Invisible in Launcher

  Reply
Like Tree1Likes
  • 1 Post By eblade

 
LinkBack Thread Tools Display Modes
Old 01/06/2012, 10:53 PM   #1 (permalink)
Homebrew Developer
 
drewksparks's Avatar
 
Join Date: Sep 2010
Location: Knoxville, Tennessee
Posts: 99
Likes Received: 12
Thanks: 23
Thanked 53 Times in 20 Posts
Lightbulb {TIP} Make Applications Invisible in Launcher

Prerequisites:
Internalz (pref Internalz Pro)
Basic knowledge of system files

My launcher pages get cluttered, so here is a way to make some apps invisible. This clears up space on your launcher, but the functionality of the invisible apps remains. This can be used to remove apps that you NEVER launch from their icon but still use the functionality. These for me are: SIM toolkit, VPN, Uberkernel, Gesture Tutorial (or First Use), PDF Viewer, etc. This process is REVERSIBLE.

Steps:
1. Launch Internalz

2. Make sure "Master Mode" is ON in the preferences menu.

3. Locate the app file for the app you wish to change. (System apps like PDF Viewer are usually in /usr/palm/applications folder, while installed apps are in /media/cryptofs/apps/usr/palm/applications/)

4. Navigate to the appinfo.json in the main folder for the app. Open this.

5. Here's the hard part. Under the icon information line, (looks like "icon":"icon.png") create a new line. In this new line, type
Code:
"visible": false,
MAKE SURE YOU PUT THE COMMA! IF COMMA ISN'T THERE, THE APP FUNCTIONALITY WILL NOT BE PRESENT.

Reboot phone, or just Luna. Enjoy you're newly cleaned and less cluttered Launcher.

To reverse:
Just remove the extra line from the file. Make sure all comma's and quotes are intact.
drewksparks is offline   Reply With Quote
Old 01/07/2012, 08:03 AM   #2 (permalink)
Member
 
gerzhwin's Avatar
 
Join Date: Jan 2011
Location: Berlin, Germany
Posts: 244
Likes Received: 17
Thanks: 41
Thanked 15 Times in 15 Posts
Default

Cool thing to do! Does this also work in webOS 2.x? And who is maybe patching the Software Manager or make a stand-alone app to enable this functionality?
__________________
webOS is simply fabulous

TouchPad’s Virtual Keyboard Layouts: http://forums.webosnation.com/member...d-layouts.html
in isagar2004’s post: http://forums.webosnation.com/hp-tou...rrow-keys.html
gerzhwin is offline   Reply With Quote
Old 01/07/2012, 08:39 AM   #3 (permalink)
Member
 
geekpeter's Avatar
 
Join Date: Aug 2011
Location: UK
Posts: 1,538
Likes Received: 196
Thanks: 64
Thanked 121 Times in 107 Posts
Default

ah n1, just the ticket to save space for apps that arent directly used.

just hidden my uberkernel icon, xserver, xterm, tigervnc, systoolsmgr, filemgr, and a fair few more.

awesome ta.
geekpeter is online now   Reply With Quote
Old 01/07/2012, 09:24 AM   #4 (permalink)
Homebrew Developer
 
drewksparks's Avatar
 
Join Date: Sep 2010
Location: Knoxville, Tennessee
Posts: 99
Likes Received: 12
Thanks: 23
Thanked 53 Times in 20 Posts
Default

Quote:
Originally Posted by gerzhwin View Post
Cool thing to do! Does this also work in webOS 2.x? And who is maybe patching the Software Manager or make a stand-alone app to enable this functionality?
Yes it works in all versions I've been able to test it in. (1.4.5, 2.1.0, 2.2.4, 3.0.4) never had any problems with it, as long as you place the comma. I'm a noob at patches and apps, but someone is more than welcome to implement this in one.
drewksparks is offline   Reply With Quote
Old 01/07/2012, 09:53 AM   #5 (permalink)
Member
 
Join Date: Aug 2011
Posts: 1,923
Likes Received: 205
Thanks: 21
Thanked 196 Times in 143 Posts
Default

Note that the comma should only be there if you are not inserting that line at the end of the file.
__________________
GVoice for all webOS devices - for PlayBook - GVoiceA for Android
XO - The Subsonic Media Commander - webOS Demo and Full version and PlayBook full version available
- Ask500, the webOS polling app


(1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender
eblade is offline   Reply With Quote
Old 01/07/2012, 10:41 AM   #6 (permalink)
Homebrew Developer
 
drewksparks's Avatar
 
Join Date: Sep 2010
Location: Knoxville, Tennessee
Posts: 99
Likes Received: 12
Thanks: 23
Thanked 53 Times in 20 Posts
Default

Quote:
Originally Posted by eblade View Post
Note that the comma should only be there if you are not inserting that line at the end of the file.
In order to simplify things, you create the new line after the icon command, which is usually not at the end, in fact, I have never seen an app where the icon line is the last one. In reality, you can place the line wherever in the file, but I chose to place it after the "icon" line because of this reason.
drewksparks is offline   Reply With Quote
Old 01/08/2012, 07:26 AM   #7 (permalink)
Member
 
Audemars02's Avatar
 
Join Date: May 2009
Posts: 1,487
Likes Received: 13
Thanks: 252
Thanked 405 Times in 238 Posts
Default

am i correct that by hiding the app, you are no longer able to launch the app from Just Type, either?
__________________
I am the creator of the PalmSpot entry “webOS Does, and Does, and Does Some More”, writes Save/Restore scripts and helps manage the script feed, and now writes PreCentral's Tip of the Day

Got a good tip for PreCentral's Tip of the Day? Please send me a PM or use the Contact Us form and select "Suggest a tip"

Like any of my work:
Audemars02 is offline   Reply With Quote
Old 01/08/2012, 12:18 PM   #8 (permalink)
Homebrew Developer
 
drewksparks's Avatar
 
Join Date: Sep 2010
Location: Knoxville, Tennessee
Posts: 99
Likes Received: 12
Thanks: 23
Thanked 53 Times in 20 Posts
Default

Quote:
Originally Posted by Audemars02 View Post
am i correct that by hiding the app, you are no longer able to launch the app from Just Type, either?
Exactly. This removes all ways to launch an app by clicking on the icon, as it removes the icon itself. But, for example, if you hide the PDF viewer app, and you need to launch a pdf, (lets say there's a link to it in the browser) the app will open, and you can operate it as normal.
drewksparks is offline   Reply With Quote
Old 01/08/2012, 01:14 PM   #9 (permalink)
Member
 
Join Date: Aug 2011
Posts: 1,923
Likes Received: 205
Thanks: 21
Thanked 196 Times in 143 Posts
Default

drewk,

sure, sure. but someone could have their icon listed as the last or second to last entry in the file, just wanted to make sure everyone knows that there needs to be a comma after every line in the file, except for the last one.
__________________
GVoice for all webOS devices - for PlayBook - GVoiceA for Android
XO - The Subsonic Media Commander - webOS Demo and Full version and PlayBook full version available
- Ask500, the webOS polling app


(1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender
eblade is offline   Reply With Quote
Liked by drewksparks likes this.
Old 01/29/2012, 03:35 PM   #10 (permalink)
Member
 
despinova's Avatar
 
Join Date: May 2007
Posts: 77
Likes Received: 0
Thanks: 42
Thanked 1 Time in 1 Post
Default

I do not know what you're doing wrong, but not working. Write [CODE] "visible": false, [/ CODE]. Restart the device, and nothing.
despinova is offline   Reply With Quote
Old 01/29/2012, 03:39 PM   #11 (permalink)
Forum Moderator
 
sledge007's Avatar
 
Join Date: Mar 2010
Location: Calgary Alberta
Posts: 5,067
Likes Received: 721
Thanks: 972
Thanked 890 Times in 647 Posts
Default

Quote:
Originally Posted by drewksparks View Post
In this new line, type
Code:
"visible": false,
Quote:
Originally Posted by despinova View Post
I do not know what you're doing wrong, but not working. Write [CODE] "visible": false, [/ CODE]. Restart the device, and nothing.
Note that the way you wrote it here in the forum,
you have spaces between [CODE] "visible": false, [/ CODE]
.............................................^..................^

and in the OP there aren't any. Try fixing that and see if it works.
sledge007 is offline   Reply With Quote
Old 01/29/2012, 04:44 PM   #12 (permalink)
Member
 
despinova's Avatar
 
Join Date: May 2007
Posts: 77
Likes Received: 0
Thanks: 42
Thanked 1 Time in 1 Post
Default

No. It is not.
despinova is offline   Reply With Quote
Old 02/26/2012, 02:02 PM   #13 (permalink)
Member
 
WknThDg's Avatar
 
Join Date: Dec 2011
Posts: 49
Likes Received: 7
Thanks: 8
Thanked 7 Times in 7 Posts
Default

@despinova
What app did you try this on?
The 1st app I tried this with was filemgr and I had the same problem (after restart the icon was still there).
I then looked at the appinfo.json file again (THIS time scrolling through the whole file to review it ALL) and discovered that further down was a [CODE]"visible": false,[/ CODE] line.
So I then removed my added line of [CODE]"visible": true,[/ CODE], and just changed this existing line to [CODE]"visible": false,[/ CODE] instead.
I restarted and SUCCESS!!!
NOTE: This existing line was many lines AFTER the [CODE]"icon":"icon.png[/ CODE] line.

Therefore, the [CODE]"visible": false,[/ CODE] line DOES NOT have to be the next line right after the [CODE]"icon":"icon.png[/ CODE] line (as drewksparks later said "you can place the line wherever in the file").

I recommend that BEFORE adding a [CODE]"visible": false,[/ CODE] line, 1st check to see if a [CODE]"visible": true,[/ CODE] line already exists in the "appinfo.json" file.
If it does, just change true to false in that existing line.

Last edited by WknThDg; 02/26/2012 at 02:20 PM.
WknThDg is offline   Reply With Quote
Reply

 

Tags
invisible, launcher, remove

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0