How to rename genymotion device? - virtualbox

My virtual device is called phone 720*1280, I want to rename it to client phone. However cant find a settings for that
if I rename folder inside .Genymobile/genymotion/deployed - device is missing from list of availible devices
changes in field inside phone 720*1280.xml (name, vm_device_name) does not see to make any effect.

I use GenyMotion pretty often, and I, too, was curious about this. I was able to successfully rename one of my GenyMotion VMs by doing the following:
Close GenyMotion completely (may not be necessary, but mine was fully closed when I tried this)
Open VirtualBox (the "Oracle VM VirtualBox Manager")
In the list of virtual machines, right click on the GenyMotion VM you want to rename
In the context menu that appears, click on "Settings..."
Make sure you are on the "Basic" tab of the "General" section
Modify the text inside of the "Name" textbox/text-field to whatever you want
Finally, just click the "OK" button at the bottom of the window.
When you open GenyMotion, you should now see the device listed with whatever name you entered inside of VirtualBox.
I personally tested this on Window 10 64bit, with VirtualBox v5.0.8 (r103449), and GenyMotion v2.5.4. After following the steps above, I was able to successfully rename an Android VM and use it in GenyMotion.
Note: This does also appear to rename the folder. Hopefully that will not be a problem for you.

I tried this,and it worked for me:
xxx.vbox & xxx.vbox-prev in Genymobile\Genymotion\deployed\xxx;
open these two files, you may got this:
Machine uuid=".." name="xxx" OSType="Linux"
just modify the "name" & save, done.

Related

Modifying the Windows Explorer Toolbar with WinApi / c++

My task is to program change sorting parameter of files and folders in my operating system.
In the article on the MSDN:
under
Modifying the Windows Explorer Toolbar
indicated
In addition to modifying the Windows Explorer menu bar, you can also add buttons to the toolbar. And an example code.
But example of this modifying the Windows Explorer menu bar is not there, the only thing is there it's button adding example.
An alternative article has an example of opening it, so my question is: is it even possible, and if it is, how to do it?
The folder sort settings are saved to:
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
The entries look like:
You would need to loop through all of these registry entries and change the 'Sort' key. This would only affect folders which have already been accessed.
If you want to see how these lists are parsed, run ShellBagsView while running ProcMon and log all the interactions with the registry.
To do it, not programatically you can follow these instructions:
https://superuser.com/a/1481763/1043059

Postman won't start on Windows 7

I've been using Postman for a while now. Suddenly though it has stopped working. When trying to open it I get a loading spinner then nothing. No error. Nothing in Event Viewer. Nothing. Although the Icon in the task bar at the foot of the page looks broken or corrupted.
I've tried reinstalling, rebooting, clearing cache - nothing
I'm on Windows 7, 64 bit
Anyone ran into anything like this? :-/
I had a similar issue. The solution that worked for me is to use --disable-gpu flag for postman shortcut C:\Users\<username>\AppData\Local\Postman\<app-version>\Postman.exe --disable-gpu:
More info on Github: https://github.com/postmanlabs/postman-app-support/issues/4594
This issue happened for me when running a remote desktop session, it appears that postman is running but opening off screen. According to this thread
https://github.com/postmanlabs/postman-app-support/issues/2833
This can happen when you add or change a monitor.
There is a solution there - deleting some json files - but I found that I could see the Postman app in Task Manager -> Applications and then bring it up by selecting "Switch To"
I faced a similar issue and found that you need to navigate to AppData\Local\Postman and find the latest installed version folder now change the shortcut path on the desktop in my case it was AppData\Local\Postman\app-7.36.0\Postman.exe I did and it worked :)
postman folder
postman desktop shortcut
I had a similar issue on Windows 10. The application did not show up after opening it. This post helped me:
Hover the Postman icon in the taskbar. Then click the preview window that opens above it.
Press Alt + Space and then M or click "Move".
Move the Postman window with arrow keys, it probably was invisible on the right or left side of your screen.
This problem appeared after working with an external display. When I got Postman back visible, it showed an update dialogue.

Application icon is not getting displayed in control panel add/remove programs

I have a c++ application. The app icon shows fine on the start menu, task bar etc., but not in Add / Remove Programs in the control panel. What do I need to do to fix this?
Control panel add/remove program reads all the programs list from registry.
For XP it's HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
you can take backup of your registry, and remove your program name from this registry.

Change selection in explorer window?

I have a "Show in folder" button which executes the following:
explorer.exe /select,"C:\dir\somefile.txt"
In Win7 this works great, a new window is always opened, but in XP, if "C:\dir" is already open, this window is reused but the selection is not changed to "somefile.txt".
This is not the expected behaviour from the point of view of the user, he expects to see "somefile.txt", but instead sees another file, and that might confuse him. At worst, he might assume that something went wrong and the file was not created.
So I need to somehow force Explorer in XP to always select the file I give it in the cmd line, or not to reuse the window.
Can anyone suggest a way to do this (different cmd parameters, maybe COM automation)?
As I don't have Windows 7, I can't confirm if this works the way you expect on subsequent Windows versions. But on my XP machine:
explorer.exe /e,/select,"C:\dir\somefile.txt"
Works exactly the way I think you'd want by opening a new explorer window each time with the right selection and avoids that confusing behavior you described.

Is there a way to know if the user has enabled "single click to open an item" in the control panel?

My program needs to know when the user has enabled "Single-click to open an item (point to select)" in the folder options window in file explorer. I have a mouse aid program and I need to know what this setting is set to programmatically? Is this available in the registry or something?
I think it's SHGetSettings when fDoubleClickInWebView is false
I found this on Kelly's Korner
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ShellState"=hex:24,00,00,00,13,a8,01,00,00,00,00,00,00,00,00,00,00,00,00,00,\
01,00,00,00,0d,00,00,00,00,00,00,00,02,00,00,00
I don't know which value sets the single click mode, so you'll have to disable it and compare the registry with this string to see which it is.
The same information is on a Microsoft support page, but as it's referring to IE 4 and IE 5 I was worried it was outdated.
There's a reg file you can download, but it appears to be missing the initial open double quote.