I m on Raspberry pi running Raspbian.
The standart terminal is LXDE
I m fine with it, but the panel bar pop up upon the video I m playing.
Is there a way to disable it, it would be perfect if it can also be restarted after the video stop running (from a script).
The only answer I found is to use
pkill -9 lxpanel
But I also found that kill -9 is highly unreccomanded, also is p command.
Edit the configuration file of the panel :
sudo nano /home/pi/.config/lxpanel/LXDE-pi/panels/panel
At the very top of the file, in the General section, you can modify these parameters
autohide=0
heightwhenhidden=2
You can replace them by
autohide=1
heightwhenhidden=0
if you want it to completely disappear
You can set the panel to auto hide.
Right click on the panel, and you'll get this menu.
Select Panel Settings and you'll get this dialog.
Select Minimise panel when not in use
Related
I have the following situation.
I cannot change launch Dart configurations anymore since the button is missing.
I think I hid it by accident but I cannot make it appear anymore.
Launch.json is still accessible but the button has disappeared.
Any help is appreciated, I don't really want to reinstall VS Code and I don't think it would help.
An alternative, if anyone else is facing this: If you right-click the gear and check "Start debugging" then that should bring it back. Despite the name, it won't actually start a debugging session!
I've found out how to restore the button's position.
Type the keyboard combination to start a Command (e.g.Command + Shift + P on MacOS) and run the command View: Reset All Menus.
This'll make the hidden view reappear.
The option to hide it is called Hide 'Start Debugging' and it cannot be found in the settings, so you have to reset the views to make it reappear.
if resetting the menu from command option by pressing: Ctrl + Shift + P and typing the command View: Reset All Menus may work. In case it didn't I suggest you to open a seperate command line i.e CMD or Terminal in VS Code itself then typing the command Flutter Run may help. Also you can press in the terminal R to hot reload your flutter, dart app.
This seems quite basic, but I can only seem to create vertical splits in vs code, and would like to be able to create horizontal but don't know what the command is to do so.
I have tried looking through the commands prefixed with Terminal: , but don't seem to have anything that will create a new terminal in a horizontal split. The command that I'm using to create a new terminal is Terminal: Create New Integrated Terminal
open a first terminal, then a second one, then right click a terminal: "move to editor area".
Configure default terminal location
In theory you can configure the terminal location, using Workbench > Panel: Default Location:
The setting ID is workbench.panel.defaultLocation
The JSON is:
"workbench.panel.defaultLocation": "left"
That doesn't work for me. Sounds like a bug.
Work-around
To work around this you can:
Pull up a terminal with Ctrl'
Right click on the TERMINAL tab
Select either "Move panel left" or "Move panel right"
Click into the panel
Hit CtrlShift5 to split the terminal
You now have two terminals, one above the other
I have also found that changing the alignment of the terminal panel can give some more width and prevent crammed text in a narrow terminal column. To do this go into the VSCode menu...
View -> Appearance -> Align Panel -> Justify
This will place the terminal below everything and give extra width because it is no longer crowded by the Primary Side Bar.
On the terminal panel click on Configure Terminal Settings
On the next screen change Default Location to editor
Now if you create terminals it will create it in editor window
Use tmux and use ITerm.app in your configuration
If you're like me and your cat walked on your keyboard and opened a split terminal somehow, you can close it by right clicking the split piece and select Kill Terminal.
in VSCode is it possible to open the terminals in a separate window?
So far my research has pointed to a resounding NO but Im curious if anyone has a solution?
Move terminals between windows
It's now possible to move terminals between windows by detaching via
Terminal: Detach Session in one and attaching to another with
Terminal: Attach to Session. In the future this should help enable
cross-window drag and drop!
Lots of changes in v1.58: https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_58.md#terminals-in-the-editor-area
For v1.59 moving the terminal changes - including dragging and dropping onto another window, see https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_59.md#drag-and-drop-terminals-across-windows
Drag and drop terminals across windows
Drag terminals from the tabs
list or editor area of one window into the tabs list, editor area, or
panel of another window.
Terminals in the editor area
Terminals can now be created in or moved to the editor area, enabling a multi-dimensional grid layout that persists and remains visible regardless of panel state.
To use terminals in the editor area, there are several options:
Create via the Create Terminal in Editor Area command.
Move a terminal from the panel to the editor by dragging and dropping from the tabs list.
Running Move Terminal into Editor Area with a terminal focused.
Moving into the editor area via the terminal tab context menu action.
The new terminal.integrated.defaultLocation setting can be set to editor to direct newly created terminals to the editor area by default.
Please Try:
File > Open New Window
Ctrl+Shift+P > Terminal: Create New Terminal in Editor Area
You can add keybinding to the commands as per your convenience.
i think that the OP wants to create a separate window for the terminal but still have the separated terminal linked to the code editor in the original window (that's what i want too). so that when you run the code in the editor the output is shown in the terminal in the separate window. but if you simply open up a new window of vscode and either open a terminal there or drag and drop the terminal from the original window into the new window, the new terminal is not the same session of the terminal. it is a separate independent unconnected terminal. running the code in the editor does not show output in the new separate terminal. all you have achieved is creating a new unconnected terminal. which you could have just accomplished by opening up a regular terminal window i.e. the one from windows os main menu, no need even to use vscode.
This answer is now outdated. See this answer for instructions on moving terminal panes between VS Code windows. This answer still works but is no longer a necessary workaround.
You can't detach the panes in VSCode, which IMO is a bit of a pain since Visual Studio can detach panes all day long.
There is a workaround though, you can open a new window in VSCode and maximize the terminal pane in that window.
One reason you'd want to do this is to have the Python terminal on a second monitor while still being able to use Python interactively (shift+enter way). Attaching/detaching didn't work for me, nor can you open separate terminals.
What you can do is simply resize your one window across the screen borders! Then right click on the terminal tab/header and click Move panel to the left and voila!
Try Сtrl+Shift+c.
For me, it opens the folder the script is within in a command prompt window.
Create a new window by going to File → New Window.
Open up a new terminal inside of it.
Go to your folder (cd your\projectfolder\path).
And here you are, you have a terminal for your project inside it's own seperate window.
You can change the terminal to be side-by-side instead of below the editor. And then make your window very wide. It is almost as good as having two windows.
Right click on the TERMINAL tab.
Select "Move Views to Side Panel"
Make your window very wide
It seems VS Code allows you to detach the terminal window, but it then will not show the output from the editor of the window you detached it from.
I have spent a while searching, and there is really no workaround other than to just run whatever file you are trying to debug from a separate terminal from the same CWD. This also means you will need to save the file in the window you are editing the file in every time you want to run it. huge pain.
If you are using PowerShell inside the VSCode terminal, why don't you use the PowerShell console from the start menu. It's basically equivalent to using the terminal in separate windows. Hope it helps.Sample
It often happens to me that I want to clear the current output window by using the context menu, but instead of hitting the Clear entry, I accidently hit the Close entry (which is directly below Clear).
How can I get that output window back!?
Via Window/Output/Output I only get the container tab for all output windows. How can I reopen the output window of a currently running application?
Here is solution
First go to service window which is next tab to project tab...
then right click on apache tomcat
click view server log and view server output
In the right bottom edge there are information about NetBeans updates. Left to it, there's the tasks running (building, running application etc). Click on it, right click the process you want and select Show Output.
try Window--> Reset Windows in netbean
Caution: be aware, that all your windows settings are away after that!
I had this same issue recently and none of the other fixes worked. I got it to show finally by switching to the "Services" tab, right-clicking on "Apache Tomcat or TomEE" and clicking "Restart".
Go to the window tab: Then click on Output. This will allow you to place it anywhere on the screen. Or just use ctrl+4
Go to Server tab and Right Click you will see the View Output Log.
Netbeans --> Your Server --> RightClick --> View Output
In NetBeans 7.4,
Under Window menu, click on "Reset Window".
Then NetBeans will disappear and reappear.
At last, after it reappears, click on "Output" under Window menu.
Go to window tab - reset windows - run your program. - then right click on bottom of the tab where program running
Right click on Apache Tomcat under Services window. Stop the server, then start it again...both log and output window will reappear
Just go through "View" and select IDE Log. it will show the output.
If you run the server in normal mode you can recover the log by restarting the main project in debug mode. It seems that NB opens a new server log when the server run mode changes.
If you want to see three windows along with Log
Then go to windows on NetBeans then output and click NetBeans->windows->output.
Next go to service next to you project select server right click on it select server log and server output NetBeans->service(next to you project)->server->View server log and view service output.
I was having the same problem. Currently I am using the version 8.1, First of all go to the window tab, that is just before the tab help. Click on window and there click reset "Reset Window", after that in the bottom right click on the tab where your project runs, right click and select show output.
shorter way:
1-Alt + Shift + R
2-Ctrl + 4
second way:(in menus of netBeans)
1-go to window tab
2-go to IDE tools
3-click on Test Result
4-again in window tab click on Output
I found output option in window Menu.
in Netbeans 7.4 try Window -> Output OR Ctrl + 4
Easy way, just write some wrong code and Run > Build it will show the error in output window.
I tried all of the above but no success, just this one worked.
Servers---AT---right click---start in debugging mode
This question already has answers here:
How to resize the AVD emulator (in Eclipse)?
(11 answers)
Closed 7 years ago.
My question seems to be stupid, but I really could not solve it.
I am using eclipse to develop android applications, but when I run the emulator AVD it has a fixed window size (very huge on my computer screen), so I can't see the rest of the Android screen.
Can you help me?
If the size of the emulator is too big. You can resize it by:
Run > Run Configurations
Pick the "Target" tab
Scroll down to Additional Emulator Command Line Options and put in: -scale 0.8 or another number
Here can help you:
Menu -> Windows -> Android SDK and AVD manager
Choose your AVD then select Edit button
In line Skin you choose HVGA for built-in or custom your size resolution...
HVGA will allow the emulator to fit on your screen.
type this command
adb emu window scale 0.6
Here's what worked for me:
In eclipse, go Run -> Run configurations.
Select the Target tab.
In the Additional Emulator Command Line Options field type -skin 320x480 or some other resolution appropriate for you.
Click "Apply" button.
Click the "Run" button.
I tried the -scale 0.8 option but it didn't work well because although the screen size was reduced, the color looked like 8 bit color... or worse. It was entirely unusable since the flash screen was almost entirely white.
The -skin 320x480 option produced an emulator of an appropriate size with no graphics issues.
Go to Android AVD manager and chose the device.
Click start >> Launch options >>> Scale display to real size >> screen size >> 6
This is simplest one
Go to Run
Open command prompt
Type: telnet localhost 5554 or telent localhost EMULATORID
Then you will get Android console
Type this command window scale 0.7 or window scale <value from 0 to 1>.
And if you are using Windows 7 then you have to first activate your telnet client.
for this follow these steps:
Go to control panel
There is icon named Programs below that Uninstall program is there click on it.
Then click on the turn Windows features on or off at left most to your screen
One list will be pop up just tick on the telnet client
And then click on OK
For testing go to command prompt and type telnet if you will not get error then telnet is working
This will do exactly what you would like to do, which is leave the emulator screen resolution alone while allowing you to scale the emulator window.
Select the menu item Window/Android SDK and AVD Manager/Start
Check Scale display to real size, (you can then set the screen size in inches on this page)
Click Launch.
The skin size the way you want it will appear, no app will be running. Wait for the launch to complete. Eclipse and Windows might not be not happy if you try to start your app during the skin launch.
Start your app (with F11 for instance).
You may get a dialog about attaching to a running emulator. Do so.
For Android Studio (0.6.1 at time of writing):
Click Run>Edit Configurations
Select module you want to alter under 'Android Application' expandable list on left
Click 'Emulator tab
Make sure 'Additional command line options' is selected and type: -scale 0.5
Hit 'OK' and run your app!
A simple solution with Android Studio is:
- launch the adv manager
- Select the emulator line you want
- hit the edit button on the right (a pencil)
- In the middle of the configuration screen that opens there is a Scale radio field - choose the ratio between device and screen that you prefer. I have chosen "4dp on device = 1px on screen" and the resulting size is just what I wanted (using Nexus 5).
- Hit Finish
Run configurations-> target-> Addition emulator command text box
write
"scale 0.6"
(without quotes)
in linux is easy
How do I launch the Android emulator from the command line?
you need to add at the end this "-scale 0.45"
for example: /home/hackro/Documentos/Software/adt-bundle-linux-x86_64-20140702/sdk/tools/emulator64-x86 -avd Android5.1.1 -scale 0.45
I have shortcuts in my menu of the linux and they work well