Anyone using LibertyBSD? How does it compare to Trisquel?

99 replies [Last post]
andermetalsh
Offline
Joined: 01/04/2013

Nice, but I prefer default FVWM2 / cwm :)

Anything else, from the ports :)

loldier
Offline
Joined: 02/17/2016

There's mwm in the root menu (Motif). It looks like CDE, only missing the Front Panel.

libertyBSD_mwm_syllable.png
vita_cell
Offline
Joined: 07/19/2015

loldier, how good is Syllable, (SNG=Syllable Not GNU)?

loldier
Offline
Joined: 02/17/2016

I really can't say. I've only tried it a few minutes in Qemu just to see what it looks like. I guess it's OK for web surfing. I would compare it to an OS ten years ago or fifteen. Something like what MacOS used to be when it was still the System, or OS/2 version 4 Warp. It's fast and light.

MenuetOS is another niche OS that's quite interesting, as it fits on a single 1.44 floppy, yet it has a GUI and networking. Sadly, the 64-bit version is proprietary. But Syllable is free, and so is KolibriOS (a fork of MenuetOS).

http://web.syllable.org/pages/index.html

https://en.wikipedia.org/wiki/MenuetOS

https://en.wikipedia.org/wiki/KolibriOS

2016-06-13-104412_814x652_scrot.png Menuet.png KolibriOS_nightly_build_desktop.png
jxself
Online
Joined: 09/13/2010

"But Syllable is free"

Of charge perhaps but they seem to have very interesting views:
http://forum.syllable.org/viewtopic.php?p=8201&sid=d6e06f2ffe9577dc8ce55ff0e81be87b

loldier
Offline
Joined: 02/17/2016

Oh, I don't know about that. I based that sentence on the Wikipedia article.

https://en.wikipedia.org/wiki/SyllableOS

It says the license is GNU General Public License. Misleading, to say the least.

I wonder what functionality is left if it is liberated.

jxself
Online
Joined: 09/13/2010

I don't know. Their message shows confusion on several fundamental topics though.

vita_cell
Offline
Joined: 07/19/2015

Thanks jxself

loldier
Offline
Joined: 02/17/2016

Did you know it was non-free?

I'll have to do more careful fact checking from now on before I say anything anywhere that could be taken for an endorsement (which it wasn't).

vita_cell
Offline
Joined: 07/19/2015

I did not, but now, I know, thanks!

GNUser
Offline
Joined: 07/17/2013

KolibriOS is pretty much useless. I tried it a little in the past (I had a pentium 1 that I wanted to put to some use) and while it is impressive from a technical perspective (how fast it boots, and how little they were able to compress all the stuff they put in the floppy version) it basically does nothing of interest that any other Linux basic distro won't do better. I would like to see some good applications being written to it, but don't hold my breath.

onpon4
Offline
Joined: 05/30/2012

I have to agree. It also seems not to support sound at all.

JadedCtrl
Offline
Joined: 08/11/2014

https://en.wikipedia.org/wiki/KolibriOS#Supported_hardware
It looks like it supports audio at least to some degree, if the Wikipedia page is right.
EDIT: Looks like you're no stranger to Kolibri, onpon. :)
Wikipedia cites a thread you took part in: https://en.wikipedia.org/wiki/KolibriOS#cite_note-1

onpon4
Offline
Joined: 05/30/2012

I tried it in a virtual machine, and nothing I tried to run had working sound (including ports of games that I know should have sound, like Doom).

Regarding that thread, it's the only thread I ever took part in on that forum; I joined specifically to ask that question because someone here brought up KolibriOS.

loldier
Offline
Joined: 02/17/2016

It's been great fun. I swapped the hard disk (SSD) in my laptop (HP) for the disk (HDD, spinning platters) that had win 10 setup on it, wiped it, and installed libertyBSD. Things went smoothly. It just works. I'm not going to forsake my CDE installation, so I just swapped disks instead of erasing.

To change/dim the screen brightness by half in terminal, type:

wsconsctl display.brightness=50

There's a considerable speed increase due to the more powerful i5 processor. I noticed that SMplayer has no video tearing which plagues Debian and CDE. OpenBSD has its own X implementation, maybe that's why, don't know.

I also installed (compiled from the ports tree) Geeqie which is great for image browsing.

2016-06-14-182524_1600x900_scrot.png 2016-06-14-184106_1600x900_scrot.png 2016-06-14-185005_1600x900_scrot.png
GNUser
Offline
Joined: 07/17/2013

Thanks for even more goodies :)
One question, all of those things you mention doing on the terminal (stuff like adjusting sound, brightness, etc) can they be done either:

a. using keyboard special keys for that (not shortcuts, the keys specific for those actions);
b. in a graphical way (like in Gnome you have the volume icon right next to the clock) either in a menu or some specific program?

The same goes for installing packages, do you always have to use the CLI or (maybe using Xfce or something like that) can you do it in a "Ubuntu" kinda way?

loldier
Offline
Joined: 02/17/2016

I'm not aware of any GUI package managers. There's no Synaptic or appstore in the default install. You use 'pkg_add' and 'pkg_delete' to add or remove prebuilt binaries, and 'make install' from the ports tree to build from source.

To control and probe the sound hardware, you use 'mixerctl'. If you install a more refined DE, such as Xfce, there's a GUI sound control included. This is not a big deal. You only have to set the master in everyday tasks, the actual level is fine tuned in each individual program that plays sound graphically. For instance, SMplayer has a slider that works the same as any sound applet.

You should compare BSDs to Arch Linux or Gentoo. There's minimal handholding but the documentation is excellent. You can perform any task through the command line. That's why there's a terminal window auto-started every time you open a graphical session. That's supposed to be your interface to get under the hood and stay in control.

I'm sure there's a way to make the keyboard shortcuts and controls work, the same way I did it in CDE (xbindkeys). But I've not advanced that far yet, so I don't know how to do it as of now.

It would be nice to learn more from JadedCtrl how it's done.

JadedCtrl
Offline
Joined: 08/11/2014

A. You can use keyboard special keys by default. Both of my laptops' volume and brightness keys work by default-- something that doesn't even happen on Parabola. :p Sometimes they don't work by default, but xbindkeys can fix that.
B. Yea, if you install GNOME, KDE, Xfce, or another DE you can manage volume and brightness with the GUI.
C. Don't think so. I can't find any, at least. "pkg_add" works just like the other "Ubuntu way," "apt-get install".

EDIT: Yea, loldier hit the nail on the head. Minimal hand-holding, fantastic documentation. Everything other than the command line is just an additional layer of abstraction.

loldier
Offline
Joined: 02/17/2016

I installed xbindkeys and edited /home/user/.xbindkeysrc.

To create a default condfiguration file, type:

xbindkeys --default > /home/user/.xbindkeysrc

I put these lines in .xbindkeysrc:

## Volume down
"mixerctl outputs.master=-5"
m:0x0 + c:122
XF86AudioLowerVolume
## Volume up
"mixerctl outputs.master=+5"
m:0x0 + c:123
XF86AudioRaiseVolume

Now the keyboard controls for sound work.

See this for reference:

https://trisquel.info/en/forum/cde-common-desktop-environment?page=1#comment-97854

lembas
Offline
Joined: 05/13/2010

There is also package xbindkeys-config - an easy to use gtk program for configuring Xbindkeys.

loldier
Offline
Joined: 02/17/2016

I couldn't find it in the ports or pkg_add. I did try.

loldier
Offline
Joined: 02/17/2016

I created a file /etc/wsconsctl.conf and added a line:

display.brightness=50

and now the screen is set to 50 % luminosity at boot. The system actually prints the setting on the screen when booting, so it's comforting to see that it works.

wsconsctl display.brightness

Confirms the state when typed in a terminal window.

wsconsctl_display_brightness.png
loldier
Offline
Joined: 02/17/2016

I've been playing with window managers. Fvwm is the default set but there's more to choose from. Twm is one of them. Never seen anything like this but it looks pretty straightforward and clean.

The window title bars have two buttons: on the left iconify, on the right resize. To close a window, you have to press the left mouse button on the background and hold it. A menu pops up. Choose 'delete' and the cursor becomes a cross. Then hit a window with the cross and kaboom -- it's gone.

*EDIT*

Absolute openBSD (the book, Michael W. Lucas) devotes only 15 out of 540 pages to "desktop openBSD". It's quite clear that the emphasis is on CLI tools and system maintenance through the terminal console. The chapter about the desktop concentrates on cwm. Hardly anything about the default Fvwm or Twm.

I discovered 'xsetroot' sets the background colour or the default grey mesh if typed without options or parametres.

xsetroot -solid "light blue"

Desktop menu (left click) can be edited.

Copy /etc/X11/twm/system.twmrc --> /home/user/.twmrc

"Internet" f.menu "Internet"

menu "Internet"
{
"Firefox" !"firefox &"
}

http://man.openbsd.org/xsetroot

http://man.openbsd.org/twm

2016-06-15-224930_1920x1080_scrot.png 2016-06-15-230437_1920x1080_scrot.png 2016-06-15-231445_1920x1080_scrot.png 2016-06-16-201854_1920x1080_scrot.png 2016-06-16-202009_1920x1080_scrot.png twm_menu_openBSD.png
AttachmentSize
twmrc.txt 3.24 KB
JadedCtrl
Offline
Joined: 08/11/2014

Speaking of LBSD, there's now a forum set up at http://libertybsd.net/forum =w=
Perhaps we should take further discussion to the Troll Lounge or LBSD forums to avoid cluttering main Trisquel forums?
loldier: Your desktop setup looks better and better with every pic. Some minimal setups on /r/unixporn could provide some extra inspiration, maybe.

loldier
Offline
Joined: 02/17/2016

I registered on the libertyBSD forum a few minutes ago. Let's hope and see if it takes flight.

Personally, I think it would be better to create a subforum here for libertyBSD. We are kind of 'Waffenbrüder'.

loldier
Offline
Joined: 02/17/2016

Fvwmrc files to customize your FVWM environment. They are old, but most of them work, although they may have some parts missing (like broken launchers). They should be treated as preliminary templates that need some adjustment to suit your own system.

http://xwinman.org/fvwm.php

Here's how to make the wallpaper, managed by Feh, start with X by adding a customized /home/user/.xinitrc file. The window manager ("fvwm") must be the last entry. I had difficulty before I realized that X would do a flyby and exit the moment it completed the routine without the final touch.

http://www.openbsd.org/faq/faq11.html#CustomizingX

xclock -geometry 50x50-1+1 &
xconsole -iconic &
xterm -geometry 80x24 &
xbindkeys &
.fehbg &
fvwm

2016-06-21-084121_1920x1080_scrot.png 2016-06-21-094927_1920x1080_scrot.png
loldier
Offline
Joined: 02/17/2016

JadedCtrl wrote an fvwmrc file. I tried it on my netbook. Here's the desktop screenshot.

http://libertybsd.net/forum/viewtopic.php?pid=38#p38

I'm sorry I use Trisquel forum for screenshots. I hope LBSD forum gets a similar functionality for users anytime soon.

2016-06-24-161451_1920x1080_scrot.png
loldier
Offline
Joined: 02/17/2016

I put a new screenshot on the LibertyBSD forum.

Fluxbox:

http://libertybsd.net/forum/viewtopic.php?id=23

One more addition -- Window Maker:

http://libertybsd.net/forum/viewtopic.php?pid=43#p43

andermetalsh
Offline
Joined: 01/04/2013

About LibretyBSD, I suggest you all to enable softupdates, specially on a laptop with an external power source:

http://www.openbsd.org/faq/faq14.html#SoftUpdates

Also, if you are on a laptop, enable the APM daemon NOW.

As root:

# rcctl enable apmd
# rcctl set apmd flags -A
# rcctl start apmd

loldier
Offline
Joined: 02/17/2016

I just did that. It writes to /etc/rc.conf.local:

apmd_flags=-A

Regarding sopfupdates, I added 'softdep' to /etc/fstab

DUID.a / ffs rw,softdep 1 1
DUID.k /home ffs rw,nodev,nosuid,softdep 1 2
DUID.d /tmp ffs rw,nodev,nosuid,softdep 1 2

http://www.bcsatellite.net/OpenBSD-Desktop-HOWTO/

loldier
Offline
Joined: 02/17/2016

I recently tried Parabola, downloaded an ISO, burned it to a DVD±RW with growisofs.

growisofs -dvd-compat -Z /dev/rcd0c=/path/to/image

I tried to take screenshots but there was an error about not finding a file or folder or invalid path, something to that effect.

I discovered a new for me tool -- 'import' which is, so I understand, part of the ImageMagick set.

import -window root screenshot.jpg

You can save the screenshot as several other image formats by changing the extension to 'png' or 'xpm'.

Here's the new to me part, capturing windows.

import -window 0x14002fd mozilla.png

That's a window ID -- where did that come from?

xwininfo

will give you the ID (it prompts you to click on the desired window).

Or, you can simply type 'import screenshot.png' and click on a window or image to capture a shot (the mouse cursor will change into a crosshair).

I can't get the decoration in, not even with the option '-border'.

https://wiki.debian.org/ScreenShots

xterm2.png window_id.png screenshot.jpg
loldier
Offline
Joined: 02/17/2016

I pkg_added Xfce on my HP Probook LibertyBSD setup. The sound works fine, there's a mixer icon in the panel (I had to add it, it didn't crawl up there autonomously) and I can use my sound level hotkeys (xbindkeys again). The experience is not unlike any Xfce I've seen. You would be hard-pressed to tell the difference. All in all a bit unimaginary, I'd say. I think I'm going to keep my cwm and fvwm. "Stick to the basics."

pkg_add -v xfce xfce-extras slim

The instructions tell to edit /etc/rc.conf.local:

multicast_host=YES
hotplugd_flags=""
apmd_flags="-A"
pkg_scripts="${pkg_scripts} messagebus toadd slim"

I couldn't make the toad automount thing work with usb or cd but Slim login works fine and I can restart or shutdown the computer from the Xfce menu.

Then add (as user, not root) this line to /home/user/.xinitrc. Create the file if it doesn't exist.

exec ck-launch-session startxfce4

After this the system will start Xfce automatically at every boot. You'll land at the graphical login (Slim).

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

Reverting back to fvwm/cwm I disabled (uncommented the lines) the changes I made to auto-start Slim login greeter or Xfce. It also means that the user cannot restart the system from within Xfce GUI anymore, only log out (take a look at the last image attached).

It's possible to get to the Xfce desktop by issuing this command:

startx /usr/local/bin/xfce4-session

Similarly, you can do 'startx /usr/local/bin/wmaker' to start Window Maker environment (if installed).

libertyBSD_xfce_3.png libertyBSD_xfce_9.png libertyBSD_xfce_10.png libertyBSD_xfce_desktop_mount_USB.png libertyBSD_xfce_tweaks_themes.png libertyBSD_xfce_logout.png
andermetalsh
Offline
Joined: 01/04/2013

It's possible to have device automounting in OpenBSD as well as GNU/Linux.

Maybe there is a wrong setup at /etc/rc.conf.local.

loldier
Offline
Joined: 02/17/2016

Vnconfig is a utility to mount ISO image files on O/LBSD.

As root:

vnconfig vnd0 /home/user/disk_image.iso

mount -t cd9660 /dev/vnd0c /mnt

http://www.cyberciti.biz/faq/mounting-iso-images-on-openbsd/

http://man.openbsd.org/vnconfig

The vnconfig command configures vnode pseudo disk devices. It will associate (or disassociate) the special file vnd_dev with the regular file image, allowing the latter to be accessed as though it were a disk.

Open /mnt in your file manager to browse the ISO disk image file.

To unmount (again, as root):

umount /mnt

vnconfig -u vnd0

vnconfig.png vnconfig_xterm.png
loldier
Offline
Joined: 02/17/2016

Lumina Desktop Environment (a PC-BSD project) on LibertyBSD. Sadly, it seemed to be buggy. If polished, it could be the overarching *BSD desktop. It has nice working controls for the sound, screen and other stuff in the upper right corner. Adjusting screen brightness was a blast.

pkg_add lumina

startx /usr/local/bin/Lumina-DE

libertyBSD_Lumina.png libertyBSD_Lumina_2.png pkg_add_lumina.png
loldier
Offline
Joined: 02/17/2016

If you have ever wondered what a screenshot of Ratpoison would look like, you could fire up your console or favourite program full-screen. That's it, it looks like a maximized application eating up all the precious estate on your screen. Ratpoison is invisible, mostly. Only when you press C-t something it gives a notification on the screen. I guess the screen can be split but I'm not yet there. Give it a shot.

http://www.nongnu.org/ratpoison/doc/

pkg_add ratpoison

startx /usr/local/bin/ratpoison

*EDIT*

Splitting vertically and horizontally: C-t-s/C-t-S; unsplit C-t-Q.

2016-07-10-115020_1920x1080_scrot.png 2016-07-10-115321_1920x1080_scrot.png 2016-07-10-124852_1920x1080_scrot.png 2016-07-10-131849_1920x1080_scrot.png
loldier
Offline
Joined: 02/17/2016

Xmonad is so close in kind to R-poison that I tried to use the same keybindings to no avail.

It was revealed in the documentation that the secret key to the kingdom is alt-shift-enter.

Xmonad is a filmstar when compared to R-poison. Windows (or frames) are easily resized with alt-M3 (third mouse button). They overlap, too. I like the lack of decoration and uncluttered appearance, especially when tiled. You see the small Xterm window in the lower left or right corner, the size of a few postage stamps (second and third attachments). It's handy to launch programs and it doesn't get in your way.

I say, Xmonad is one of the best WMs I've seen. I'd rank it high on my list that also includes Fvwm, Cwm, Mwm, Fluxbox and Openbox.

That was easy. Xmonad Roxx!!

https://wiki.haskell.org/Xmonad/Frequently_asked_questions

2016-07-10-172952_1920x1080_scrot.png 2016-07-10-173411_1920x1080_scrot.png 2016-07-10-182613_1920x1080_scrot.png 2016-07-10-182019_1920x1080_scrot.png
loldier
Offline
Joined: 02/17/2016

I updated or upgraded my LibertyBSD to 5.9. Because 5.9 is not yet out, I had to use OpenBSD. I wanted to try and learn the procedure.

In OpenBSD upgrade is performed with the same CD as the install, just boot from it and choose 'U' when prompted (instead of 'install').

Then upgrade the packages:

pkg_add -Uu

I finally made my laptop's screen brightness controls work using xbacklight and xbindkeys.

$HOME/.xbindkeysrc

## brightness down
"xbacklight -dec 10"
m:0x0 + c:146
XF86MonBrightnessDown
## brightness up
"xbacklight -inc 10"
m:0x0 + c:151
XF86MonBrightnessUp

Then I made Xdm start the graphical login when the computer is booted.

Edit your /etc/rc.conf.local and add the line:

xdm_flags=""

loldier
Offline
Joined: 02/17/2016

I added Gnome to OpenBSD/LibertyBSD. It's pretty easy to do.

pkg_add gnome

After installing Gnome Desktop, one should read the document in /usr/local/share/doc/pkg-readmes/gnome-VERSION

Mine is OpenBSD 5.9 with Gnome 3.18.2p0

Edit /etc/rc.conf.local to disable xdm, enable gnome & gdm, add gdm to scripts and start messagebus, optionally avahi_daemon.

gdm_enable=YES
gnome_enable=YES
multicast=YES
pkg_scripts=${pkg_scripts} messagebus avahi_daemon gdm

These commans do the same (cheat sheet from the document):

# rcctl disable xdm
# rcctl enable multicast messagebus avahi_daemon gdm
# reboot

$OpenBSD: README-main,v 1.38 2015/12/06 08:29:35 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running gnome-3.18.2p0 on OpenBSD
+-----------------------------------------------------------------------

(see "Cheat sheet" at the end of this file for a quick setup)

The GNOME desktop is composed of 2 meta-packages:
* gnome, for a standard GNOME installation
* gnome-extras, for a full GNOME installation

The "gnome" package is focused on generic usage to give the user the
choice to install his favorite applications for daily usage (i.e. PIM,
WWW browser, office and development applications have been left out on
purpose).

Starting GNOME
==============

DBus
----
Before running gnome-session(1), a system-wide D-Bus daemon needs to be
running ("messagebus" must be added to "pkg_scripts" in rc.conf.local(8)).

GDM
---
Session management requires the use of GDM as login manager, otherwise
some key features like screen locking, session tracking... will not work
properly. To do so, "gdm" must be added at the end of "pkg_scripts" in
rc.conf.local(8) (and "xdm_flags" commented or removed).

GDM greeter language and character set is configured in:
/etc/gdm/locale.conf

Alternative (non-GDM) GNOME startup
-----------------------------------
*** NOT RECOMMENDED ***
To start GNOME without GDM, the following line needs to be added:
exec /usr/local/bin/ck-launch-session /usr/local/bin/gnome-session
to ~/.xinitrc when using startx(1) (console login)
to ~/.xsession when using xdm(1) (xdm(1) or similar login)

mDNS/DNS-SD support
===================
The avahi-daemon(8) daemon provides Zeroconf support (aka. Bonjour /
Rendezvous) in GNOME. Several applications can optionally benefit from
it (e.g. the "Network" shortcut in nautilus(1)) while some others
will not work at all without it (e.g. seahorse-sharing(1)).

To make use of it, rc.conf.local(8) needs to contain the following line:
multicast=YES
and "avahi_daemon" must be added to "pkg_scripts" _after_ "messagebus".

LibreOffice integration
=======================
The gnome-documents manager and sushi previewer do not support Office type
documents by defaults (e.g. docx, .odt, .ods) but rely on unoconv to display
them. If such support is needed, `doas pkg_add unoconv` will take care of it.

Cheat sheet
===========
# rcctl disable xdm
# rcctl enable multicast messagebus avahi_daemon gdm
# reboot

openBSD_gnome_top_seamonkey_xterm.png openBSD_gnome_about.png
andermetalsh
Offline
Joined: 01/04/2013

LibertyBSD 5.9 is out. http://libertybsd.net/

Now with self hosted repositories, with i386 and amd64 releases.

loldier
Offline
Joined: 02/17/2016

Yes, it's quite an improvement. I haven't yet tried that but I will. I just downloaded the install59.iso.

http://libertybsd.net/forum/viewtopic.php?pid=58#p58

andermetalsh
Offline
Joined: 01/04/2013

Just get bsd.rd, place it on /, and boot from it from the boot boot prompt:

[code]b bsd.rd[/code]

Then choose Upgrade .

I miss Seamonkey in the ports/packages, sadly.

loldier
Offline
Joined: 02/17/2016

That's a good piece of advice. I'll try that.

You can always temporarily point your path to OpenBSD and install Seamonkey from their repos. What might be the reason to drop Seamonkey? It's included on OBSD 5.9. It's @ version 2.39.

Here's the relevant part:

http://www.openbsd.org/faq/faq4.html#bsd.rd

andermetalsh
Offline
Joined: 01/04/2013

Some dependencies on Mozilla.

JadedCtrl
Offline
Joined: 08/11/2014

Yea, as metalanderish said-- Seamonkey recommends proprietary software.
Another notable abscence is Firefox, which does the same. I'm basing a port of Icecat off of the Firefox port, though.

andermetalsh
Offline
Joined: 01/04/2013

Coudn't be possible to just modify Seamonkey?

SeamonKey is much faster than Icecat, it provides nearly the sames features, WebGL included, and
for that reason it will work better on non high-end machines.

Back in the day Iceape was the same Icecat/Abrowser is now for Firefox.

JadedCtrl
Offline
Joined: 08/11/2014

Yea, it's possible.
I'm forking the OpenBSD ports tree as soon as a CVS server is up and running properly.
With this fork there'll be focus on patching things like this.
'Till then, well, perhaps you should go with Midori or Netsurf.

andermetalsh
Offline
Joined: 01/04/2013

Also, I suggest you to edit the limits on /etc/login.conf, (specially the heap to 16M and the RAM usage cap to your RAM size), otherwise browsers like iridium will crash.

Then, run as root: cap_mkdb /etc/login.conf as root and reboot.

loldier
Offline
Joined: 02/17/2016

I did that. I had experienced Firefox core dumps (crashes) before and I had applied that before, although I had forgotten about it in later reinstallations.

http://man.openbsd.org/login.conf

http://man.openbsd.org/cap_mkdb.1