Geoff
]]>I tried dillo, and it would not let me go to youtube. I didn't expect to watch video with it, but I wanted to see what I got. It's like it didn't even try to get to the page. I was able to get there with links2, and after adding youtube-dl I could download a video and watch it with mpv.
]]>sudo /sbin/shutdown -h now
but my first attempt needed a password, so I have reworked /etc/sudoers.d/user_shutdown so that it now looks like :-
Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown -h now, /sbin/shutdown -r now
Host_Alias LOCAL_HOST = iron, localhost
ALL LOCAL_HOST = (root) NOPASSWD: SHUTDOWN_CMDS
this now works as expected.
Geoff
]]>I will try dillo. I only tried a couple of browsers and gave up quickly, because they needed dbus.
]]>I have installed dillo which seems to work as a nice lightweight browser. I found it when claws-mail switched to using it to render html.
Geoff
]]>User has sudo nopasswd enabled for halt, reboot, pm-suspend and pm-hibernate. Oh, you might have disabled that in the install. If so...
echo "user ALL= NOPASSWD: /usr/sbin/pm-suspend, /usr/sbin/pm-hibernate, /sbin/halt, /sbin/reboot" > /etc/sudoers.d/user_shutdown
To restore it.
Right-click on the desktop should give you the openbox menu, and I've added reboot and shutdown. Warning: Those two work without asking for confirmation.
You can tie the logout in lxpanel to one of the quit-dialog scripts in /usr/local/bin. I missed that and should add it to the blend.
elogind would pull in policykit-1 and dbus, and the user would be able to use the dbus shutdown commands.
]]>I have a small number of observations from having installed it.
As I went through the installation, I was offered an existing swap partition and I failed to realise that I had to click on it to select it, as there was only one to choose and I ending up having to start again ;-)
I changed the passwords and had to have a second go at the user pwd before I managed to duplicate it correctly. This may be to do with the tiny keyboard on the Eee PC. When it booted up I could log in and it looked sensible, however I discovered that I didn't know the root password. It took some investigation before I worked out the the root password had not been changed to the new one. This may have been finger trouble on my part, but I thought it went ok at the time.
There is no way to shutdown from within X. Providing you know the root password or are set up in sudoers then this can be worked round. I think that I can work out how to get something in lxpanel working... Is this related to not having elogind installed?
Anyway, it is all good fun, thank you.
Geoff
]]>evo n610c i386.
I had to google it, and the first hit was Berkeley Archeology. At first I thought maybe it was a museum piece, but no, it's just one of the items on their equipment list. If you need to save ram, run ps_mem.py to see what you can kill.
Here's the config file showing what I installed. It's not the complete package list - lots of other things got pulled in as dependencies. (Recommends are turned off.)
#!/usr/bin/env zsh
# config for refracta-nodbus.blend (beowulf)
version=10.0test
base_packages+=(
bash-completion
texinfo
acpi-support-base
aptitude
apt-listchanges
console-setup
debootstrap
debsums
discover
dnsutils
doc-debian
docutils-common
docutils-doc
ftp
gettext
gnupg2
# grub-efi-amd64-bin
# grub-efi-ia32-bin
# grub-pc-bin
$grubversion
haveged
laptop-detect
lsof
mlocate
mutt
ncurses-term
nfs-common
procmail
# reportbug
telnet
unzip
usbutils
w3m
whois
zip
)
extra_packages+=(
sshfs
mbr
w3m
hwinfo
moc
ffmpeg
ntfs-3g
dosfstools
live-config
live-config-sysvinit
squashfs-tools
xorriso
pmount
pv
rsync
syslinux
syslinux-common
syslinux-utils
isolinux
gdisk
irssi
scrot
feh
p7zip-full
pm-utils
sysv-rc-conf
tree
file
live-boot-doc
live-config-doc
dkms
eject
xorg
xserver-xorg
xinit
xserver-xorg-video-all
xserver-xorg-legacy
libelogind0
gconf-service
gconf-gsettings-backend
xterm
openbox
openbox-menu
obconf
# libpam-elogind
$linuxheadersversion
build-essential
lxappearance
lxappearance-obconf
lxpanel
lxterminal
lxrandr
spacefm
xarchiver
libnotify-bin
links2
mesa-utils
gparted
# leafpad
geany
gtk2-engines
firejail
firejail-profiles
# wicd # needs dbus
xscreensaver
xserver-xorg-video-all
xserver-xorg-video-intel
x11vnc
xtightvncviewer
yad
refractainstaller-base
refractainstaller-gui
abiword
abiword-common
acl
arp-scan
asunder
# bleachbit requires policykit-1
cifs-utils
cryptsetup
lvm2
mdadm
deborphan
dkms
dmidecode
eject
ethtool
fdupes
firmware-linux-free
gddrescue
gdmap
geeqie
gftp
gimp
grsync
hardinfo
hddtemp
hdparm
hexchat
hexedit
hicolor-icon-theme
htop
hwinfo
iftop
lm-sensors
locales
meld
mpv
mtools
multiarch-support
net-tools
# partimage no package
patch
pciutils
ppp
pppconfig
pppoe
pppoeconf
rename
sane-utils
smartmontools
strace
testdisk
transmission-gtk
uuid-runtime
volumeicon-alsa
vorbis-tools
vrms
wget
winff
wodim
xinput
xpdf
xsane
)
# Replace the default purge_packages list if you want to keep dbus.
# or add any packages you want to purge.
#
purge_packages=(
dbus
debian-keyring
)
custom_deb_packages+=(
deadbeef-static_0.7.2-2_${arch}.deb
fig29-31_1.0.deb
firemenu-1.2.deb
refracta-lang_1.1.deb
refracta2usb-2.4.1.deb
refractasnapshot-base_10.2.1_all.deb
refractasnapshot-gui_10.2.2_all.deb
usbpmount-1.2+blend.deb
)
https://get.refracta.org/files/experimental/
refracta10-nodbus_amd64-2019-04-16.iso 17-Apr-2019 01:05 703594496
refracta10-nodbus_i386-2019-04-16.iso 17-Apr-2019 01:23 687865856
No dbus (just some libs), no *kits, no libsystemd0, most of the same apps that go into the xfce builds.
You can probably get rid of most of the dbus libs if you remove abiword and transmission.
You can replace xpdf with atril. (Not sure if that'll pull in dbus libs again, but it won't pull in dbus. I left it out to keep the iso size down.)
Made with live-sdk. I'll post the blend files when I decide where to put them.
]]>Refracta no-dbus build (experiment)
wpasupplicant \ # get libdbus-1-3 here
I recently debianized wpasupplicant without libdbus, so that simple-netaid will run without any dependency on dbus.
]]>wpa_supplicant seems to working fine so i will leave it alone.
I created a wifi.desktop file and it just brings up a terminal and executes the script. Pretty no frills way of connecting the wifi but hey it works and i only have two connections i can do in my home, 1 wifi connection or tether my phone for ethernet.
Cheers
]]>Here's a sample entry for /etc/network/interfaces.
This example is for WPA2 Personal encryption with shared ASCII key.
Items marked with ### are only needed for encrypted networks.
Use appropriate local IP numbers.:
# wireless interface
iface wlan0 inet static
wpa-driver wext
wpa-ssid <ssid>
### wpa-proto is WPA for WPA1 (aka WPA) or RSN for WPA2
wpa-proto RSN
### wpa-pairwise and wpa-group is TKIP for WPA1 or CCMP for WPA2
wpa-pairwise CCMP
wpa-group CCMP
### use 'wpa_passphrase <ssid> [passphrase]' to generate hex-key
### enter the result below
wpa-psk <hex-key>
address 192.168.xxx.xxx
netmask 255.255.255.0
gateway 192.168.1.1 (maybe)
auto wlan0
Somewhere on this page tells you how to set up multiple logical interfaces for a single physical interface. (set up wlan0 for different wireless networks): https://www.debian.org/doc/manuals/debi … rence/ch05
And this page says that the better way to do it is with wpasupplicant, so maybe you should ignore my advice:
https://unix.stackexchange.com/question … -locations