Shell icon indicating copy to clipboard operation
Shell copied to clipboard

repeated taskbar item in taskbar menu

Open sarathdm opened this issue 2 years ago • 12 comments

hi... i have an issue in taskbar menu that is taskbar and taskbar settings entry is repeated in the menu. windows option such as cascade windows is repeated,and if i try to remove an item from the menu item in the code and restarted the explorer the whole menu is back to the old menu...... RJWdGRwj7g

sarathdm avatar Oct 02 '23 05:10 sarathdm

Open "imports/taskbar.nss" file and remove this items

menu(title=title.windows image=\uE1FB)
{
    item(title=title.cascade_windows cmd=command.cascade_windows)
    item(title=title.Show_windows_stacked cmd=command.Show_windows_stacked)
    item(title=title.Show_windows_side_by_side cmd=command.Show_windows_side_by_side)
    sep
    item(title=title.minimize_all_windows cmd=command.minimize_all_windows)
    item(title=title.restore_all_windows cmd=command.restore_all_windows)
}
item(title=title.desktop image=icon.desktop cmd=command.toggle_desktop)
item(title=title.settings image=icon.settings(auto, image.color1) cmd='ms-settings:')
item(title=title.task_manager sep=both image=icon.task_manager cmd='taskmgr.exe')
item(title=title.taskbar_Settings sep=both image=inherit cmd='ms-settings:taskbar')
item(vis=key.shift() title=title.exit_explorer cmd=command.restart_explorer)

Save changes, press CTRL + RIGHT-CLICK to reload settings.

moudey avatar Oct 02 '23 17:10 moudey

ok

sarathdm avatar Oct 03 '23 02:10 sarathdm

hi.... i want to all these entries (entries that are shown inside red rectangle box) to be removed from that taskbar menu....... pjuB4oKqdE

sarathdm avatar Oct 03 '23 02:10 sarathdm

Open the "shell.nss" file, add this line for each item you want to remove

remove(find='Put item title here')

Save changes, Restart explorer.

moudey avatar Oct 04 '23 23:10 moudey

i tried the code but the shell breaks......

remove(find='cascade_windows''Show_windows_stacked')

sarathdm avatar Oct 05 '23 03:10 sarathdm

Separate titles with | Enter titles as they appear in the context menu.

remove(find='cascade windows|Show windows stacked')

moudey avatar Oct 05 '23 08:10 moudey

i tried the code but the entry still shows in taskbar menu.......... Code_f3s4FwY9ax

sarathdm avatar Oct 05 '23 09:10 sarathdm

Did you save the changes and reload the settings?

moudey avatar Oct 05 '23 09:10 moudey

yes

sarathdm avatar Oct 05 '23 11:10 sarathdm

Add type property

remove(type="taskbar" find='cascade windows|Show windows stacked')

moudey avatar Oct 05 '23 12:10 moudey

thanks...... now it works.........

sarathdm avatar Oct 05 '23 12:10 sarathdm

how to remove entries from these two menus................. explorer_xNqkRuuUnN Fk9108Ln4t

sarathdm avatar Oct 05 '23 15:10 sarathdm