PostgreSQL
coub
express.js
freeware
git
jquery
laravel
links
linux
macos
mysql
node.js
php
powershell
python
ubuntu
vim
virtualbox
анекдот
блог
игры
интересно
стихи
цитаты
screen + mc + vim - broken colors in terminal/console
July 19, 2024
Long time ago i've faced annoying issue with colors under screen/tmux.
Googling a lot i've found that i'm not alone with this.
In short, colors in apps under screen (im active fan of this app) are significantly broken. I've changed color schemes, terminal settings like
Finally solution was found here: https://github.com/busyloop/lolcat/issues/117 (thanks a LOT btw)
Fix in my case looks like this:
Googling a lot i've found that i'm not alone with this.
In short, colors in apps under screen (im active fan of this app) are significantly broken. I've changed color schemes, terminal settings like
term "screen-256color" term "xterm-256color", hacks of terminal files ..and so on. That issue killed a lot of time and nervous. Solution, as usual, was simple and even "stupid". I'm not sure how that was found, i was thinking about same thing but can't reverse that to understand what was happening.
Finally solution was found here: https://github.com/busyloop/lolcat/issues/117 (thanks a LOT btw)
Fix in my case looks like this:
# vim ~/.bash_aliases OR vim ~/.profile OR ENEN vim ~/.bashrc # force cleanup of this var export COLORTERM=Screenshots with description of issue below
No screen, simple xfce terminal - OKBroken colors, mc loaded under screen
That painfull pre-set variable
vim ~/.bash_aliases
Saved, restarted terminal, run screen, run mc - colors fixed.
![]()
Xfce Terminal / Terminal Emulator - save tabs config
July 19, 2024
Usually there is a need to save tabs and its folder locations of Terminal to avoid routine everyday actions. There is a different terminals (Windows Terminal is my fav for Win 10), some of them has option to save tabs settings, some of them can't.
In case of Xfce Terminal we have an option to use command line to resolve this issue.
Man is the man, as usual .)
In case of Xfce Terminal we have an option to use command line to resolve this issue.
Man is the man, as usual .)
man xfce4-terminalTons of interesting things there, but for me this simple line is enough
xfce4-terminal --maximize -T "HOST OS" --working-directory=/home/ijin --tab -T "!! GUEST OS !!" --working-directory=/home/ijin/vagrant-vms/tatuinAdded that to launcher and that is it. Fix paths and tab names for yourself.
XFCE: Hide window from Alt+Tab
July 18, 2024
In case you have 2 (or more) monitors using for monitoring/stats/youtube/etc it is often case when you need to reduce windows quantity during Alt+Tab (its comfy).
Unfortunateley, there is no such option in Win10/11.
But, thanks God, we're using XFCE. Here you can easily do this with the command
Just like that. No need permanent running external software.
Unfortunateley, there is no such option in Win10/11.
But, thanks God, we're using XFCE. Here you can easily do this with the command
/usr/bin/wmctrl -r :SELECT: -b toggle,skip_pager # man wmctrl is very interesting too.As for me, i've made a launcher for this, like this:
OneCalling this command you'll see changed cursor which you have to use for click on the window you want to show/hide from Alt-Tab.Two
![]()
Just like that. No need permanent running external software.
How to use Webdav with/for Laravel 5 app
January 28, 2018
Not so hard, than you can imagine. I've spent some time and prepared working solution right here. Have a nice day!
Linux: ports state for active internet connections
October 13, 2017
Easy
sudo netstat -atpnOr check exact app by name
sudo netstat -atpn | grep -i nginx