Hatred's Log Place

DON'T PANIC!

Nov 9, 2018 - 2 minute read - [ru] [en] - linux

Gnome/Mate terminal maximized by default

…In case, when Compiz is used as Window Manager.

With Compiz

I use Mate and Compiz as Window manager. According information from the Internet, there is only one way to run Gnome Terminal (and any derivative terminals, like Mate Terminal): run it with option --maximize. Better solution implemented in KDE Terminal - Konsole, it just save last window geometry.

Command line option good… But… you should point it everywhere where terminal runs: menu entries, shortcuts, application settings where terminal pointed… There is no way to point such option for application runs in terminal.

Jun 12, 2018 - 2 minute read - [ru] [en] - linux programming

Why may Linux driver developers hate distros like CentOS?

A recent incident from my life.

Deal with CentOS 7.5. Base kernel for it - 3.10.0. Keep it in mind.

CenOS kernel 3.10.0-862 contains back ported ALSA stack from newer kernels. New stack discards snd_card_create call and replace it with snd_card_new that mostly same, but put additional argument to the front of parameters:

int snd_card_create(                       int idx, const char *xid, struct module *module, int extra_size, struct snd_card **card_ret)
vs
int snd_card_new   (struct device *parent, int idx, const char *xid, struct module *module, int extra_size, struct snd_card **card_ret);

(arguments aligned by me)

But, a lot of internal drivers still refer to the old snd_card_create and CentOS maintainers adds next hack: