

#Geany download install
Install Guake and make it run on start-up:Īctivities (top-left corner) -> Startup Applications Preferences -> Add -> set name and command as guake.Hide Toolbar and Sidebar by unmarking them in View.Restart geany (or your PC) or run source ~/.bashrc to trigger the change. In the same file, add a line ulimit -s 2000123 to set the stack limit to around 2GB. Open a file ~/.bashrc and uncomment a line #force_color_prompt=yes in order to get colorful terminal in Geany.If you get compilation errors, try changing from c++17 to c++14 and/or removing sanitizers (two fsanitize flags). Open any C++ file in Geany, go to Build -> Set Build Commands and copy my flags.Ĭompile (F8): g++ -std=c++17 -Wshadow -Wall -o "%e" "%f" -O2 -Wno-unused-resultīuild (F9): g++ -std=c++17 -Wshadow -Wall -o "%e" "%f" -g -fsanitize=address -fsanitize=undefined -D_GLIBCXX_DEBUG.(optional) In Editor > Display, unmark Stop scrolling at last line and Long line marker Enabled. (optional) In Editor, change Comment toggle marker to an empty string or a single space.Ħ.6. (optional) In General -> Miscellaneous, unmark Beep on errors.Ħ.5. Terminal will now automatically change a path after you open a new file.Ħ.4. In Terminal tab, mark Follow path of the current file.

In Keybindings tab, set Switch to Editor as F1 and confirm overriding, then Switch to VTE as F2 (VTE is built-in terminal).Ħ.3.

Open terminal in Activities or with ctrl+alt+T.Ħ.2.Install Ubuntu from your USB, preferably alongside the current OS (like Windows).Create a bootable USB with or any other software.My favorite IDE is Geany and it's perfect for short codes in CP, but I don't recommend it for work and big projects. For competitive programming, I use Ubuntu (a popular free Linux distribution) dual booted alongside Windows.
