Categories
lua

Where Lua Looks For Modules

As with other programming languange, Lua can add functionality by using require statement. Path to search for modules defined by package.path and package.cpath settings.

package.path     :   Where Lua looks for .lua modules.
package.cpath  :   Where Lua looks for .so/.dll modules.

We can append the path like :

package.path = package.path..”;/home/user/lib/?.lua”

package.cpath = package.cpath..”;/home/user/lib/?.so”

 

Categories
OpenBSD

OpenBSD install Mate desktop

  1. pkg_add mate
  2. exec mate-session
Categories
OpenBSD

OpenBSD allow user to mount device

OpenBSD has /etc/doas.conf to configure who can play with doas with specific command if we wish.

To allow user1 doing mount and umount without password edit your doas.conf as follow :

permit nopass user1 as root cmd mount

permit nopass user1 as root cmd umount

 

Categories
OpenBSD

OpenBSD 6.6 Released

Its a great news to hear OpenBSD 6.6 has been released today !

This release feature performance improvement.

SMP-Improvements, System call unlocking:

 

Categories
OpenBSD

OpenBSD : Enable tap to click for touch pad device

This one work for my old AMD E-450 laptop on OpenBSD 6.5 after searching for some time.

  1. Edit /etc/wsconsctl.conf using your favorite text editor.
  2. add a line : mouse.tp.tapping=1
  3. Reboot.
  4. Test tapping on xfce4 desktop environment !
Categories
OpenBSD

Welcoming OpenBSD 6.6 : sysupgrade

OpenBSD new feature to do version upgrade is coming …

Categories
OpenBSD

Running OpenBSD 6.5 on your laptop

Found some usefull article here

https://sohcahtoa.org.uk/openbsd.html

Thanks to the writer ….