How to change blue stacks 2 resolution by regedit - regedit

In original blue stacks, users can change the resolution by reg file.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0]
"WindowWidth"=dword:00000500 "WindowHeight"=dword:00000320
"GuestWidth"=dword:00000500 "GuestHeight"=dword:00000320
Is there similar way for BlueStacks 2?

Related

Why are Font Awesome characters not rendered or replaced on my terminal shell?

I'm trying to customize my Ubuntus on both of my computers with i3-wm, polybar and zsh (with oh-my-zsh on it)
I have some issues on one of my computers I haven't on the other one, despite proceeding on the same way and using the same config files for both of them in order to have the same workspace on both of my devices.
On zsh, I'm using the powerlevel10k/powerlevel10k theme I installed on oh-my-zsh to have a more beautiful terminal.
The thing is that the shell is showing nice font-awesome icons like the branch icon when I'm on a git project, or the clock icon next to the displayed time, etc.
This working perfectly on my first computer, but not on the second one. The icons are not displayed, so my terminal is less attractive on it.
I have the same problem with polybar. Some icons are well rendered on one computer, while on the other one, they are not rendered. Sometimes, they're even replaced by strange Asian (I think it's from an Asian language but I'm not sure) characters.
I would like to know why I don't have the same result on both devices and how to fix it on computer 2.
Here is a summary of the used versions:
Ubuntu = 18.04 LTS
i3-wm = 4.18
Polybar = 3.4.0
zsh = 5.4.2
oh-my-zsh = Version unknown
You need to install a capable font and configure your terminal to use it. Since you are using powerlevel10k, it's a good idea to use the font that powerlevel10k recommends.
Meslo Nerd Font patched for Powerlevel10k
Gorgeous monospace font designed by Jim Lyles for Bitstream,
customized by the same for Apple, further customized by AndrΓ© Berg,
and finally patched by yours truly with customized scripts originally
developed by Ryan L McIntyre of Nerd Fonts. Contains all glyphs and
symbols that Powerlevel10k may need. Battle-tested in dozens of
different terminals on all major operating systems.
Automatic font installation
If you are using iTerm2 or Termux, p10k configure can install the
recommended font for you. Simply answer Yes when asked whether to
install Meslo Nerd Font.
If you are using a different terminal, proceed with manual font
installation. πŸ‘‡
Manual font installation
Download these four ttf files:
MesloLGS NF Regular.ttf
MesloLGS NF Bold.ttf
MesloLGS NF Italic.ttf
MesloLGS NF Bold Italic.ttf
Double-click on each file and click "Install". This will make
MesloLGS NF font available to all applications on your system.
Configure your terminal to use this font:
iTerm2: Open iTerm2 β†’ Preferences β†’ Profiles β†’ Text and set Font to MesloLGS NF. Alternatively, type p10k configure and answer Yes when asked whether to install Meslo Nerd Font.
Apple Terminal Open Terminal β†’ Preferences β†’ Profiles β†’ Text, click Change under Font and select MesloLGS NF family.
Hyper: Open Hyper β†’ Edit β†’ Preferences and change the value of fontFamily under module.exports.config to MesloLGS NF.
Visual Studio Code: Open File β†’ Preferences β†’ Settings, enter terminal.integrated.fontFamily in the search box and set the value
to MesloLGS NF.
GNOME Terminal (the default Ubuntu terminal): Open Terminal β†’ Preferences and click on the selected profile under Profiles. Check
Custom font under Text Appearance and select MesloLGS NF Regular.
Konsole: Open Settings β†’ Edit Current Profile β†’ Appearance, click Select Font and select MesloLGS NF Regular.
Tilix: Open Tilix β†’ Preferences and click on the selected profile under Profiles. Check Custom font under Text Appearance
and select MesloLGS NF Regular.
Windows Console Host (the old thing): Click the icon in the top left corner, then Properties β†’ Font and set Font to MesloLGS NF.
Windows Terminal (the new thing): Open Settings (Ctrl+,), search for fontFace and set value to MesloLGS NF for every
profile.
Termux: Type p10k configure and answer Yes when asked whether to install Meslo Nerd Font.
IMPORTANT: Run p10k configure after changing terminal font. The old ~/.p10k.zsh may work incorrectly with the new font.
Note: The content I've copied here can go out of date. To be safe, check the primary source.

SideBarGit missing from Package Install on Sublime Text 2

Also GitGutter's features are not working (icons not showing up).
I am new to SublimeText 2, I did install Package Control 2 and set Git/bin/ to PATH in variables in Windows 8 and it works on command line.
If you look at SideBarGit's page on the Package Control website, you'll see that it's for Sublime Text 3 only.

How to Determine StrokeThickness of Application Bar

I am having trouble determining the application bar button StrokeThickness. I've come as far as either it being 3 or 4 but I need to know the exact value
If you want to recreate the circle used in the application bar buttons you'll find a copy at
"C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Icons\Dark\basecircle.png"

Windows Phone 8 accelerometer simulate knock

I'm playing with the Windows Phone 8 API, specifically with the accelerometer. I don't have a device to publish to, so I'm using the emulator to test my app.
I'd like to simulate knocking the phone, to simulate an acceleration greater than 1G.
I'm calculating the total acceleration like this:
private static double CalculateGForce(double x, double y, double z)
{
return Math.Sqrt(x*x + y*y + z*z);
}
Can I achieve this using the emulator? When I drag the red ball around, I never get G > 1.
The Windows Phone emulator comes with a single set of 'recorded data' called Shake. One idea might be to create your own set of recorded that gives the desired g-force.
Here is a post on how to find the original code for the Shake data, make a copy, then edit/delete/add the values to get the desired motion.
For Windows Phone 7.1
C:\Program Files (x86)\Microsoft XDE\1.0\sensordata\acc
For Windows Phone 8
C:\Program Files (x86)\Microsoft XDE.0\sensordata\acc
And as the post mentions, 'offset' is the time between changes so you'll want small offsets and larger changes between sets of X,Y,Z values.
<AccData offset="1" x="-00.08400000" y="-01.02100003" z="-00.41700000" />
<AccData offset="5" x="-00.14200000" y="-00.95099998" z="-00.39700001" />

Gnome 3 displays two icons for same app in dock

I have created my own .desktop file for an application (sublimetext) in gnome 3 (fedora 16) I have succeeded in that:
[Desktop Entry]
Version=1.0
Name=Sublime Text 2
Comment=Text Editor
Terminal=false
Exec=sublime
Icon=/home/asher/apps/SublimeText2/Icon.png
Type=Application
Categories=TextEditor;Tools;
X-Ayatana-Desktop-Shortcuts=NewWindow
[NewWindow Shortcut Group]
Name=New Window
Exec=sublime
I want to add it to my favorites so it's locked to the sidebar. I did that, as you can see in the first screenshot, where no windows are open. The problem is, when I then open the program, another icon displays in the dockbar. The second icon is where the windows for the program are listed. The windows are consolidated to one icon, as you can see in the third screenshoot with two windows open (only two icons, not three).
Is there a way to make the favorited icon be the same as the icon that shows when the app launches? Does it have to be done in the program, or is this something I can do through a gnome 3 config file?
there's nothing wrong with your system.
The duplicated launcher icons explained:
The different icons are different commandline options. Some context applications with call the associated *.desktop icon. The exec option of the icon will depend on how the application is called.
Some of the Icons you show in your image may be obvious because of the difference in the way they are named. You can see the difference in the way the app is called by right clicking and clicking on properties to see other differences.
Some of the *.desktop files have a %U argument, used so the application will accept arguments.
Some of the Launchers are different commands that are called differently and are named differently often by a symbolic link.
Some exampes from the list in you image are:
Name: Online Accounts
Command: unity-control-center credentials
Name: Online Accounts
Command: Online account credentials and settings
Name: Personal File Sharing
Command: gnome-file-share-properties
Name: Rhythmbox
Command: rhythmbox %U
Name: Rhythmbox
Command rhythmbox-client --select-source %U
Source: link