screensaver openbox

1 – Install xscreensaver package

apt-get install xscreensaver

2 – Configure xscreensaver to run in openbox startup

vi .config/openbox/autostart

xscreensaver -no-splash &

3 – Configure keyboard sequence W-l to lock screen

vi .config/openbox/rc.xml
 <keybind key="W-l">
   <action name="Execute">
     <command>xscreensaver-command -lock</command>
   </action>
 </keybind>

*Restart Openbox to test

Advertisements

tint2 panel openbox

1 – Install packages

apt-get install tint2 gsimplecal

2 – Add lines bellow in tint2 configuration file

vi .config/tint2/tint2rc

# Panel Icons
panel_items = LTSBC
launcher_padding = 0 3 5
launcher_icon_size = 21
launcher_item_app = /usr/share/applications/chromium.desktop
launcher_item_app = /usr/share/applications/firefox-esr.desktop

3 – Execute tint2

tint2

To reload tint2rc configuration file, kill and start tint2

pkill tint2 && tint2

pidgin + ejabberd xmpp server

Server IP Address: 192.168.0.7 - Domain: mydomain.com

1 – Install the packages: ejabberd pidgin

apt-get install ejabberd pidgin

CONFIGURE EJABBERD

2 – Configure domain and user admin as admin

vi /etc/ejabberd/ejabberd.yml

change the line: - "localhost" in hosts:

###'   SERVED HOSTNAMES
hosts:
  - "mydomain.com"

change the line: - "": "localhost" in acl: admin: user:

###'   ACCESS CONTROL LISTS
acl:
  admin:
     user:
         - "admin": "mydomain.com"

3 – Restart ejabberd service

/etc/init.d/ejabberd restart

4 – Add admin user ( user domain password )

ejabberdctl register admin mydomain.com passwordHere

5 – Access Web Admin interface of ejabberd

https://192.168.0.7:5280/admin

6 – Add new user

ejabberdctl register nickollas mydomain.com passwordHere

*You can add a new user on web interface in: Virtual Hosts => localhost => Users

CONFIGURE PIDGIN

7 – Open Pidgin

Accounts => Manage Accounts => Add

  Basic => 
    Username: nickollas
    Domain: mydomain.com
    Password: passwordHere

  Advanced =>
    Connect port: 5222
    Connect server: 192.168.0.7

Alt-F2 no Openbox

1 – Instale o application laucher gmrun

apt-get install gmrun

2 – Copie o arquivo rc.xml do openbox para o home do seu usuário se o mesmo não existir

test -e .config/openbox/rc.xml || cp /etc/xdg/openbox/rc.xml .config/openbox/

3 – Adicione a seguinte entrada dentro da tag keyboard do arquivo rc.xml

vi .config/openbox/rc.xml
<keyboard>
...
<keybind key="A-F2">
  <action name="Execute">
    <command>gmrun</command>
  </action>
</keybind>
...
</keyboard>

4 – Execute o comando para re-ler os arquivos de configuração

openbox --reconfigure