Giter VIP home page Giter VIP logo

rbtray's Introduction

RBTray

RBTray is a small Windows program that runs in the background and allows almost any window to be minimized to the system tray by:

  • Right-clicking its minimize button
  • Shift-right-clicking its title bar
  • Using the Control-Alt-Down hotkey

Note that not all of these methods will work for every window, so please use whichever one works for your needs.

RBTray is free, open source, and is distributed under the terms of the GNU General Public Licence.

Download

Installing

Download either the 32-bit or 64-bit binaries (depending on your OS) to a folder, for example "C:\Program Files\RBTray". Double click RBTray.exe to start it. If you want it to automatically start after you reboot, create a shortcut to RBTray.exe in your Start menu's Startup group.

On Windows 10 that is located at "C:\Users\YOUR_USERNAME_HERE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

But a much quicker way to access it is to press "WIN + R" then type (or copy & paste) shell:Startup

Using

To minimize a program to the system tray, you can use any of these methods:

  • Right-click with the mouse on the program's minimize button.
  • Hold down a Shift key while right-clicking on the program's title bar.
  • Pressing Control-Alt-Down on the keyboard (all at the same time).

This should create an icon for the window in the system tray. To restore the program's window, single-click the program's icon in the tray. Alternatively, you can right-click on the tray icon which will bring up a popup menu, then select Restore Window.

In some cases, the first two methods cause problems with other software because of they way they integrate into Windows using a hook to intercept mouse events. In these cases, you can use the --no-hook option, which means that only the last method of using the Control-Alt-Down hotkey will work. Also in this case the RBHook.dll isn't needed since it only exists to support the mouse event hook.

Exiting

Right-click on any tray icon created by RBTray and click Exit RBTray in the popup menu, or run RBTray.exe with the --exit parameter.

Authors

Nikolay Redko: http://rbtray.sourceforge.net/, https://github.com/nredko

J.D. Purcell: http://www.moitah.net/, https://github.com/jdpurcell

Benbuck Nason: https://github.com/benbuck

Contributors

Dimitri Pappas https://github.com/fragtion

Ondrej Petrzilka https://github.com/OndrejPetrzilka

Andrzej Włoszczyński https://github.com/Andrzej-W

Hugo Locurcio https://github.com/Calinou

Other

For original forum, bug tracker, etc. see [RBTray SourceForge project page] (http://sourceforge.net/projects/rbtray/).

Copyright © 1998-2011 Nikolay Redko, J.D. Purcell

Copyright © 2015 Benbuck Nason

rbtray's People

Contributors

andrzej-w avatar benbuck avatar bnason-nf avatar calinou avatar fragtion avatar gitoffthelawn avatar merlin2001 avatar ondrejpetrzilka avatar xeddmc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rbtray's Issues

Not Working with IL-Minihost

Hey,
i would really appreciate if i could minimize this programm:
https://www.image-line.com/support/flstudio_online_manual/html/plugins/Minihost%20Modular.htm

Maybe u have the time to look into that. I've tried using Shift + Mouse aswell but without any success.
This programm is free to download, all u have to do is to register for the forums, so its easier to look into that.

I have the latest Version of RBTray (64bit 4.6) and the latest Version of Win10

Best Regards

Missing tray icon

I have found an interesting behaviour of rbtray program.

  1. Open Notepad.
  2. Press Win+Alt+Down. Program is hidden, I see an icon in tray.
  3. Click icon in tray. Program is restored, icon disappears.
  4. Press Win+Alt+Down. Program is hidden, no icon in tray.
  5. Press Win+Alt+Down again - icon appears.

If you write something in Notepad after step 3 or click anywhere in Notepad window then you can press Win+Alt+Down and everything works correctly (program disappears, icon in tray is visible).

Trying to use on Magnifier

Thank you for making this!

Only want to use for Magnifier App. Windows 10 forces Magnifier window to take up space on the task bar when minimized. I'm trying to make windows 10 zooming function as close to compiz native zooming (ubuntu) as possible.

Right-Clicking its minimize button - no result
Shift-Right-Clicking on its title bar - no result
Using the Windows-Alt-Down hotkey - Windows attempted to do it, the window minimized, stayed in taskbar, an icon appeared in systray, and disappeared when hovering over it in systray.

Any assistance would be appreciated.

Mouse movement causes FPS drops in some 3D games while RBTray is running

fps drops with mouse movement in some 3D games while the software is running. Specifically pathfinder kingmaker and dragon quest xi. Issue seen on a nvidia GPU, was not seen on an AMD GPU before.

I was using 4t tray minimizer with an AMD gpu for months without issue. But with an upgrade to a 1080 the first game I ran showed some fps drops when the mouse was moved. I assumed it was just that game since some games did not have it. The game was dragon quest XI. It was not present in Rainbow Six siege and Shadow Tactics Blades of the showgun ( as far as I could tell). The issue popped up again in Pathfinder Kingmaker though. I shut down 4t and the issue was gone. So I started looking for alternatives, which brought me here.

But, the issue is present with this software as well.

rbtray slows down java applications

I have found out that rbtray has negative performance impact on DBeaver, which is a Java-based application for managing databases. When rbtray is running then certain tasks in DBeaver that render elements on screen take much more time to complete than when rbtray is not running. It is most noticeable when I am opening new tables in tabs by double-clicking on their names in the left navigation pane. Rbtray makes opening the tabs about twice as slow.

I've written about it in the DBeaver issue tracker. That was about 4T Tray Minimizer but rbtray causes the same problem, probably some of the code is the same. My impression is that rbtray is slightly better with its performance impact than 4T Tray Minimizer but still noticeable.

I don't know if this problem affects only DBeaver or other Java applications, too. But this seems weird because opening new tabs in a Java UI should have nothing to do with minimizing whole windows so I don't think that rbtray should cause any slow downs - but it does.

I tested rbtray 4.10 on two different computers with Windows 10 64-bit and the same problem occurs on both.

Update version number

Please update the version number.
If you right click on the RBTray.exe v4.10, in Details tab you have File version 4.7 and Product version 4.8.
Also, the RBHook.dll file has no version in Details tab.

Will not minimize an Oracle VirtualBox VM

When trying to minimize a VM running from Oracle VirtualBox, the default "Restore, Move, Size..." etc dialog box pops up.

Works great on everything else I've tested.

RBTray breaks task view in Windows 10.

RBTray will make the task view (winkey + tab) malfunction by making it not respont to the keybind nine out of ten times. It also makes it inpossible to click inside any app after you manage to get the task view to open and other strange behavior.

Fork is removing copyright notice

I notice that someone forked this and quite blatantly replaced the GPL/Copyright notice.

I reported it to GitHub but they replied as follows:

Thanks for taking the time to write in about this.

If you are the copyright holder and want to have the content removed, please file a DMCA takedown with us. Instructions, examples, and policy details are available here:

https://help.github.com/articles/dmca-takedown-policy

If you are not the copyright holder, please contact the owner about this matter and have them file a DMCA takedown with us.

Feature request: a similar functionality to make a window always on top

Please implement the possibility to make a window always on top:

  • by right-clicking on Maximize button;
  • by pressing Win+Alt+Up.

Also, it might be good if right click on Close button shows the menu with "Minimize to tray" and "Always on top" items, and "Always on top" item might be checked/unchecked.

Command line option to use "Hotkey only"

Since some apps have problems with DLL injection: #17 #33
It would be nice to add command line option to use hotkey-only solution.

The app would simply skip hook registration and would work in hotkey-only mode.
This should solve issues with PUBG and other.
Hotkeys usually work in more cases than right-clicks...at least for me.

More things come to mind like persistent tray icon, options dialog etc, but that's beyond the scope of this issue.

RBTray causes framerates to tank in some(?) games.

Hi

So love your app. Lightweight low impact etc... problem is there seems to be some issues with it and games. The only game I have had this particular issue on so far is PUBG, but I don't have many games to try it on so I very much suspect there are other games that are affected. I believe I didn't have the issue with Fallout 76.

Basically with RBTray running in the background, as soon as you move the mouse in the game, the framerates tank. Soon you stop moving mouse, everything reverts to normal.

Another 'feature' of this bug is that when you hold the mouse button down and move the mouse, the stuttering doesn't occur.

I tried updating Riva Tuner to the latest version as per this thread: #13 but the issue is still present. Problem still occurs when you remove Riva Tuner from the equation.

Would be great to find a resolution. Thanks.

Opera browser minimizing problem

H! The best minimizing application have problem with minimizing the Opera web browser.
Opera window can not be minimized to the system tray by:

  • Right-Clicking its minimize button
  • Using the Windows-Alt-Down hotkey
    Works only:
  • Shift-Right-Clicking on its title bar
    Thanks!

RBTray doesn't support Whatsapp APP

Thank you for still maintain RBTray, using it over 5 years..

I would like to inform a problem with WhatsApp application in windows 10.

The new key "Window+Alt+Down" works in WhatsApp app. but the right click in the WhatsApp application doesn't work.

I have always used this program in all these years because RBTray never support WhatsApp.

I had the strength to write this to finally stop using a specific program for WhatsApp to send to tray and in the future work only with RBTray <3
https://github.com/D4koon/WhatsappTray

Also, the fans are requesting it years ago; I have attached a picture showing a review from sourceforge
https://imgur.com/wOwRel1

Thanks I hope your answer!

How to minimize to tray from cmdline?

Is there a way to start a program (with parameters) and minimized it immediately to SysTray by using RBtray?

if not: This feature should be added.
It should look like similar to

RBtray -minimize "D:\mytools\sometool123.exe -parm1 AAA -parm2 BBB"

Thank you
Claudia

Is it possible to select the left mouse button as Minimize?

Hello.
Tell please, can you add this feature? For example, I want Mozilla Firefox to be minimized to tray not by the right mouse button but by the left mouse button. Reassigning the mouse button to the left in some applications.

Regards.

Feature request: Start command minimized to system tray

I have a primitive little network monitoring script that currently runs minimized at startup. I want to get it off the taskbar. Rather than run as a hidden task scheduler job which deprives it of desktop UI notifications, I would like to simply be able to run 'rbtray X' where X is an arbitrary command line that I can specify (in this case run a batch file). This would get the script out of the visible UI until an event triggers an alert.

I see a lot of requests for "start in tray" questions online so this new enhancement might be popular.

From a glance, all that seemingly needs to happen is a method to pass the command line arguments into an exec() call of some sort, grab the window handle created, then send that handle the minimize to tray windows message.

To me, ideally this behavior would take over the left-click minimize behavior of the window and would minimize it back to the notification area with no right-click required.

Password protection

Is it possible to add a feature to password protect minimized windows?
Want to add a password to prevent maximizing of windows, I don't know if this is something that can be done or if it is easy to implement. I don't care for the encryption of the password on my machine, I just want a simple password prompt whenever I try to maximize a window minimized with RBTray, password can be in plain text for what I care for this particular case, obviously other ppl may think different but I'm just saying in case this is doable and so you don't have too much of work on adding encryption and such.

Thanks.

Don't allow me to hide my Desktop or Taskbar using new shortcut

I can (accidentally) hide to tray my dektop with the new realease (WIn+Alt+Down) which can become annoying.

I accidentally hid my taskbar (hence, my "tray") and the only way for me to get it back was to end the task "explorer" and restart it.

Can you make that new shortcut not work on Desktop/Taskbar.

(Windows 10)

Minimize to tray, from script

I've seen this feature suggested on Sourceforge, but no answers. And haven't seen it mentioned on Github so figured I would.

start /min program.exe runs a program in a shell minimized, but it'd be great to hide it even more by minimizing to tray, like RBTray does.

Could RBTray do this, or do you experts have any suggestions for how to do this without RBTray?

[Feature-Request] Command line utilities

Like:
-When doing rbtray.exe --restoreall it restores all the windows.

  • when doing rbtray.exe --sendtotray -bypid <PID> it sends the window by that PID to the tray.
  • When doing rbtray.exe --sendtotray -byname <name> it sends the window by that name to the tray.
  • When doing rbtray.exe --restore <name> it restores that window.

I know there can be some problems with this since there can be multiple windows in the same process and other things. But I would like something like that so I can use something like ahk to restore the windows or just the plain terminal.

Support disabling/changing hotkeys

I could see myself running into hotkey conflicts with other programs . Can you make Win-Alt-Down changeable or at least the ability to disable it ?

Stay On Top Feature Request

Could you add a feature where right clicking on the maximize button toggles the window to stay on top. As in if its already in stay on top mode it disables it and vice versa?

Unable to Run Application on Windows 10

RBTray appears to not work on Win10 system. Tried both 32 and 64 binaries with no success. No problem with the original RBTray (2011 version)

image

System Details:
OS Name Microsoft Windows 10 Home
Version 10.0.17134 Build 17134
System Manufacturer Gigabyte Technology Co., Ltd.
System Type x64-based PC
Processor Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz, 3400 Mhz, 2 Core(s), 4 Logical Processor(s)

Doesn't work with Adobe Programs

Namely Photoshop and Illustrator, the problem sources from the fact that Right clicking minimize in those programs performs the same action as Left Click.

Can't interact with both admin and non-admin windows

Due to UAC, applications can only interact with other applications on the same access level.

When RBTray is ran as administrator, it can perform its functions on windows that have been ran as administrator, but no other windows.

Similarly, when RBTray is not ran as administrator, it can perform its functions on windows that are not running as administrator.

Minimized Programs have tray icon hidden

I know you're not the author but you seem to have a dev environment setup to build this.

Could you (pretty please :-) )add an error check for Shell_NotifyIcon() failure and not hide the window in this case (eg don't call ShowWindows(SW_HIDE)).

People (including me) are experiencing "lost" windows that get hidden with no tray icon under Windows 10.

see https://sourceforge.net/p/rbtray/bugs/28/

New Alexa App Partially Minimizes to Tray

The app works perfectly except for the new Alexa PC App. It partially minimizes to the tray but leaves the icon on the taskbar. When I click on the icon on the taskbar, it will not maximize. Meanwhile, there is a generic application card that appears in the system tray. It has the tag Alexa when I hover, but no Alexa icon. When I click on it, it operates successfully.
AlexaPartiallyMinimized

Groove Music

Unable to minimize Windows app Groove Music to tray. Icon goes to tray, my main app remains in taskbar.
2019-11-12 12_27_09-New Issue · benbuck_rbtray

Right click on Close button to minimize

Hello! Is it possible to change (or to add) the method of minimizing to right click on close button of the window? If I can change something in the source code by myself, what should I do?

Does not work with command prompt

It would be awesome if somehow command prompt minimizing to system tray will also work. This is invreasingly important as many of dev servers are actually working in command prompt

Thank you for working on this program.

It's not a minor fork, it's a brilliant one.

Thanks for those shortcuts.
Finally i can use RBTray in combination with
Opera (to listen to music in a background tab).

Thank you for keeping this project alive.

Feature Request: Minimize Certain Apps Automatically

Hi Benbuck,
Is there any way to add a list (maybe from a config file) of apps that will automatically be hidden upon starting? Maybe also an option to have them automatically hide them instead of minimizing?
Thanks so much!

rbtray not working with msra win 10 190318362.30

error

hello,

did not have any issues with rbtray till today, on previous windows versions all was ok :) , after the upgrade to win 10 190318362.30, the MSRA.exe tool is giving this error

any ideas? (if i end task rbtray.exe, the tool starts correctly, if rbtray is active the error persists, and reappears after any ok pressed like in the image

\rbtray\64bit\RBHook.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000428.

Feature Request: Minimize Whitelist

Hey, I don't see an issue template or any duplicates, though apologies if I'm missing something. I'd like to request a feature that I think (hope?) should be simple:

When an application whose path/name are on the whitelist is minimized normally, minimize it to tray. I'm not asking for a UI or anything, a txt or ini file formatted something like:

whitelist.txt

"C:\Program Files\Vendor\application.exe"
"C:\Program Files\Other Vendor\application2.exe"

...should work fine, in my mind. And then when an application that is on the whitelist (parsed at launch of rbtray.exe is probably fine) is minimized, that application minimizes instead to tray.

I'm thinking this should not be too much work, and it's a feature in other things that affect specific windows, but I might be underestimating the work. I'd take a crack at it myself, but it's been years since I've programmed in any C-family languages. If it's too much work (and believe me, I understand), I may try my hand at it anyhow and send a pull request if I'm successful, but no promises. 😅

Looks like 32/64 bit builds are in wrong location

When I first downloaded RBTray it was giving me issues so I did a little peeking at the bits and a PE header snooper app I use, TrID by M. Pontello is telling me the 32-bit files are in the 64-bit folder and 64-bit files in the 32-bit folder here :P

Could be wrong, but running the "32-bit" version resolved issues I was having and I'm running 64-bit Windows 10. Trid is usually pretty accurate identifying PE signatures.

32-bit files:
Collecting data from file: C:\Util\Startups\RBTray\32Bit\RBTray.exe
43.5% (.DLL) Win32 Dynamic Link Library (generic) (6578/25/2)
29.8% (.EXE) Win32 Executable (generic) (4508/7/1)
13.2% (.EXE) Generic Win/DOS Executable (2002/3)
13.2% (.EXE) DOS Executable Generic (2000/1)

Collecting data from file: C:\Util\Startups\RBTray\32Bit\RBHook.dll
64.6% (.EXE) Win64 Executable (generic) (27638/28/4)
15.3% (.DLL) Win32 Dynamic Link Library (generic) (6578/25/2)
10.5% (.EXE) Win32 Executable (generic) (4508/7/1)
4.6% (.EXE) Generic Win/DOS Executable (2002/3)
4.6% (.EXE) DOS Executable Generic (2000/1)

64-bit files
Collecting data from file: C:\Util\Startups\RBTray\64Bit\RBTray.exe
50.0% (.EXE) Generic Win/DOS Executable (2002/3)
49.9% (.EXE) DOS Executable Generic (2000/1)

Collecting data from file: C:\Util\Startups\RBTray\64Bit\RBHook.dll
50.0% (.EXE) Generic Win/DOS Executable (2002/3)
49.9% (.EXE) DOS Executable Generic (2000/1)

notifications

would really like to have notifications pop up and make a sound (like when the app isnt on the tray), instead of just silently appearing on the notification panel.

Does not work with Webstorm 2020

Was working on 2019 and previous. Win+Alt+Down puts a Webstorm icon in the systray, but does not minify the window. The systray icon disappears on mouseover.

Version 2020 changed the titlebar of the Window; there is now an integrated menu and titlebar.

Disable hooking to certain applications

While trying to play Halo MCC and having RBTray open it conflicts with EAC and stutters whenever you move the mouse.
Could you add a way to blacklist to certain applications?

Thanks!

"Exit RBTray" doesn't fully close the program.

I just right clicked on one of my minimized icons in the tray and selected Exit RBTray. Naturally, I thought that the program had closed, so I tested to confirm, and it had indeed closed.

I tried to launch the program again and got the message: "RBTray is already running"

So I tried minimizing a tab to tray and it doesn't work.

Did some digging... RBTray doesn't fully close when I hit Exit RBTray and just creates this endless loop of trying to open the program until you manually kill the task.


Steps to reproduce:

  • Start RBTray
  • Hide a window to tray
  • Right click that icon in tray and select Exit RBTray
  • Confirm it is closed by trying to minimize a window
  • Try reopening RBTray
  • Kill the task from taskmanager / cmd_
  • Repeat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.