Technical Recipes

Friday 2, September 2011

For netbooks it's very useful to use a simple and efficient GUI so lxlauncher is a good option if you're using LXDE. Instead of launching the classical lxpanel you can launch directly lxlauncher adding the following line to your /etc/xdg/lxsession/LXDE/autostart file:

@lxlauncher

Also, it's possible to use lxlauncher and lxpanel together:

@lxpanel --profile LXDE
@lxlauncher
tags: lxde

Friday 26, August 2011

If you need to auto-start some programs for you LXDE session, you can use the /etc/xdg/lxsession/LXDE/autostart file. You only need to add one line for executable file. For example, if you want to auto-start Firefox and Thunderbird, you should add the following lines:

firefox
thunderbird

Also, you can add your own script. Let's suppose we have a script called my_keyboard.sh for setting two different layouts and for exchanging Ctrl and Caps Lock key. Our line will be the following one:

/usr/local/bin/my_keyboard.sh

The content of the /usr/local/bin/my_keyboard.sh will be these lines:

1
2
3
#!/bin/bash
/usr/bin/setxkbmap -option "ctrl:swapcaps"
/usr/bin/setxkbmap -layout "us,es" -option "grp:lwin_toggle"

Tags

My latest tweets

tweet Only one week for Fedora 17! #fedora
tweet At Least 100,000 March in Spain Over Austerity http://t.co/LIvRCkTO
tweet Hoy es el día: Protesta como un ciudadano o calla como un súbdito. Tú eliges #12m15m
tweet Somos campeones!! #atleti
tweet Dell is working on a new laptop designed for developers with Ubuntu http://t.co/CemtM2fw
tweet Good tutorial about Flask, how to get up and running a web application with Python http://t.co/RtcW4f9d
Buy me a coffee!! Coffee cup

Advertisment