Eclipse configuration on linux - linux

I've just downloaded Eclipse IDE for Java Development for linux and I am trying to configure it a comfortable way for myself. I followed this tutorial :
http://flurdy.com/docs/eclipse/install.html
I started from point "Then Eclipse".
However it doesn't work they way I want it to work, I mean I can launch Eclipse from desktop icon now, but when I minimize it I can't get back to it again ( can't reach it with "Alt+Tabing " throught opened applications ), when I click on Eclipse icon after I had minimized it, a new instance of Eclipse is launched and there is a workspace collision . I also have problem with adding it to the desktop bar, where I am used to have all important and often used applications' shortcuts ( I also want be albe to minimize it and then get back to it again by clicking on its icon on that bar ). Here is small screen how it looks like when I try to simply drag & drop the icon from desktop to the bar - the place is filled, but it is not visible. I tried making a link to this icon and drag & drop it on the bar, then the icon is correct, but still it runs new instance of Eclipse :/ . What to do with it in this case?

Related

Visual Studio - Menu Options - Float Right or Left

I clicked on something in Visual Studio 2017 and now all the dropdown menu options are floating to the left instead of the default right. Below is a print screen of how it should look...
But I get something like this, floats to the left ...
I've gone through the options pretty thoroughly but I can't seem to find the option for this. Does anyone know where the option to control this is?
The direction of the menus in Visual Studio is actually controlled by a setting on OS level. On recent versions of Windows, it's pretty well hidden but you can directly run the following in the Windows -> Run dialog (Win+R) to open the settings dialog:
explorer shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
and change the radio button in Tablet PC Settings -> Other -> Handedness to Right-handed.
You can change the horizontal direction that the menus in Visual Studio roll out to by editing the registry as well (useful if the "Other" tab in Tablet PC Settings is not visible on your instance of Windows).
Open the registry (type regedit in the start menu and press Enter).
Navigate to this location:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
If you don't have an entry called MenuDropAlignment, right click and create a new StringValue (REG_SZ) called MenuDropAlignment.
Change the value of MenuDropAlignment to be whichever way you want the menus to open to.
0 = Menus open to right (this is the "normal" way that most people expect the menus to open)
1 = Menus open to left
Once you have finished making this change, close everything and restart your machine.

How can I change the default preview device in Android Studio?

When I'm creating a new project, the default preview device appears as Nexus 4. Is there a way to change it to some other device?
Recently I had the same issue.
It seems that you cannot use a device from the "virtual device" category. That way only the selected layout will be shown inside the chosen device.
In order to change the default device for all layouts you have to choose from some of the other categories (the ones inside the red rectangle):
I have chosen "6.0 1440 x 2560" from "Phone" and all my other layouts changed to this device (before I was selecting "Nexus6_API_29_Android" which was my virtual device, and I had to change it on every layout manually)
Same issue was appearing for me, when I was selecting device for preview from 'Virtual Device'.
To select device which will be default for preview when opening activities choose from these in picture, which are marked in red rectangles.
Change the preview device>>for example: nexus5x or others.
File--Export Setting, then choose a dictionary to save it. For example, I save it on my desktop, next you will see a settings.jar on your desktop.
File-Import Setting, choose the settings.jar.
Android Studio will want to restart itself, click OK
My English is very poor. I'm so sorry.
Maybe it works well. I'm not sure. You can try it.
The top answer covers most cases.
But if you want to use a custom made device you can also click on the Generic Phones and Tablets option, and choose your device from there.
You just need to follow few steps to do this
Step One
Open Any layout file from
App >> res >> layout directory
Step Two
go to the above red marking option
Then you will find the available devices for change
N.B. I am using Android Studio 3.6.2
Go to Run -> Edit Configurations. "Under Deployment Target Options", de-select "Use same device for future launches."
To prevent the same device from being used on subsequent previews, when you create a new project and run it in the AVD, do not select "use the same device."

Visual Studio: CTRL-TAB doesn't always work

This post originally related to "Visual Studio", but affects other similar applications.
There are a number of posts dealing with a problem where the tab navigation panel appears but requires a click etc to dismiss. These seem to be solved by fiddling with the magnifyer, narrator etc. None of these solutions apply to my problem - which is that, in VS2012, ctrl-tab brings up the two-column navigation panel, repeated presses of tab moves through the lists as normal, but, on release of both keys, the focussed tab is NOT changed. With the nav panel displayed, you can click on it with the mouse and the focussed tab is changed as expected.
The issue seems to have arisen after installing VS2012. VS2010 is also installed and oddly now also exhibits the same problem, even though I have never had the problem until now. When you re-start VS, all works fine, but after a time ctrl-tab stops working normally. It has been seen to stop working without doing anything other than pressing ctrl-tab a few times i.e. not going to any other VS panel or doing a build etc.
This is a major problem with productivity as I use this constantly to switch between tabs. I know that I can change the shortcut to switch between documents without showing the navigation panel, but I prefer to see this panel, rather than switching 'blind'.
Does anyone know why this might be happening or how to fix it? I have done a full Windows update (Svr 2008 R2).
NOTE1 - I now see the same problem with a new installation of VS2013 and also in SQL Server Management Studio 2012 - on ctrl-tab you see the two-col panel but whatever you select doesn't change the pane in view (unless you click the panel with the mouse).
When ctrl-tab is not working in the VS-based apps, it DOES continue working in, say, Notepad++, which suggests an MS-VS problem.
NOTE2 - The problem does not exist when you use the on-screen keyboard! It seems that using the OSK causes ctr-tab to work again with the real keyboard, but it breaks quickly when you start almost any other application, but it always works with the OSK. The problem is unrelated to the physical keyboard as I have tried other keyboards.
Thanks

Windows 8.1 - Possible to change tile colour?

Since upgrading to Windows 8.1 from Windows 8 I've noticed the colour of the tiles looks awful, is there a way to change these that is...
Free
Doesn't involve hacking around with registry/XML files
As you can see below my GIT icons are barely visible :(
I don't have a non XML Solution, but the XML solution is quite easy to follow and could easily be converted into a tool.
For example to change the background of the GIT Bash tile:
the shorcut of the tile links to something like: "C:\Program Files (x86)\Git\bin\sh.exe" --login -i (to find the shortcut: right click -> goto location)
Go to the folder of the executable (here C:\Program Files (x86)\Git\bin)
Create a sh.visualelementsmanifest.xml with the content:
<Application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<VisualElements
BackgroundColor="maroon"
ShowNameOnSquare150x150Logo="on"
ForegroundText="light"/>
</Application>
(full spec at http://msdn.microsoft.com/en-us/library/windows/apps/dn393983.aspx)
Update the shorcut file time stamp (e.g. copy file, delete old file)
Enjoy new tile. For example:
In reference to Xyroid's answer which has - so far - received no points, maybe this is because the link has changed / gone.
OblyTile, for those who want a GUI to manage Tile design, works perfectly on my Windows 8.1
The link to this is:
http://forum.xda-developers.com/showthread.php?t=1899865
In particular, the developer has provided much improved icons for some internal windows apps (e.g. Control Panel) where the standard tile doesn't really match the design of the other Modern App tiles.
(I would have just added a comment, but I still need more reputation)!
According to Desktop App Tiles on the Start Screen, the background color of desktop app's Start menu tile is derived from the user's chosen background color, so try changing Start menu's background color.
Also checkout
How to customize tiles (change/bigger icon, change color) for desktop applications in the Start Screen?
How to Create Custom Windows 8 Tile Icons for Any Desktop Program

how to restore the original window intellij layout

Instead of choosing 'Restore default layout' I mistakenly choosed 'Store current as default layout', so my current layout (which I don't want to use) is set as default.
Now I cannot go to original layout anymore. Is there a way to reset the layout to its shipped value?
I'm on intellij 12.1.1, on Windows7.
Layout stores the position and state of the tool windows, you can change it back how you like it and store it as the new default.
There is no GUI to reset layout to the IDE default, but the configuration is stored inside the project directory in ./idea/workspace.xml file. When the project is closed you can delete <component name="ToolWindowManager"> node from this file.
To anyone who is struggling with this "basic" error, you can go to Settings (Ctrl + Alt + S) -> Appearance & Behavior -> Appearance -> Tool Windows and check the following check boxes:
Show tool window bars
Show tool window numbers (optional)
All the others solutions that I have found didn't solve the problem and it is very frustrating that the IDE does not give support to reset the Window to its default.
P.S.: I can't post a screenshot of the settings mentioned above due to security of my company laptop, but it is very easy to find following the path I have written.

Resources