Your message?

Notice: To avoid posts by spam, a message body without the word '#FuguIta' is rejected.
Please include the word in your message text.





new tool - dtjsetup

kaw? (2020-01-17 (Fri) 16:20:33)

#FuguIta's new release "FuguIta-6.6-*-202001171" introduces a new tool "dtjsetup" in addition to the patch-017 of OpenBSD.

As its name implies, dtjsetup (DeskTop (plus Japanese optionally) environment setup tool) installs the desktop environment software and replaces the X startup file .xsession with the appropriate contents.

dtjsetup can be started by ordinary user. If root privileges are required, such as when installing new software, dtjsetup checks the user's environment, starts doas or su internally, and executes commands with root privileges.

If you do not need to install new software, such as when using cwm or fvwm as a window manager, dtjsetup only replaces the .xsession file, so you do not need root privileges.

If an .xsession file already exists, dtjsetup renames the file to a time-stamped name and backs it up.

The software that dtjsetup can currently set up is as follows:

Window Manager: cwm, fvwm, twm, icewm, fluxbox, jwm
Desktop Environment: rox-filer, xfce, mate, lumina, lxqt
Japanese Input Method: scim-anthy, uim-gtk, fcitx-anthy, ibus-skk

If you choose to set up a Japanese environment, in addition to the Japanese Input Method above, install some sets of Japanese fonts, ja-kterm (Kanji Terminal), and set the time zone to JST if the user instructs.


Desktop installer for #FuguIta

kaw? (2020-01-09 (Thu) 19:16:20)

I wrote a installer to introduce Desktop Environment on #FuguIta.
Desktop: ROX-Filer, xfce, mate, lumina, (not tested yet: GNOME, KDE)
WM: cwm, twm, fvwm, icewm and jwm
and can setup softwares for Japanese (font, kterm, input method).
Save this fileinstalldesktop.sh.txt as installdesktop.sh and run it.

  • GNOME and KDE are not supported now. Because they are too heavy and too complicated for Live Systems like #FuguIta. -- kaw? 2020-01-10 (Fri) 01:53:08
  • fixed some minor bugs
    I have a plan to bundle this script with next #FuguIta release. -- kaw? 2020-01-10 (Fri) 21:56:54
  • Fixed some minor bugs -- kaw? 2020-01-12 (Sun) 18:13:44
  • ask set time zone to JST when Japanese environment installed -- kaw? 2020-01-13 (Mon) 14:02:39
  • add ibus-skk for Japanese Input Method -- kaw? 2020-01-13 (Mon) 14:18:35
  • add another Desk Top - lxqt -- kaw? 2020-01-15 (Wed) 05:44:05

Installing IceWM in FuguIta 6.6

armand-mx? (2019-12-23 (Mon) 12:35:18)

Hi, Kaw!
How can I install IceWM in #FuguIta as my main window manager?
How many MB or GB of space should I use for the swap partition for the installation of FuguIta?

  • I checked that.
    In initial state, #FuguIta-6.6-amd64 holds about 150kB in /usr/local.
        fuguita-6.6-amd64 # du -sh /usr/local
        248K       /usr/local
    IceWM is able to be installed from ports by pkg_add command:
        fuguita-6.6-amd64 # pkg_add icewm
        icewm-1.6.1:libao-1.2.0p1: : ok
        icewm-1.6.1:libogg-1.3.4: : ok
        icewm-1.6.1:libvorbis-1.3.6: : ok
        icewm-1.6.1:libiconv-1.16p0: : ok
        icewm-1.6.1:flac-1.3.3: : ok
        icewm-1.6.1:libsndfile-1.0.28: : ok
        icewm-1.6.1:bzip2-1.0.8: : ok
        icewm-1.6.1:gettext-runtime-0.20.1p0: : ok
        icewm-1.6.1:libffi-3.2.1p5: : ok
        icewm-1.6.1:xz-5.2.4: : ok
        icewm-1.6.1:sqlite3-3.29.0: : ok
        icewm-1.6.1:python-3.7.4: : ok
        icewm-1.6.1:pcre-8.41p2: : ok
        icewm-1.6.1:glib2-2.60.7: : ok
        icewm-1.6.1:desktop-file-utils-0.24p0: : ok
        icewm-1.6.1:fribidi-1.0.7p0: : ok
        icewm-1.6.1:jpeg-2.0.3v0: : ok
        icewm-1.6.1:tiff-4.0.10: : ok
        icewm-1.6.1:png-1.6.37: : ok
        icewm-1.6.1:jasper-2.0.14: : ok
        icewm-1.6.1:libxml-2.9.9: : ok
        icewm-1.6.1:shared-mime-info-1.10p5: : ok
        icewm-1.6.1:gdk-pixbuf-2.38.2: : ok
        icewm-1.6.1: : ok
        Running*tags: : ok
        fuguita-6.6-amd64 # du -sh
        /usr/local      147M       /usr/local
    After IceWM installed, /usr/local has grown about 150MB.

    In older version of FuguIta, IceWM and ROX-Filer were installed as DeskTop environment. So,
        fuguita-6.6-amd64 # pkg_add rox-filer
        rox-filer-2.11p3:atk-2.32.0: : ok
        rox-filer-2.11p3:hicolor-icon-theme-0.17: : ok
        rox-filer-2.11p3:gtk-update-icon-cache-3.24.12: : ok
        rox-filer-2.11p3:lzo2-2.10p1: : ok
        rox-filer-2.11p3:cairo-1.16.0: : ok
        rox-filer-2.11p3:graphite2-1.3.13p0: : ok
        rox-filer-2.11p3:harfbuzz-2.6.2: : ok
        rox-filer-2.11p3:pango-1.42.4p3: : ok
        rox-filer-2.11p3:libcroco-0.6.13: : ok
        rox-filer-2.11p3:librsvg-2.46.0: : ok
        rox-filer-2.11p3:gnome-icon-theme-3.12.0p5: : ok
        rox-filer-2.11p3:gnome-icon-theme-symbolic-3.12.0p3: : ok
        rox-filer-2.11p3:gtk+2-2.24.32p5: : ok
        rox-filer-2.11p3: : ok
        Running*tags: : ok
        fuguita-6.6-amd64 # du -sh /usr/local
        417M       /usr/local
    Adding ROX-Filer, about 400MB of RAM will be used.

    In this case, if you have modern PC with some gigabytes of RAM, no swap partition needed.
    Or, you only have an old PC with less memory, it is safe way to prepare a swap partition more than one megabyte.

    -- kaw? 2019-12-24 (Tue) 02:28:22

  • Thank you, Kaw! My PC has 8 gigabytes of RAM. I use the OpenBSD's default Fvwm in #FuguIta 6.6 because I don't know how to configure IceWM. I want to know how to configure IceWM in order to always start IceWM as desktop environment instead of Fvwm. I've installed IceWM and ROX-Filer by pkg_add command. Now, How can I configure IceWM in #FuguIta 6.6? -- armand-mx? 2019-12-24 (Tue) 15:40:37
  • For example, create .xsession file as follows;
    #!/bin/sh
     
    # In case of xenodm
    #
    if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
            eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    
    rox -t top -p pin
    exec icewm
    and here's a .xsession file I'm using:
    #!/bin/sh
    
    # # In case of startx
    # #
    # if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]
    # then
    #         eval `dbus-launch --sh-syntax --exit-with-x11`
    # fi
    
    # In case of xenodm
    #
    if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
            eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    
    # set locate to Japanese Language
    #
    export LANG=ja_JP.UTF-8
    
    # Japanse Input Method (UIM)
    #
    # # uim-gtk
    # export XMODIFIERS='@im=uim'
    # export GTK_IM_MODULE=uim
    # export QT_IM_MODULE=uim
    # uim-xim &
    # uim-toolbar-gtk &
    
    # Japanse Input Method (SCIM)
    #
    # scim-anthy
    export XMODIFIERS="@im=SCIM"
    export GTK_IM_MODULE=xim
    export QT_IM_MODULE=xim
    scim -d
    
    # Startup Window Manager
    #
    wm=icewm  # Rewrite this for other WM
    
    case "$wm" in
        cwm)
            xsetroot -solid gray12
            xclock -geometry 115x115-0+0 -analog -update 1 -fg white -bg '#000020' -hd gray25 -hl white &
            kterm -geometry 179x65+0+0 -fg white -bg black -cr orange -sl 1000 -sn -st &
            exec cwm
            ;;
        jwm|icewm|wmx|fvwm|twm)
            rox -t top -p pin
            exec $wm
            ;;
        xfce)
            exec startxfce4
            ;;
        *)
            exec twm
            ;;
    esac
    Please omit or modify the lines corresponding to Japanese locale settings. And rewrite wm=icewm when you wish to use other window manager.

    -- kaw? 2019-12-25 (Wed) 11:00:37

  • Thank you, Kaw! I set locate to Spanish Language (export LANG=es_MX.UTF-8) and omitted the lines corresponding to Japanese Input Methods. #FuguIta 6.6 with IceWM works fine and fast in my PC! Now, I want to add some apps like firefox, audacity and libreoffice to the ROX-Filer panel. In the panel there is the option Remove Item(s), but I don't see anything like Add Item(s). How can I add some apps to the ROX-Filer panel? -- armand-mx? 2019-12-26 (Thu) 00:15:37
  • How to setup icons of ROX on #FuguIta
  • Step 1 - set run action for binary executable.
    • Open /usr/local/bin with ROX's file browser.
    • find any file of "shared library (application/x-sharelib)"
    • click right button on this icon
      and select "set run action"
    • check "Only for the type 'shared library (application/x-sharelib)"
      and enter `` exec "$@" '' in a text entry
      then click "Use Command"
  • Step 2 - make an icon on ROX's panel
    • next, find the icon of audacity
      drag and drop it to the panel
  • Step 3 - change icon's picture of the icon
    • click right button on the dropped icon
      and select "file audacity" -> "Set Icon"
    • find pix file of audacity
      (possibly found under /usr/share/doc/icons)
    • drag and drop it to "Set Icon" panel.
  • That's all.
    For your help, see the tutorial video: https://youtu.be/vHa28q162Qg
    FYI: Screen shot of my MacBook Pro with 8GB memory
    sshot3.png

    -- kaw? 2019-12-26 (Thu) 21:30:00

  • Thank you very much, Kaw! You are a great teacher! I like using #FuguIta! -- armand-mx? 2019-12-27 (Fri) 02:02:51
  • armand-mx, de nada. Muchas gracias por usar #FuguIta. -- kaw? 2019-12-27 (Fri) 09:35:39

usbfadm update

kaw? (2019-11-14 (Thu) 00:52:42)

As described in FuguIta/6.6, when FuguIta-6.6-arm64 runs without a swap partition, its behaviour becomes unstable.

In connection with this, #FuguIta's remastering tool "usbfadm" is being planned to be able to create a swap partition.


FuguIta 6.6

kaw? (2019-10-31 (Thu) 18:24:34)

The test release of #FuguIta 6.6 is now in the test directory of mirrors.

In 6.6, please notice followings;

  • The ISO image is larger than 700MB. Please use DVD media to burn it.

  • Also, use USB flash drive larger than 2GB.

EFI support?

Mel? (2019-08-26 (Mon) 17:06:02)

otsukaresamadesu
Melと拷します。

i try latest 6.5 image (amd64) on Lenovo T460s ... this Lenovo is configured for EFI boot. USB containing 6.5 #FuguIta image can not boot.

in site i see test image for 6.4 ... but mirror do not have the test images.

  • Hi, Mel-san.
    Thanks for using #FuguIta.
    I've tested the latest image FuguIta-6.5-amd64-201908091. And it worked. My test machine for EFI boot is MacBook Pro.
    Have you been able to boot FuguIta/amd64 on that Lenovo T460 before? -- kaw? 2019-08-26 (Mon) 21:35:00
  • this is first time trying to boot #FuguIta (amd64) on Lenovo T460s. this Lenovo is multi-boot. i have GRUB to boot Ubuntu or Windows 10. i manually select boot device (USB drive) in boot screen, but i return to boot screen. i will continue to check more. -- Mel? 2019-08-27 (Tue) 08:59:26
  • A LiveUSB of #FuguIta/amd64 can be booted with either legacy BIOS or UEFI. This is called "hybrid MBR", and very useful. But this functionality is not standardized and not official.
    I think it's helpful to check other USB-bootable operating systems will boot from your Lenovo T460. -- kaw? 2019-08-27 (Tue) 09:52:52
  • I used Lubuntu DVD image on USB to install the 2nd OS, thus other USB-bootable OS can boot the Lenovo T460. I will try other USB device with #FuguIta image. -- Mel? 2019-08-30 (Fri) 13:36:23
  • I believe that you ungziped the downloaded image (#FuguIta-6.5-amd64-*.img.gz) before you wrote it into USB device. -- kaw? 2019-08-31 (Sat) 09:30:33

Mirror sites for download

kaw? (2019-05-12 (Sun) 08:49:09)

#FuguIta's download mirror sites changed and added

Use the nearest mirror from your location.


6.5 tools

kaw (2019-05-10 (Fri) 14:26:27)

tools to create a live system based on OpenBSD 6.5
were uploaded at tools directory.
Refer FuguIta/FAQ/SelfBuild for creating.


updating FuguIta

aleksa? (2019-03-25 (Mon) 19:41:13)

Hello, kaw!
How can i update FuguIta?

For example, if i have the patched-014 6.4-i386-version with a bunch of installed apps running on a usb drive in mode 3,

is it possible to just substitute that big FFSIMG on sd0a for the one taken from the patched-015 FuguIta-6.4-i386-201903231.img?

  • Hi, Aleksa!

    How can i update FuguIta?

Yes, of course, you can do it.

(You know, LiveCD cannot be re-written, so in that case, prepare another CD media to burn newly released FuguIta)

There are some ways to update LiveUSB version of FuguIta.

I'll introduce two methods, for example.

  • method 1: replace the kernels and the filesystem image

    This is described in FuguIta Guide? (Google Translate is your friend).
    • 1: Boot NEW USB with mode 0. (Boot time configurations may be the minimal)
    • 2: mount OLD USB (assume it's sd1)
      # mount /dev/sd1a /mnt
    • 3: copy NEW kernels and a filesystem image to old USB
      # cp /sysmedia/bsd-fi /mnt
      # cp /sysmedia/bsd-fi /mnt
      # cp /sysmedia/fuguita-6.4-i386.ffsimg /mnt
    • 4: umount sd1, then halt
    • 5: reboot NEW USB and confirm that's updated.
      # uname -a                  # OS version
      # sysctl kern.version       # kernel version
      # cat /usr/fuguita/version  # release of fuguita
  • method 2: migrate installed apps, config files and your data to NEW USB
    • 1: Boot OLD USB with mode 3 you've been used until now
    • 2: Invoke usbfadm, then attach NEW USB and change sync target to it
      # usbfadm
      
      Welcome to usbfadm. 
      USB flash drive administration tool for FuguIta
      
        Version/Arch: 6.4/arm64  (FuguIta-6.4-arm64-201903231)
           Boot mode: usbflash
      Data stored in: /dev/sd0d
       Data Saved as: aleksa_apps
      
      Type ? for help.
      
      sd0d : aleksa_apps ->target 
      
      Searching USB flash drives
      Please make sure the device inserted.
      Then press ENTER -> 
      sd0a +sd0d sd0i sd1a +sd1d sd1i
      
      target device->sd1d
    • 3: Do 'sync' command to NEW USB
      sd1d : aleksa_apps ->sync
      
      Sync current tmpfs as ``aleksa_apps'' , OK? [y/N] -> y
      
      sending incremental file list
      ....snip....
      sent 14,595,555 bytes  received 2,592 bytes  572,476.35 bytes/sec
      total size is 29,789,283  speedup is 2.04
      
      sd1d : aleksa_apps ->bye
      
      Bye bye...
      # halt  
    • 4: Reboot with NEW USB, and check it's OK.

These procedures are valid when OLD and NEW USB are both based on same OpenBSD version. If it isn't (e.g. 6.4 to 6.5), you need to pkg_add manually on a new system, and need to migrate app's config files and your data files to NEW USB by hand.

Finally, I think method 2 is little bit safer. -- kaw? 2019-03-26 (Tue) 01:10:40

  • Updating #FuguIta by method 1 worked fine. Thank you, Kaw, for your work! -- aleksa? 2019-03-26 (Tue) 22:57:30
  • Aleksa, it's nice to hear that. FYI, a LiveCD version of #FuguIta is also OK for source of copying kernels and fs imgs. -- kaw? 2019-03-27 (Wed) 02:48:36

New feature: mount additional partitions

kaw? (2019-03-13 (Wed) 17:42:48)

Unlike most Unix-like OSes, #FuguIta does not mount them at boot time, even if the user writes partition entries in /etc/fstab.

That's because FuguIta scans the all partitions of attached disks to by the script /boottmp/rc. According to that result, it determines apropriate partitions (and vnode devices) to be mounted.

FuguIta generates /etc/fstab after the partition is mounted. Therefore, even if the user adds partition entries to fstab, they will be overwritten at next boot time.

To solve this problem, FuguIta-6.4-201903131 introduced the /usr/fuguita/etc/fstab.tail file.

Describe the partition entries to be mounted in fstab.tail with the same format as /etc/fstab, save with usbfadm.

Those partitions will be mounted at next boot of mode 3.

Note that this is functional only when boot mode is 3.


HDD install?

Vasile Guta-Ciucr? (2019-02-28 (Thu) 23:37:23)

Hi,

Can this live system be used to install to HDD, or is designed to work only live?

  • Yes. FuguIta can be installed to HDD.
    Please read "Can I install this LiveCD to HDD?" section at FuguIta/FAQ. -- kaw? 2019-03-03 (Sun) 01:59:07
  • Thank you! -- Vasile Guta-Ciucur? 2019-03-04 (Mon) 03:51:01


Former articles are at FuguIta/BBS/8.


Return to Top


Attach file: fileinstalldesktop.sh.txt 14 download [Information] filesshot3.png 50 download [Information]
Reload  New Edit Freeze Diff Attach Copy Rename  Top Index Search Recent Backups  Help  RSS
Last-modified: 2020-01-17 (Fri) 16:20:36 (10d)