Images or files in GNU Smalltalk?

I'm new to Smalltalk. I think I understand the basics of the language and now want to start with GNU Smalltalk (as it's free and has bindings for GTK). As I'm coming from the PHP and Java-Corner,...

compiling vim with python support

I'm trying to compile Vim 7.2 with Python 2.5.1 support, but I'm having some trouble. I run configure which seems like it is working as expected ./configure --with-features=huge...

How to have drag-and-drop and sorted GtkTreeView in GTK3?

I am porting liblarch, a library for handling directed acyclic graphs, from PyGTK (GTK2) to PyGObject introspection (GTK3). I ran into the problem with GtkTreeView. The app using liblarch needs to...

VIM GTK-UI font

The vim manual states: On systems where 'guifontset' is supported (X11) and 'guifontset' is not empty, then 'guifont' is not used. Spaces after a comma are ignored. To include a comma in a...

Which, if any, achieves Windows native look: GTK+, wxWidgets, Qt, FLTK?

I need to write an application that will be visually indistinguishable from something written natively for Windows XP/Vista/7 using whatever comes by default with the most modern Visual Studio....

ultisnips expand not working and I can't figure out why

I removed practically everything while troubleshooting. Vim opens without error, :UltiSnipsEdit works but when I enter snip<tab> an actual tab is entered. My current vimrc. The configs have...

vim: Could not load library libpython

I don't get vim to work with python support. I compile vim 7.4.972 with the following configuration: ./configure --enable-shared --with-features=huge --enable-multibyte --enable-cscope ...

Disable Highlight Matched Parentheses in ViM : "let loaded_matchparen = 1" not working

How to disable auto highlighting of Matched Parentheses (cursor briefly jumping to the matched bracket, when a new bracket is inserted) in ViM? When I faced this issue in my earlier company, then...

Visual block edit in vim

I have refer to this post to use block editing in vim. But when I key I or c after the block select, vim enters the normal edit mode just as if I pressed a i. I also found, when block is selected,...

%matplotlib inline doesn't work on iPython and Jupyter console

I'm trying out Jupyter console for the first time, but can't get the %matplotlib inline magic to work. Below is a screenshot of an example session: [![The window is a result of Line 6, and Line 7...

Bash script to Stow Linux configuration files not working with files in root of home or existing folders

Basically, I am trying to use GNU Stow to easily sync my dotfiles / config files to my home directory. Each config is stored in a named folder relative to my home directory. For example,...

Sublime text 3 settings doesn't reloads until restarting it

Sublime text 3 doesn't refreshes the folder tree or the reflects the output file changes or reflects the changes in the settings immidiately. I have c++ build system setup on sublime which takes...

"+ register cannot work in vim with clipboard support

I guess my question may be similar to https://stackoverflow.com/questions/18385084/vim-system-register-and-not-working but my server version is ubuntu. And I'm sure the installed vim has clipboard...

vim 8.1 - garbage printing on screen

Often when I open vim some garbage gets printed on the screen of the below sort: ^[[2;2R^[]10;rgb:ffff/ffff/ffff^G^[]11;rgb:0000/0000/0000^G I'm unable to figure out why. Sometimes, it's on the...

Docker build of Ubuntu 16.04 image fails - Connection failed, returned a non-zero code: 100

System details: macOS High Sierra IPv6 disabled Personal network (No corporate network, firewall, proxy etc.) Following is the Dockerfile: FROM ubuntu:16.04 RUN apt-get update && \ apt-get...

How to use bear with make to auto-create the json compilation database?

I'm using vim with YouCompleteMe (YCM) plugin for C programming. YCM needs a json file to show code completion suggestions or a manually crafted .ycm_extra_conf.py file. Build systems like cmake...

VIM, how to prevent indent on next comment line (Tcl file mode)

When I type a comment in my Tcl code, like so: # Foo And then hit Enter, I get this: # Foo<Enter> # <cursor_here_now> I want it to do this instead: # Foo<Enter> # <cursor_here_now> Or: #...

vim crashes in directory with *.py files

When I try opening vim from the command line in a specific directory, it crashes with this message: vim Vim: Caught deadly signal ABRT Vim: Finished. Aborted (core dumped) After that, my...

How to run gui apps like gvim from docker container

To play around with a docker image, I installed docker and ran a sample docker ubuntu image as follows. (I hope I am using terminology correctly, still a docker noob) docker run -it ubuntu Because...

How to build and debug a MSYS2 / MinGW64 / CMake project in Visual Studio 2017?

I have successfully built a C++ project using MSYS2 / MinGW64 / CMake tools. Now I would like to edit it and debug it in Visual Studio, as it is a nice IDE and the default development tool in...

upgrading ruby in a transparent way

I'm trying to upgrade my ruby from the one installed by package manager 2.5 (currently) to 2.6 using snap. this is how i'm doing this sudo snap install ruby --classic /usr/bin/ruby is symlinked...

Changing a Dockerfile from CUDA9 to CUDA10

I need to change the Dockerfile below, coming from pytorch_geometric (a popular PyTorch package), from CUDA9.0 to CUDA10.0. FROM ubuntu:16.04 RUN apt-get update && apt-get install -y...

How to open a desktop entry as root?

I have a desktop entry placed in usr/share/applications that runs a Java jar and looks something like: [Desktop Entry] Encoding=UTF-8 Exec=pkexec /usr/bin/java -jar...

Docker + Java + OpenCV, no opencv_java342 in java.library.path

I am trying to generate a docker image with the following characteristics SO --> ubuntu:18.04 Java --> openjdk-11-jdk OpenCV --> 3.4.2 version I am able to generate the images successfully but...

Error 'E514: write error (file system full?)' when editing /dev/ttyUSB0 latency timer

when I try to edit the latency_timer of /dev/ttyUSB0 on my laptop I get an error. Here what I do: $ sudo vim /sys/bus/usb-serial/devices/ttyUSB0/latency_timer When editing 16 to 1 and saving, I...

WSL 2: Run Graphical Linux Desktop Applications from Windows 10 Bash Shell "Error E233: cannot open display"

How to run graphical Linux desktop applications from Windows 10’s Bash Shell? First, I installed Windows Subsystem for Linux (WSL) following steps as shown in here as follows: (1) Installed...

vim: termguicolors with xterm-true-color still causing problems

I have seen a multitiude of posts where not enabling 'tgc' with : if exists('+termguicolors') let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum" let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum" " let &t_8f...

Strange character since last update (>4;2m) in vim

I've recently update vim on ubuntu, and since then, a strange character keep appearing at random time at my cursor place. It seems to appear when I do nothing for some seconds. The character is...

copy/paste using wsl tmux ssh vim

The main goal is to have a really really global copy/paste system using wsl+tmux+ssh+vim. I need to work with Windows with WSL inside I start the Tmux inside tmux I start creating some windows,...

how to program in C with lib gtk in vim with coc-clangd?

I copied the "Hello world" code from the website of the GTK project and pasted it into Vim with the environment to develop in C properly configured with coc-clangd. However, several errors are...