LinuxVillage

Projects and resources (En) => Contributing to FOSS => Create masters => Discussion démarrée par: Taco.22 le 17 janvier 2013 à 00:15:18

Titre: Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 17 janvier 2013 à 00:15:18
Village_RC1 has now been superseded by the new and improved Village_RC2 (http://linuxvillage.net/index.php/topic,56.0.html).  Check it out, download it and give it a run.



This is Village_RC-1.  It is a spin based on Scorpio, but with the some of the more esoteric features stripped out, and some other features included.


Village_RC-1.iso           489mb
Village_RC-1.iso.md5      51kb

It is based on Openbox Wheezy with Testing enabled.  If you want to change to Stable or SID then just edit /etc/apt/sources.list accordingly.  The wallpaper and DM login have been given their own look.  Feel free to workshop those!  It comes with Openbox-menu; lightDM as DM; Thunar as FM; WICD for networking; Midori as browser; Sakura as default terminal; Geany as editor; XFburn for writing CD/DVDs; Geeqie for images; Nitrogen for wallpaper; Synaptic as package manager; Tint2 as panel; Remastersys for remastering and conky as system monitor.  The desktop keybindings remain the same.  Screenshots are enabled by scrot through the right-click menu or by hitting "PrintScreen".  CUPS printing is available through the browser via its own command under "Applications-System Tools - Print"
Urxvt and Pytyle have been removed. 
It has been designed as a basic but fully functional base for people to build their own spin.  If you want to overlay LXDE or another desktop manager; change browser, file manager or panel; set up a multimedia or diagnostic spin; port it to another language; add things like ZRAM and sudo;  it is the raw canvas that will allow you to build what you want.  Or you can use it just as it is!
This will allow members of the Village to do their own builds and share them through Village community.  We can all troubleshoot issues and bugs together, and the spins can be promoted through the Village website.  So please make use of this resource - after all, it is yours.  Enjoy.

Screenshot below -
(http://dl.dropbox.com/u/18945176/screenshot.png)
 
Titre: Re: Villlage_RC-1: Openbox base for community development
Posté par: djohnston le 17 janvier 2013 à 04:21:27
See if this helps.

http://dl.dropbox.com/u/31006290/Village_RC-1_TEST_xz.iso (http://dl.dropbox.com/u/31006290/Village_RC-1_TEST_xz.iso)
http://dl.dropbox.com/u/31006290/Village_RC-1_TEST_xz.iso.md5 (http://dl.dropbox.com/u/31006290/Village_RC-1_TEST_xz.iso.md5)

It's a remaster of Taco.22's remaster. The Semplice team has written some excellent tools. One is a python Internationalization and Localization program. It carries the GPL_v3 license. I added their repo source temporarily, ("pulse", which is Semplice version 3), and installed the two packages. Here's the list:

Packages
--------
keeptalking (2.21.1-1)
python-keeptalking (2.21.1-1)

Required dependencies
---------------------
console-common (0.7.87)
console-data (2:1.12-2)
gir1.2-atk-1.0 (2.4.0-2)
gir1.2-freedesktop (1.32.1-1)
gir1.2-gdkpixbuf-2.0 (2.26.1-1)
gir1.2-gtk-3.0 (3.4.2-4)
gir1.2-pango-1.0 (1.30.0-1)
python-t9n (1.14.2)
screen (4.1.0~20120320gitdb59704-7)

After adding the packages, I unchecked the Semplice source list in Synaptic, but left the file intact as /etc/apt/sources.list.d/semplice.list. Semplice is using Debian unstable packages, and I don't want to mix them with testing. Bad news. Anyway, feel free to delete that file, if deemed necessary.

On first boot, after installing from Village_RC-1.iso, I noticed a locale error message. So, I looked at /var/log/boot.log and found the following:

"/etc/environment has been deprecated for locale information; use /etc/default/locale for LANG=fr_FR.UTF-8 instead"

Evidently, that config file wasn't doing anything, anyway. When I first ran the Semplice program, it showed English(Australia) UTF-8 for the locale. I changed that to English(US) UTF-8.

(http://s19.postimage.org/n5utkwalb/locale04.jpg) (http://postimage.org/image/n5utkwalb/)

The keyboard was correctly set.

(http://s19.postimage.org/tktuhkhb3/locale05.jpg) (http://postimage.org/image/tktuhkhb3/)

Although I specified America/Chicago as my timezone when I ran the remastersys installer, the Semplice program was showing America/New York. Not sure what's going on there. Anyway, I changed it to America/Chicago.

(http://s19.postimage.org/nxxhk3esf/locale06.jpg) (http://postimage.org/image/nxxhk3esf/)

After I was satisfied with the changes made, I clicked the OK button. A progress bar appeared as the changes were being applied. I then saw the following window.

(http://s19.postimage.org/44ldre1en/locale_final.jpg) (http://postimage.org/image/44ldre1en/)

You can find the menu item in Applications > Preferences.

(http://s19.postimage.org/b9370f8nz/locale01.jpg) (http://postimage.org/image/b9370f8nz/)

Running the program requires root privileges. Unfortunately, part of the window message is in Italian. The desktop file only contains English and Italian translations.

(http://s19.postimage.org/4759e8527/locale02.jpg) (http://postimage.org/image/4759e8527/)

I also added the kernel-image package, along with virtualbox-guest-dkms package, and all dependencies, in order to get a fully working implementation for a VBox guest. This allows me to transfer files more easily, along with fully integrating the mouse. Feel free to remove those packages if you deem it necessary.

When I first remastered, the resulting iso was 515 MBs, a bit larger than the original. So, I remastered again, using xz compression, instead. The resulting iso is 401 MBs, smaller than the original. The iso listed is the xz compressed one. Nice artwork, by the way.

You guys will have to look at this and see whether it will be a help or hindrance to localizing remasters in the long run. Please put your trays in the upright position and have a pleasant flight.
Titre: Re: Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 17 janvier 2013 à 05:26:34
Just an update on the updates!  Thanks to djohnston we now can configure locales and language properly.  I am updating Village_OB as we go and so far -
corrected the "Internationalization & Localization" (do you think they could have made that longer!!) .desktop file to now show the dialogue box in local language
It all seems to be working well.  Once melodie is done with the French part of the OB config files we can look at uploading RC2.  In the meantime, maybe a name would be a good thing.  Perhaps something related to Villages.  I was thinking about "SquareBox", after the village square, but somehow it doesn't quite have it.  So let's just throw a bunch of names up in the air and see what comes down right side up!
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 19 janvier 2013 à 10:35:32
I can't seem to get the Semplice repo active - http://softlayer.dl.sourceforge.net/project/semplice-linux/archive/ pulse main contrib non-free (http://softlayer.dl.sourceforge.net/project/semplice-linux/archive/ pulse main contrib non-free)
Apt-get update throws a "Connection failed" error, and I can't get to the repo via browser - "This webpage is not available".  We need to sort this for the Inter&Loc application.
This link http://sourceforge.net/projects/semplice-linux/files/?source=navbar (http://sourceforge.net/projects/semplice-linux/files/?source=navbar) gets to a files page with repo listed but I can't get any further.

EDIT - ah, the last link does work.  I am now looking for the app.  I'll have a look at how we set up apt-get sources.list.  I don't know if it is me but poking through this part of sourceforge is very hit and miss - error messages about pages that won't load, but then do a bit later, but then not again!  Don't know - maybe they're doing maintenance?

EXTRA EDIT - the app is called "keeptalking" and the Semplice project page can be found here (http://suckered.us/site1/?__proxy_url=aHR0cHM6Ly9sYXVuY2hwYWQubmV0L2tlZXB0YWxraW5n).
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 19 janvier 2013 à 23:39:59
Hi,

Please send me a reminder by mail in the middle of the coming week, about the files to provide with the translations.

Thanks.


Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 22 janvier 2013 à 02:35:00
After a long running battle trying to get gigolo to autostart, I realise there is a bigger issue.  For some reason Village_RC1 won't execute applications through ~/openbox/autostart.  However they will on my own Scorpio which is based on what Village is based on.  So what has changed in the Village base?
Titre: Re : Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 22 janvier 2013 à 02:42:46
So what has changed in the Village base?

Is your autostart file executable ? Do you have a correct ~/.xinitrc file ?

Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 22 janvier 2013 à 02:57:49
I had tried checking the "Allow this file to run as a program" but no change.  On my system that box isn't checked.  Here is the .xinitrc -
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xrdb -merge ~/.Xresources #update x resources db

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

exec dbus-launch openbox-session

Same as Scorpio.
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 22 janvier 2013 à 03:11:29
Hi,

Do as user:
$ chmod a+x ~/.config/openbox/autostart
then paste here the result for:
$ ls -l ~/.config/openbox/autostart

Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 22 janvier 2013 à 03:21:39
guest@village:~$ chmod a+x ~/.config/openbox/autostart
guest@village:~$ ls -l ~/.config/openbox/autostart
-rwxrwxr-x 1 guest guest 894 Jan 22 09:48 /home/guest/.config/openbox/autostart
guest@village:~$
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 22 janvier 2013 à 03:24:33
-rwxrwxr-x // is the same as "775" therefore your file is executable (and should look green in the console where you invoked the "ls -l").


Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 22 janvier 2013 à 03:29:29
Yes, that was when I had the box ticked.  Unticked it's "-rw-rw-r--", same as what I have in Scorpio, which seems to work fine.
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 23 janvier 2013 à 03:19:44
Hallejuhah - a solution at last!!

That was one of the most frustrating tussles I've had in a while, but in the end there was a simple issue, as usual.  I did a clean reinstall and discovered I had a clash between the wicd tray icon I had installed and just about everything else.  Without the wicd tray icon gigolo installed worked as it should.  I have now added the wicd tray icon properly and all is well.

So Village_OB is back on track to an RC2.

One other small dilemma - I was reconsidering dumping nitrogen but I can't seem to get it to run as user - works fine as root!  Nitrogen install does not bring a .desktop file which is a bit of a glitch, so I had to write one myself.  By the way I think the "Applications" folder I put in .local should have been spelt "applications".  There are .desktop files in /usr and .local.  When launched as user from terminal the error read-
terminate called after throwing an instance of 'Gio::Error" 
Aborted
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 23 janvier 2013 à 03:44:53
Hi,

What about using feh, which is as good as any hsetroot, nitrogen or else ?

djohnston had wrote a nice article in the pclos mag where he explained how to get the background changing every "so" minutes, and I have alsways provided the 2 command lines provided to me by someone else : one for a fixed background, one for changing randomly at each session.

These options are still in the latest "etcskel" tarballs.

PS: have you tested the ability provided by "catfish" to find anything or several things in the system ? I am asking because some time ago I had done tests and I didn't really find one gui program doing as well as "find" or "locate".


Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 23 janvier 2013 à 04:06:40
Feh and hsetroot a both need text editing to change config - I find hsetroot a little easier to set.  Plus it carries over the wallpaper in the live cd - I haven't tested feh for that.  However if the vote is for feh I can reconfigure that.

Catfish is something I have used for a while, and it was only just now that I thought of putting into Village!  It works well, is uncomplicated and has so far found everything I have set it to.
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 23 janvier 2013 à 07:12:44
Well we're almost there!

I have now incorporated the xcompmgr scripts from melodie's etcskel files into the Village menu.xml.  I have also installed volumeicon-alsa which now appears in the tray.

I umm'ed and ahh'ed over the wallpaper app issue, and have come to a middle ground.  Hsetroot is out, and feh is in, and the reason for that is that I have given Thunar a custom action that allows a right-click on any image and feh will set that as the wallpaper AND remember it for the next login session.  But, and don't you hate that, there is a small but.

Thunar already has a built in plugin just for that purpose.  If you have Thunar in front of you just right-click on any image and you should see an option to set wallpaper.  The but?  It uses xfdesktop4 and only works in XFCE!  Unfortunately it is hardwired in and unless someone feels like recompiling Thunar with the --disable-wallpaper-plugin parameter we are stuck with it.  However the new custom action works like charm and now wallpaper can be set on the fly.

Now a small request.  I have tried many icon themes and although I have temporarily settled on Azensis it is a little too dark.  However its saving grace is that it has an icon for everything.  Tango is cute but has too many holes - gets annoying when there is no icon for ISOs!  So any ideas?

Should have this thing up soon.
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 23 janvier 2013 à 12:30:52
Hi,

How easier is hsetroot ? The only thing I use it for is to set the background black, so that it is not grey right after login, but black, before the wallpaper (displayd by feh) appears. Something such as:
hsetroot #000000
I didn't "study" how feh works, I got the 2 command lines which follow in all the configuration sets, from someone else.


Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 23 janvier 2013 à 15:04:30
Setting hsetroot like this in ~/.config/openbox/autostart is simple -
hsetroot -fill /path/to/image.file
I guess the code for feh is just as simple, but for some reason I had a mindset about it!!
feh --bg-scale /path/to/image.file
You can do more with feh, but hsetroot is a light barebones approach if you want total simplicity.
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: kjdixo le 23 janvier 2013 à 20:34:15
Hi
I have added a new topic
This is how I set up feh and stalonetray (http://linuxvillage.net/index.php/topic,58.0.html)
I hope this is useful to someone.
kjdixo

Titre: Re : Re : Villlage_RC-1: Openbox base for community development
Posté par: patrick013 le 24 janvier 2013 à 03:10:02

Now a small request.  I have tried many icon themes and although I have temporarily settled on Azensis it is a little too dark.  However its saving grace is that it has an icon for everything.  Tango is cute but has too many holes - gets annoying when there is no icon for ISOs!  So any ideas?


http://www.silvestre.com.ar/

His gnome icon sets are very nice and should work.

patrick
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: Taco.22 le 24 janvier 2013 à 05:47:12
Thanks for the link.  I checked them out but only one had icons for everything - the ISO is a classic miss.  Dropline Neu! was good, but I'm not sure about the table as a desktop icon!!

I found another couple of sets - MeliaeSVG (http://sora-meliae.deviantart.com/art/Meliae-SVG-Icon-Theme-v-1-2-151155215) and FastForward (http://liliumcruentus.deviantart.com/art/FFW-Fast-Forward-iconset-156364837).

This screenshot (http://dl.dropbox.com/u/18945176/icons.png) shows MeliaeSVG with Clearlooks theme on the left, and  FastForward with Syscrash theme on the right.  Neither are small, being 45mb and 65mb installed respectively. 

My leaning is toward MeliaeSVG, I'm running that on my system at the moment.
Titre: Re : Villlage_RC-1: Openbox base for community development
Posté par: melodie le 24 janvier 2013 à 12:22:40
if the "svg" sets have their icons as svg it won't be shown in the openbox right-click menu. If it is png then it will work.

In the Ubuntu Openbox versions, so far I have used large icon themes.
murrine-themes
gtk2-engines-murrine

and this one which brings the blue color using the above theme:
http://gnome-look.org/content/show.php/Faenza?content=128143

For who has not seen yet what it looks like:
(http://meets.free.fr/debian/images/BoxBuntu.png)


The full gnome icon theme is also installed.
gnome-icon-theme 3.4.0-0ubuntu1.1
gnome-icon-theme-full 3.4.0-0ubuntu1.1

(Yes, that's bloated!  ;) )