ukbrian wrote:I posted earlier about using a variable for the partition label and etc/default/grub entry and this might be a way of doing that and also for the name of the snapshot... I think I might be able to convert snapshot to use a file for all it's text just to prove the method.
I've thought about using a variable for the distro name inside the isolinux boot menu. I think I could do that by reading a template of the file into place and having the variable in the template. Never got around to trying it, though. The mechanism for replacing the distro name already exists - there's a config for the iso directory in refractasnapshot, so you can replace the boot menu and help files with whatever you want. Or you can edit the boot menu on the fly.
Edit: The name of the snapshot.iso is already a variable. You can change it in etc/refractasnapshot.conf. The date/time stamp is in the code, but you can change that to just a single number 1, 2, 3 for successive snapshots. Also in the config file. Comment out stamp="datetime" for that.
For grub, it's just a matter of editing the files on the running CD before you make the snapshot. (Or learning about and messing with lsb-release.)
NOTE
If I put a slash in front of etc/default/grub I get a 404 when I preview.
We're aware of the etc bug. It went away for awhile, but now it's back. Apparently, it's a paranoid security feature that I can't control.
Is it possible to pass coordinates to yad so the windows don't open in the center all the time? it doesn't matter with snapshot/installer but I've been messing about with Anthony's Yad Ducky script doing a prototype menuing system but I'd like the screens to open at the bottom right corner as in this snapshot.
http://lin.me.uk/refracta/refracta-desktop-3.png
From 'man yad'
- Code: Select all
--geometry=WIDTHxHEIGHT+X+Y
Use standard X Window geometry notation for placing dialog. When this option is
used, width, height, mouse and center options are ignored.
@fsr
Is there a way to lock the focus into the snapshot screen when the snapshot is taking place to prevent the user doing other things.
I don't know, and I'm inclined to allow the user the freedom to do whatever they want, including hanging themselves.
@nadir
Plain text scripts on github will probably happen some time. I haven't decided what I'm going to do with the way we're using github, but something will surely change. I don't think we need to keep the deb files there - most people already know how to download files in a browser, so that's easier than updating the github clone in a terminal. I probaby need to make a new repo, and leave the current one alone for awhile (approximately until everyone is done with wheezy.)
Link to the unofficial sid-based refracta: http://exegnulinux.net/refracta/iso/
I got the 131004 version, and I'm pretty sure that's the one dzz recommended. I'm not opposed to putting up an announcement for that. dzz, you got any objections?
Also, I plan to put up a sid-based iso before the end of the year. The one I'm running now (in vbox) doesn't have all the usual packages installed, and I'll probably keep it that way for awhile.
Then more will come when jessie freezes.