Skip to content

Instantly share code, notes, and snippets.

View aleksseven's full-sized avatar
👁️
Learning

Alex Sanchez aleksseven

👁️
Learning
  • NEM
  • Tarma-Lima
View GitHub Profile
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -iconic &
dbus-launch --exit-with-session gnome-session &
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
export XKL_XMODMAP_DISABLE=1
#export XDG_CURRENT_DESKTOP="GNOME-Flashback:Unity"
##si export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME"
##si export XDG_MENU_PREFIX="gnome-flashback-"
#export GNOME_SHELL_SESSION_MODE="ubuntu:GNOME"
GNU nano 4.8 /etc/systemd/system/[email protected]
#[Service]
#Type=forking
#User=alex
#Group=alex
#WorkingDirectory=/home/alex
#PIDFile=/home/alex/.vnc/%H:%i.pid
#ExecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1

1. Install with APT.

sudo apt update sudo apt install ruby-full

2. Install using rbenv.

sudo apt install git curl autoconf bison build-essential
libssl-dev libyaml-dev libreadline6-dev zlib1g-dev \

1. Install neovim ruby
gem install neovim
2. Find neovim_ruby_host
find / -iname 'neovim-ruby-host*'
3. Add these line to init.vim.
# BY Alex Sanchez Arellano
set-option -sg escape-time 10
set-option -g default-terminal "screen-256color"
set-option -g focus-events on
set-option -sa terminal-overrides ",screen-256color:RGB"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jimeh/tmux-themepack'
@aleksseven
aleksseven / init.vim
Last active November 27, 2020 09:01
This is my Neovim config
" This is my init.vim config
" BY Alex Sanchez Arellano
call plug#begin()
" Themes
Plug 'crusoexia/vim-monokai'
Plug 'morhetz/gruvbox'
Plug 'robbyrussell/oh-my-zsh'
Plug 'tomasr/molokai'
Plug 'cocopon/iceberg.vim'