Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Proto-Refracta Jessie with sysvinit

For general announcements.

Re: Proto-Refracta Jessie with sysvinit

Postby fsmithred » Thu Nov 26, 2015 1:46 pm

refracted-jessie-sysv, which was released last December, has been updated/upgraded to Devuan. Packages that were pinned to wheezy versions or older testing versions have been replaced with devuan versions that don't require systemd or its libraries.

This build has no systemd or its libs and has never had them. It does contain newer versions of refracta tools, and there are some new desktop backgrounds created by golinux. Other than that, it's the same openbox/lxpanel/spacefm build as before.

Download the iso:
http://sourceforge.net/projects/refract ... o/download

Or download the zsync file, and run the following command from the same directory as the old iso:
http://sourceforge.net/projects/refract ... c/download
Code: Select all
zsync -i refracted_jessie_sysv-20141203_1737.iso http://downloads.sourceforge.net/project/refracta/testing/jessie-sysv.3-20151126_0014.iso


See the Release Notes below (sanitized for forum restrictions - remove the space from "/ etc/")

Refracta_8_sysV (aka refracted-jessie-sysv, jessie-sysv.3) November 2015


CONTENTS

1. Login and Passwords
2. Package Manager Settings
3. Avoiding systemd libraries completely
4. Making a snapshot from an encrypted system
5. MPlayer
6. memtest86+ multi-boot and serial console


This is a beta version of Refracta 8, built initially on Debian Jessie
(Testing, Dec. 2014) and then later updated to Devuan Jessie (Stable
pre-beta, Nov. 2015).



LOGIN AND PASSWORDS

The live system will automatically log you into the desktop upon boot.

The installed system requires login to console. After that, you can
run 'startx' on the command line to start a graphical session. There is
no display manager, so there is no graphical login screen.

login name: user
password: user

Root password is "root".
Sudo is enabled ONLY for a few commands:
halt, reboot, pm-hibernate, pm-suspend.


This system uses Openbox window manager with some parts from lxde.
To add or remove programs from the autostart list,
edit ~/.config/openbox/autostart





PACKAGE MANAGER SETTINGS (Apt Pinning, etc.)

Any packages with "systemd" anywhere in the name are excluded.
Packages that were previously pinned to older versions in order to avoid
systemd dependencies have been replaced with Devuan packages.

There are still some packages that depend on systemd parts and will not
install with the current pinning. Run 'aptitude -s install <package name>'
to test.

If you edit 00pinsystemd and change "*systemd*" to "systemd*" and then
update/upgrade, you'll get libsystemd0, which will allow you to install
some things that were otherwise not available.



AVOIDING SYSTEMD LIBRARIES COMPLETELY

If you'd like to test some repackaged deb files that do not require
systemd or libsystemd0, you can uncomment one or more extra repositories
in / etc/apt/sources.list.d/nosystemd

Add the angband repo for most nosystemd packages.

Add the exegnulinux repo for:
sane-utils, consolekit2, eudev, apt-cacher-ng, newer cups* debs



/ etc/apt/preferences.d/00pinsystemd:
--------
Package: *systemd*
Pin: origin ""
Pin-Priority: -1
--------


/ etc/apt/apt.conf.d/00defaultrelease
--------
APT::Default-Release "jessie";
--------


/ etc/apt/apt.conf.d/02norecommends
--------
// Comment out the line below if you want Recommends
// automatically installed with packages.
APT::Install-Recommends 0;
APT::Install-Suggests 0;
--------



MAKING A SNAPSHOT FROM AN ENCRYPTED SYSTEM

To create a bootable snapshot of an encrypted system, you need to change
a few things. Note: THE SNAPSHOT WILL NOT BE ENCRYPTED!!!

- Add / etc/crypttab and / etc/initramfs-tools/conf.d/resume to the excludes
list (/usr/lib/refractasnapshot/snapshot_excludes.list)

- Run nocrypt.sh (cli) or nocrypt2.sh (gui) to create a custom initrd
that does not contain conf/conf.d/cryptroot or conf/conf.d/resume files.
The custom initrd will be in your home directory.

- Set $edit_boot_menu to "yes" in / etc/refractasnapshot.conf

- Run refractasnapshot, and when it pauses to allow you to edit the
boot menu, copy your custom initrd into $work_dir/iso/live/
Be sure that the boot menu lists your custom initrd.



MPLAYER

MPlayer is installed. Really, it is. Right-click on a video file in the
file manager (spacefm) to start it. Or use the command-line.



MEMTEST86+

There is only one entry for memtest86+ in the boot menu. To change it back
and have entries for multi-boot and serial console, do the following as root.

cd / etc/grub.d/

mv 20_memtest86+ 20_memtest86+.modified
chmod -x 20_memtest86+.modified

mv 20_memtest86+.orig 20_memtest86+
chmod +x 20_memtest86+

mv /boot/memtest86+_multiboot.bin /boot/memtest86+_multiboot.bin.bak
update-grub


User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Re: Proto-Refracta Jessie with sysvinit

Postby fsmithred » Sun Nov 29, 2015 10:10 pm

jessie-sysv-amd64
http://sourceforge.net/projects/refract ... o/download

No zsync file for this one, because there was no previous iso released. This has the same lineage as the 32-bit version:
Minimal wheezy install, pinned systemd and a few packages that needed libsystemd0, upgraded to debian jessie (last April), installed openbox, lxpanel, lxterminal, spacefm and a bunch of the usual apps, then unpinned/unheld the few wheezy versions and upgraded to Devuan this week.

Both of these upgrades were easy. Just change to devuan sources, update and upgrade. The hard part was remembering how I set up the desktop a year ago on the 32-bit version, so I could repeat it on the 64.
User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Re: Proto-Refracta Jessie with sysvinit

Postby golinux » Mon Nov 30, 2015 5:44 pm

I just gave jessie-sysv-amd64-20151129_1536.iso a spin. This is the best looking Openbox offering that I've seen to date but Openbox is still a bit of a mystery to me. Could not find a way to mount my internal drives to copy my iceweasel profile or I would be writing this from the live disk. Looks like an older version of the desktop wallpaper - not rotated and font too big. Liked the purple in the panel bg. The funky blue highlight in the window theme needs to go but learning how to do an Openbox window theme is a project for another day.

Got this error when I tried to open the .ogg on the desktop:

Code: Select all
ALSA error: No suitable mixer element found.

ALSA error: snd_pcm_open failed: No such file or directory.

Might be due to the weird sound setup on this board that requires an .asoundrc config but I had no way to get to it.

I suppose I could dive into Openbox but not right now. I'm going to hold out for a systemd-free xfce version. But Refracta with penbox could be a viable fallback.
May the FORK be with you!
User avatar
golinux
 
Posts: 661
Joined: Thu Nov 08, 2012 1:23 am

Re: Proto-Refracta Jessie with sysvinit

Postby golinux » Mon Nov 30, 2015 8:13 pm

Oh . . . and would be a good idea to switch out the grub BG to the new one.
May the FORK be with you!
User avatar
golinux
 
Posts: 661
Joined: Thu Nov 08, 2012 1:23 am

Re: Proto-Refracta Jessie with sysvinit

Postby fsmithred » Mon Nov 30, 2015 8:23 pm

Open the file manager (the blue cube) and on the left is a panel with drives. Click on one to mount it, and it will open in a new tab. Right-click to unmount.

I thought the amd64 iso had the latest backgrounds, but maybe they're the last ones before the last ones. I will be sure about it before the next build.

The old custom themes that I made seem to work, but not exactly the same as I remember them. But that could be my new vid card. Lotta stuff looked different when I got that. Are you talking about the blue highlight around the text on whatever desktop icon you select? That used to be grey. Still is, in my wheezy. Somewhere around here, or maybe fdn, there's a conversation between meandean and me about editing themes. And I'm pretty sure there's a thread here that mentions which themes are gtk2/gtk3 compliant. Search for greybird-mac or albatross or maybe clearlooks.

I'm going to put this here for later reference (me, you or anyone) - the diffs on the Greybird-Mac config. The "+" shows the added/changed parts. Oh, I think the iso went out set to Raleigh, which has less blue than the Greybird-Mac. Yeah, it would be nice to figure it out. I noticed it, but couldn't fix it quickly. That was right before I made the iso.
Code: Select all
diff -u /usr/share/themes/Greybird-Mac/gtk-2.0/gtkrc /usr/share/themes/Greybird-Mac_custom1/gtk-2.0/gtkrc
--- /usr/share/themes/Greybird-Mac/gtk-2.0/gtkrc   2012-05-16 15:31:15.000000000 -0400
+++ /usr/share/themes/Greybird-Mac_custom1/gtk-2.0/gtkrc   2012-11-13 11:53:25.000000000 -0500
@@ -758,3 +758,15 @@
include "apps/terminal.rc"
include "apps/thunar.rc"
include "apps/gmusicbrowser.rc"
+
+style "xfdesktop-icon-view" {
+XfdesktopIconView::label-alpha = 0
+base[NORMAL] = "#000000"
+base[SELECTED] = "#94928d"
+base[ACTIVE] = "#b5b3ac"
+fg[NORMAL] = "#ffffff"
+fg[SELECTED] = "#ffffff"
+fg[ACTIVE] = "#ffffff" }
+
+# xfce4 stuff
+widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"


Here's the diff between custom1 and custom2:
Code: Select all
diff -u /usr/share/themes/Greybird-Mac_custom1/gtk-2.0/gtkrc /usr/share/themes/Greybird-Mac_custom2/gtk-2.0/gtkrc
--- /usr/share/themes/Greybird-Mac_custom1/gtk-2.0/gtkrc   2012-11-13 11:53:25.000000000 -0500
+++ /usr/share/themes/Greybird-Mac_custom2/gtk-2.0/gtkrc   2012-11-13 11:55:27.000000000 -0500
@@ -764,9 +764,10 @@
base[NORMAL] = "#000000"
base[SELECTED] = "#94928d"
base[ACTIVE] = "#b5b3ac"
-fg[NORMAL] = "#ffffff"
-fg[SELECTED] = "#ffffff"
-fg[ACTIVE] = "#ffffff" }
+fg[NORMAL] = "#000000"
+fg[SELECTED] = "#0000ff"
+fg[ACTIVE] = "#0000ff" }

User avatar
fsmithred
 
Posts: 2082
Joined: Wed Mar 09, 2011 9:13 pm

Re: Proto-Refracta Jessie with sysvinit

Postby golinux » Mon Nov 30, 2015 9:21 pm

fsmithred wrote:Open the file manager (the blue cube) and on the left is a panel with drives. Click on one to mount it, and it will open in a new tab. Right-click to unmount.

Yes, I opened the file manager but IIRC the drives were not listed in the LH pane. I clicked around and finally found a listing of the partitions. But an attempt to mount via a right click produced an error message that said something like it wasn't a removable device.

fsmithred wrote:I thought the amd64 iso had the latest backgrounds, but maybe they're the last ones before the last ones. I will be sure about it before the next build.

I checked when I got back on devuan with the latest iteration on my desktop and the font was the final, smaller size. Easy enough to switch out.

fsmithred wrote:The old custom themes that I made seem to work, but not exactly the same as I remember them. But that could be my new vid card. Lotta stuff looked different when I got that. Are you talking about the blue highlight around the text on whatever desktop icon you select?

Didn't notice that but I did notice that highlighting a file entry in spacefm was kind of a nasty bluish color. If there is any gtk3 involved stuff like that will happen. I can edit a gtkrc. Did custom window themes based on xfce to match the devuan desktop wallpapers. I thought I sent those screenies to you. FWIW, I'm not a fan of greybird - too macish.
May the FORK be with you!
User avatar
golinux
 
Posts: 661
Joined: Thu Nov 08, 2012 1:23 am

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred