mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > No Prime Left Behind

Reply
 
Thread Tools
Old 2009-04-20, 07:37   #1
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3·7·53 Posts
Default Fix for Vista ICONs in SysTray

I finally figured out away to control the ICON that is used when you start a client in Vista.
Vista likes to use the last ICON it saw in the System Tray, don't know why, but that's what it does, so to make it use an icon you like, I run task manager first, then start the clients
This also works in Windows XP 64bit to. :)

I'll share my script that I use to run 8 cores, can be edited for less cores easily.

@echo off
start taskmgr.exe
sleep 3
start "NPLB-1" /D D:\dcprojects\NPLB\Port8000\NPLB1 /I /AFFINITY 1 cmd.exe /C llrnet.exe
start "NPLB-2" /D D:\dcprojects\NPLB\Port8000\NPLB2 /I /AFFINITY 2 cmd.exe /C llrnet.exe
start "NPLB-3" /D D:\dcprojects\NPLB\Port8000\NPLB3 /I /AFFINITY 4 cmd.exe /C llrnet.exe
start "NPLB-4" /D D:\dcprojects\NPLB\Port8000\NPLB4 /I /AFFINITY 8 cmd.exe /C llrnet.exe
start "NPLB-5" /D D:\dcprojects\NPLB\Port8000\NPLB5 /I /AFFINITY 10 cmd.exe /C llrnet.exe
start "NPLB-6" /D D:\dcprojects\NPLB\Port8000\NPLB6 /I /AFFINITY 20 cmd.exe /C llrnet.exe
start "NPLB-7" /D D:\dcprojects\NPLB\Port8000\NPLB7 /I /AFFINITY 40 cmd.exe /C llrnet.exe
start "NPLB-8" /D D:\dcprojects\NPLB\Port8000\NPLB8 /I /AFFINITY 80 cmd.exe /C llrnet.exe
taskkill /im taskmgr.exe

By doing this, I get 8 task manager icons in the System Tray.
I also spend the few minutes to change the window size for each one, drag it where I want it, then save it. (you only have to do this once)
75 wide 8 tall - allows me to fit them all on the screen 1280x1024, one on top of the other.
If you use grouping, you can minimize the group, or, close the group to terminate them.

Last fiddled with by IronBits on 2009-04-20 at 07:41
IronBits is offline   Reply With Quote
Old 2009-04-20, 23:59   #2
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

7·167 Posts
Default

Nice, that was really starting to bug me.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-04-21, 06:38   #3
Razor_FX_II
 
Razor_FX_II's Avatar
 
Jan 2009

43 Posts
Default

What does the "/I" do in this line?
Quote:
Originally Posted by IronBits View Post
start "NPLB-1" /D D:\dcprojects\NPLB\Port8000\NPLB1 /I /AFFINITY 1 cmd.exe /C llrnet.exe
Razor_FX_II is offline   Reply With Quote
Old 2009-04-21, 07:23   #4
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3×7×53 Posts
Default

Open a command prompt ( click start, run, type cmd <enter> )
the type start /? <enter>

http://www.free-dc.org/forum/showthr...857#post135855

Last fiddled with by IronBits on 2009-04-21 at 07:24
IronBits is offline   Reply With Quote
Old 2009-04-21, 08:36   #5
Svenie25
 
Svenie25's Avatar
 
Aug 2008
Good old Germany

100011012 Posts
Default

Works for me fine, too. Thanks a lotfor this. But there is one problem back for me. If I click on the icons, I can´t see, what I am clicking. There is only a small empty field...
Svenie25 is offline   Reply With Quote
Old 2009-04-21, 14:51   #6
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

21318 Posts
Default

I get 8 command windows that I can watch, grouped into one on the task bar, that I can minimize or close.
IronBits is offline   Reply With Quote
Old 2009-04-23, 09:42   #7
vaughan
 
vaughan's Avatar
 
Jan 2005
Sydney, Australia

5×67 Posts
Default

Thanks IB that is useful.

I have another query that may be Windows 7 related, not Vista.
Sometimes but not always the NPLB GUI doesn't show any results in the middle pane ie the area where completed tests are displayed. If I close the running instances and quit out of LLR-Remote, then start everything again it usually works OK.

Anybody else see this phenomenon or got a solution?
vaughan is offline   Reply With Quote
Old 2009-04-24, 07:34   #8
vaughan
 
vaughan's Avatar
 
Jan 2005
Sydney, Australia

5×67 Posts
Default

^^^ Bump
vaughan is offline   Reply With Quote
Old 2009-04-24, 08:28   #9
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

100010110012 Posts
Default

Topic on this one was Vista, SysTray ICONS and Affinity.
You can find out more about the above here: http://www.free-dc.org/forum/showthread.php?t=18574

I do not have Windows 7, nor do I run the GUI llr client, so I'm not even sure what you are talking about, let along help you.

Last fiddled with by IronBits on 2009-04-24 at 08:31
IronBits is offline   Reply With Quote
Old 2009-04-24, 10:27   #10
vaughan
 
vaughan's Avatar
 
Jan 2005
Sydney, Australia

5·67 Posts
Default

OK. I acknowledged that it wasn't Vista but probably Win 7 causing the issue. Your post applies to Win 7 that also has the "feature" of using the last icon and not the application's icon in the SysTray.

Doesn't matter that much as long as LLRnet still crunches I suppose. Just thought someone might be able to help.
vaughan is offline   Reply With Quote
Old 2009-04-24, 10:56   #11
PCZ
 
PCZ's Avatar
 
Jun 2006
Chertsey Surrey UK

2×179 Posts
Default

Vaughan

I also tried to get the taskbar icons to behave in Win 7 without much success.
As you say it still crunches.
PCZ is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Icons davar55 Forum Feedback 14 2015-01-02 11:49
Vista vs. XP for LL Rodrigo Software 57 2012-06-17 05:50
Mystery systray icon. Uncwilly Lounge 5 2007-10-24 13:21
Tray icons and 'missing' files? Annekcm Software 1 2006-06-24 00:27
Icons, including favicons, for ElevenSmooth wblipp ElevenSmooth 3 2003-11-13 12:11

All times are UTC. The time now is 22:39.

Sat Apr 4 22:39:25 UTC 2020 up 10 days, 20:12, 0 users, load averages: 1.24, 1.42, 1.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.