console2 - how to make it fullscreen? - console2

Is there any way to make console2 go fullscreen? I edit settings and increase window and buffer size but when I restart settings are reset to 63 rows in window size.

I've found that the maximise button is disabled, but you can get around it by setting Run option of the executable's shortcut to Maximised.
Better yet you can hide the window title bar in Console2's settings (Appearance > More... > Caption).
Here's the final result:

So, I've found this fork of Console2 which is amazingly better, it's called ConsoleZ:
https://github.com/cbucher/console/wiki/Downloads
Besides the maximization, it provides find in tabs, fullscreen mode and split tabs. Totally worth to check it out, IMHO.
EDIT
Forgot to mention, you can just download and replace the binaries, and all your configurations will be kept, as far as I've perceived.
[]'s

OK I managed to do it on win7 but still no luck on XP. This is how I did it.
In Settings→Behavior, check the Initial position checkbox and left the X and Y as default 0
Restart console
After restart, resize window dragging the borders to fill whole screen
Restart again
In Settings→Appearance→More uncheck Caption and Border
I don't know why just entering rows and columns doesn't work. One has to resize the window and restart.
On my screen with this font it is 62 rows (with space left for tabs on bottom) and 238 columns. I have 24" monitor. I set font to be Consolas size 11.

You can change the number of rows to change tab settings.
Click "Edit"->"Setting"->"Tabs" and click "Add" button. Then, the new entry which name is "Console" appears in the tab name list. In the main tab menu on the bottom, input these two parameters in the fields.
Title: Cygwin
Shell: C:\cygwin\bin\bash.exe --login -i
At last, move up the "Cygwin" entry to the top and restart console2. Now you can change the number of rows.
The detail how to configure tab settings is here.
https://openshift.redhat.com/community/blogs/upgrade-cygwin-to-console2-and-improve-the-productivity-of-openshifts-rhc-client-tools-on-wind

In order to make Console2 have the desired window size (even when opening a new tab which generally causes the entire app's window to resize to smaller), do the following:
View -> Console Window
In the console window that pops up, right-click its title bar and select Properties
Set the window width/height and buffer sizes as you like and click OK
Cheers

I founded a small program called, sizer 3.34, that configure the window size of every program window you have.
When installed, it apears at the popup menu, when you click with the secundary mouse button at the top bar of a window. It allows you to config the three size profiles it has, and to add one, or more, if you want.
I think is a good solution for this issue (and for another programms that would have the same problem).
Reggards.

Related

RStudio Default Workspace (Window Panes)

Somehow, a few weeks ago, my RStudio window panes shifted. I really hate how only 3 window panes are shown. Can anyone tell me how to the default where all four windows are shown all times and the console on the bottom left?
This is how mine looks right now:
Try selecting the drop down arrow near the four-pane button in the menu bar. Select show all panes and console on left. Then resize the pane by grabbing the edge and dragging or toggling the minimize buttons on/off. Hope this helps.

Windows 10 thin scrollbars - but not in all apps?

Windows 10 (April Release 1804) introduced "thin" scrollbars, similar to macOS. But it looks like they only apply to certain apps (like "Settings"), but not to "File Explorer", "Firefox" or "MS Edge".
Am I missing something? Are there really two kinds of scroll bars?
Is there any way to control that behavior with HTML/CSS/JS?
You could change the Scroll Bar Width to be Thinner by changing the Registry, please refer to the following steps:
Open Registry Editor (regedit.exe).
Navigate to the key below in the left pane of Registry Editor. (see screenshot below)
Computer\HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
In the right panel of the WindowsMetrics key, double click the ScrollWidth string value to modify it. Enter a value between -120 (thinner) to -1500(thicker) for what you want, then click OK button to save the change.(screenshot as below)
Double click the ScrollHeight key, and enter the value (between -120 (smaller) to -1500 (larger) for what you want), click the OK button to save the change.
Close the Registry Editor, restart the Computer.
Edit:
Is there any way to control that behavior with HTML/CSS/JS?
I don't think we can modify it with HTML/CSS/JS, because it is the browser or windows behavior. If you want to change the html element's scrollbar with, you could use the CSS scrollbar-width property.

set presets with gTile gnome shell extension

I'm trying out a 43Inch screen and I'm using the gnome shell extension gTile, and I can't figure out how to:
have a preset to bring all windows to center with predfined dimensions, i.e. 70%x50%
have a hotkey to bring the current window to center with same predefined dimensions
have a hotkey to set all windows in right or left column, i.e. devide the screen in half.
Any ideas how to go about it?
The built in decsription doesn't tell me much:
Thanks in advance!
is not implemented, 2. is a standard gTile functionality with preconfigured hotkey Super-Alt-5. 3. There is autotile in multiple columns, you need to autotile in 2 columns. Super-Enter to activate gTile, then 2 (means press 2).

Increasing font size in RStudio

On my MacbookPro, I can hold the command button down, then hit the +/= button and the fontsize increases in each and every panel, making it easier to read from a distance for my students viewing on our Smartboard.
How is this same thing performed on a PC Windows machine?
Ctrl++, and
Ctrl+-
More keys might be necessary to generate +/- (for instance, for me Zoom In is Ctrl+Shift+=).
Other notes:
You can also zoom in using the View menu
See a list of keyboard shortcuts with Alt+Shift+K (recent versions of RStudio only)
Tool --> Global Options --> Appearance --> Then you can adjust the font size at the right panel

Window flags not helping in mdiarea in Qt

I am using Qt and creating a GUI with multiple sub windows. I am using MDI Area for the same. I want to hide the top toolbar of mdi subwindow but using window flags is not helping.
I have tried writing the code as follows. First I tried for mdiarea and then for subwindow but neither worked.
mdiarea.setWindowsFlags(Qt::FramelessWindowHint);
subwindow.setWindowsFlags(Qt::FramelessWindowHint);
I have also tried using Qt::CustomizedWindowHint but even that is not helping. Please help me with this.
Thank You.
Try this:
mdiArea->addSubWindow(new QLabel("Qt::FramelessWindowHint"), Qt::FramelessWindowHint);
You don't want to set the MDI area itself as a frameless window, because it's a widget you likely have embedded in another window... it most likely already doesn't have a frame.
Your setting the 'subwindow' should work... but addSubWindow(myWidget) actually wraps the widget passed in in the real subwindow, so that's what was going wrong. Qt lets you pass in window flags as the second parameter of addSubWindow() and those flags go to the real subwindow.
Note that with a frameless window, you can't drag the window around to move it, or grab the edges to resize it, because there's nothing for you to grab onto!
If you just want the minimize and maximize buttons gone (but still want the close button), try passing Qt::Dialog instead.
Try also experimenting with these:
addSubWindow(new QLabel("Qt::Tool"), Qt::Tool);
addSubWindow(new QLabel("Qt::Tool|Qt::CustomizeWindowHint"), Qt::Tool|Qt::CustomizeWindowHint);
addSubWindow(new QLabel("Qt::Dialog"), Qt::Dialog);
I think Qt::Tool|Qt::CustomizeWindowHint is probably the best option (no buttons, but still movable and resizable - if you don't want it resizable, give it a fixed size (setFixedSize()).
Edit: Also try: Qt::CustomizeWindowHint|Qt::WindowTitleHint

Resources