I am trying to set up a icon in the Tasks section of the Jump List for my Electron app. I already successfully set up a icon in the task bar. But I also want to set up my icon in the Tasks section of the Jump List. How can I do that?
I already tried to use the app.setUserTask() method and tried to set up a icon in my JSON file. The icon in the task bar and the icon in the its self is working. I also tried using .ico and .png.
The description and the title are working so I guess that I am doing something wrong with the path or something similar. The ico and png image are in the same directory as my main.js (for Electron).
just4youjust4you
2 Answers
First of all, it looks like you mixed up two things in your
iconPath
. According to the Electron docs, you can use process.execPath
to refer to the application executable or use any other absolute path. Since path.join
returns a string, it won't have the execPath
property. Secondly, I changed the iconIndex
to 0.The following was tested on Windows 7 and Electron 4.1.4:
Jump List Taskbar
It appears that PNG files do not work at all – you'll need to use ICO files for the Jump List. Furthermore, the icon cannot be taken from the
asar
. This means you need an ICO directly in the filesystem and you need to provide an absolute path to it.Complete code sample:
Here,
doesn't work
means a default icon is shown by Windows. I made sure that icon.png
and icon.ico
were in the app.asar
.snwflksnwflk
I got it working. icon is changed in the taskmanager, taskbar and the app its selfI used this topic
I made sure that the .exe and my img are in same folder. All of my icons are now changed except from the .exe its self.
Aug 19, 2017 - Ares Comedy is a standalone add-on and as a part of AresTube add-ons. This Youtube style add-on featuring the top comedians doing what. Stream all the sources 2018.
just4youjust4you
Not the answer you're looking for? Browse other questions tagged iconselectronjump-list or ask your own question.
As you may already know, Windows 10 tracks and stores information about which documents and which folders and files you have opened recently. This information is used by the OS to provide quick access to documents via jump lists when you need them again. If you need to remove this info due to privacy concerns or for some other reason, you will find that in Windows 10 this operation can be a bit confusing. Here is how you can disable jump lists in Windows 10.
![Jump list taskbar Jump list taskbar](/uploads/1/2/3/7/123710189/220253150.png)
RECOMMENDED: Click here to fix Windows errors and optimize system performance
Windows 10 shows jump lists in the Start menu and for taskbar pinned apps which support this feature. Here is how it looks:
In Windows 10, the Taskbar and Start menu were reworked, so you need to use a special page in the Settings app to disable jump lists.
To disable jump lists in Windows 10,
you need to do the following:
- Open the Settings app.
- Open Personalization.
- Go to the item titled Start on the left:
- Disable the option Show recently opened items in Jump Lists on Start or the taskbar
Alternatively, you can apply a Registry tweak.
- Open Registry Editor.
- Go to the following Registry key:Tip: How to jump to the desired registry key with one click.
- In the right pane, create or modify the 32-bit DWORD value named Start_TrackDocs. Set its value data to 0 to disable the jump lists feature. Note: To restore defaults, set it to 1.
You can save your time and download ready-to-use Registry files. The undo tweak is included.
You can save your time and use Winaero Tweaker instead. It comes with the following feature:
You can download it here: Download Winaero Tweaker.
That's it.
RECOMMENDED: Click here to fix Windows errors and optimize system performance
In previous versions of Windows, you could change the number of recent items shown in jump lists with a simple option in taskbar properties. For whatever reason, Microsoft removed this ability in Windows 10. With a minor Registry hack, though, you can still bump that number up.
Damage Protection: 15. Fallout 4 script extender. +10% movement speed. Energy Protection: 15.
Increase the Jump List Limit by Editing the Registry Manually
By default, Windows 10 shows around 12 recent items in the jump list. To increase that number, you just need to make an adjustment to one setting in the Windows Registry.
Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.
Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open Registry Editor and give it permission to make changes to your PC.
In the Registry Editor, use the left sidebar to navigate to the following key:
Next, you’re going to create and name a new value inside the
Advanced
key. Right-click the Advanced
folder and choose New > DWORD (32-bit) Value. Name the new value JumpListItems_Maximum
and then double-click the value to open its properties window.In the value’s properties window, enter the number of recent items you want your jumplists to show in the “Value data” box. We’ve found that 15-20 is a pretty good number that still lets the whole jump list show on most displays. You can go higher if you want; you just might end up needing to scroll your jump lists a bit. When you’re done, click OK.
You can now exit Registry Editor. You don’t need to restart Windows or anything. The change takes place immediately, so just open a jump list to make sure it worked. In our example, we boosted the number to 20 and you can see that many more entries are now shown.
If you ever want to reset the default number of items shown, just return to the
Advanced
key and set the JumpListItems_Maximum
value to 0.Download Our One-Click Hacks
If you don’t feel like diving into the Registry yourself, we’ve created some a couple of registry hacks you can use. The “Increase Jump List Recent Items to 20” hack creates the
JumpListItems_Maximum
value and sets it to 20. The “Reset Jump List Recent Items to Default” hack sets the JumpListItems_Maximum
value to 0, restoring the default setting. Both hacks are included in the following ZIP file. Double-click the one you want to use and click through the prompts. When you’ve applied the hack you want,the changes will take place immediately.You can also edit the “Increase Jump List Recent Items to 20” hack to the number you want by right-clicking the REG file and then choosing Edit from the context menu to open the file in Notepad. In the Notepad window, find the following line:
Modify the number to whatever you want. Just remember that the number needs to be six digits, so leave those zeroes in place. Save the file when you’re done and the hack will be ready to run.
RELATED:How to Make Your Own Windows Registry Hacks
These hacks are really just the
READ NEXTAdvanced
key, stripped down to the JumpListItems_Maximum
value we talked about in the previous section and then exported to a .REG file. Running either of the enable sets that value to the appropriate number. And if you enjoy fiddling with the Registry, it’s worth taking the time to learn how to make your own Registry hacks.- › Windows 10 Can Now Sync Android Notifications to Your PC
- › Windows 10 20H1 Will Let You Drag and Drop With Your Eyes
- › How to Move Google Authenticator to a New Phone (or Multiple Phones)
- › Why Did Your iPhone Beep or Vibrate? Here’s How to Find Out
- › Why You Should Buy AMD’s 2019 CPUs for Your Next PC