2016/01

Making new decision is a kind of new year tradition like giving present or quiting smoking. Today, I am presenting mine: setting monthly goals. Before every month, I pick some goals and post these. After every month, I review my past month goals in the blog. Thus, I'll be more productive.

Then, This post is about my first monthly goals. I'd like to start slowly. So, two goals are enough for the January.

#1 Feeling comfy while coding in C. For this, Complete to read The C Programming Language by K&R. Do the exercises in the book.
#2 Read Just for Fun by Linus Torvards and The Cathedral and the Bazaar by Eric S. Raymond.

Happy 2016.

GNU and Keyboard Shortcuts in LXDE

I have recently attended GNU/Linux training at Istanbul Hackerspace. It was informal and eye-opening event for me. Besides, Philosophy of GNU is deeply impressed me. If you'd like to get more information about GNU like me, I recommend you to read Free Software, Free Society: Selected Essays of Richard M. Stallman book. I have been reading the book, too. It is avaible in Turkish too.

I have made a few decisions after the training like using free software as far as possible, removing Windows from my computers. So, Debian and LXDE have been my choices.

After installation, I have noticed that general keyboard shortcut of terminal (Ctrl+Alt+T) is not implemented in LXDE. After searching on a web, i have figuered how i will do.

In LXDE, general settings hold in ~/.config/openbox/lxde-rc.xml file. Keybindings, too.

Control keys (Ctrl, Fn, Windows Button, Alt) are implemented differently as shown in below.

Control KeyImplementation
ALTA-
CTRLC-
SHIFTS-
Windows ButtonW-

Lets impelement whole part.

<!-- Launch LXTerminal with Ctrl+Alt+T by FG -->
<keybind key="A-C-t">
  <action name="Execute">
    <command>lxterminal</command>
  </action>
</keybind>
  • LXDE useslxterminal. So, execute command of lxterminal is lxterminal too.
  • In Keybind part, requested keyboard shortcut is implemented.
  • Be careful about, implementing the add-on between <keyboard> and </keyboard>.

For nonworking volume buttons, this tutorial works too.

<!-- Volume Up by FG -->
<keybind key="A-F12">
  <action name="Execute">
    <command>amixer -D pulse sset Master 5%+</command>
  </action>
</keybind>
  • Volume button uses amixer program. For more information, execute man amixer at terminal.

Merhaba!

I've moved my old blog posts mostly about photography to tumblr. After that, I decided to use the domain for blogging about computer stuff i leared and tried. You are one of first visitors of the blog. Happy to see you, here.