Visualizzazione post con etichetta linux. Mostra tutti i post
Visualizzazione post con etichetta linux. Mostra tutti i post

2.5.10

OpenBox moments

I was annoyed by the strange behavior of gnome, so I decided to switch back to a lightweight window manager.
Now it's Openbox moment.
Configuration was easy, following the Arch Wiki.
Added some effect with cairo-compmgr, pypanel for taskbar/systray, conky and some clicking on obconf.
The result is a good looking gui; I leaved also xdm, /sbin/login works fine (updated the .zshrc post, see for details) and last but not least regenerated menus with mmaker -vf OpenBox3.

20.4.10

the nice editor and the backspace

Subtitle: The sad state of Backspace and Delete key in linux(cit.)

For a newbie, what is the scariest part in a linux system? A lot of people hate linux 'cause "in a forum they made me open a DOS prompt to solve...".
The console is a powerful tool, but a lot of people doesn't like it.
Personally I prefer a lot of console applications, for the lighteness and the power of simple commands; sometimes is useful a quick edit in the console window of a configuration file, so I searched for a text editor that didn't change my mental keybinding. You know what I mean.
ctrl+c is for copy, ctrl+v is for paste, ctrl+x is for cut, ctrl+s is for saving, ctrl+q is for quit, ctrl+f is for search and ctrl+r is for replace.
In my experience, they are the same in EditPlus, UltraEdit, Notepad++, eclipse, kwrite, gedit: graphical text editor.
So after using vi, emacs -nw and nano for those dirty jobs I found ne.
It's the text editor that I'm searching for, just a console tool with the gui guys keybindings.
But...
The only thing that didn't work is the backspace key in urxvt. It's a well known problem in linux terminal, explained here (from the author of ne, Sebastiano Vigna).
The quick fix is the export TERM=gnome way, but I didn't like it, 'cause in some application it may cause mistake.
So I written a trivial fix for this:
~/bin/ne.sh

#!/bin/sh
export TERM=gnome
/usr/bin/ne $1
export TERM=rxvt

and added to my .zshrc

alias='ne=~/bin/ne.sh'


Fix'd! :)

20.3.10

Computer upgrade

Now I have a "my SSD rocks!" sticker! So my nettop it's composed by: M350 case, Zotac Ionitx-b (Atom N230 single core), 2gb ddr2 and Intel X25-M G2 80Gb ssd. And is completely noiseless(yes, 0db).
The hardware support is good with Arch Linux, 'cause it have the latest linux kernel.
Since I switched from a "classic" hardware to the nettop I never needed to switch back; it has the performance that I need.

13.3.10

X forwarding through ssh

Linux server:
/etc/ssh/sshd_config
X11Forwarding yes

Linux client:
/etc/ssh/ssh_config
ForwardX11 yes

Windows client:
1) Install Xming, work with default settings.
2) Configure the ssh client:
Putty: Connection > SSH > X11 > Check on Enable X11 Forwarding
Teraterm: Setup > SSH Forwarding > Check on Display remote X applications on local X server

1.3.10

rxvt-unicode: my .Xdefaults config


$ cat .Xdefaults

URxvt*depth:32
URxvt*background:rgba:0000/0000/0000/dddd
URxvt*foreground:white
URxvt*font: xft:Inconsolata:pixelsize=16:hinting=true:hintstyle=hintslight
URxvt*inheritPixmap:true
URxvt*xftAntialias: true
Urxvt*transparent:True
URxvt*tintColor:blue
URxvt*shading:40
URxvt*fading:60
URxvt*termName:rxvt
URxvt.perl-ext-common:default,matcher
URxvt.urlLauncher:/usr/bin/chromium
URxvt.matcher.button:1

And the result is:

Warning

My first language isn't english. Feel free to gently correct my words. :)
Powered By Blogger