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!

6.0.4-xfce/icewm beta

Refracta Development, Scripts, etc.

Re: 6.0.4-xfce/icewm beta

Postby meandean » Mon Apr 11, 2011 4:24 am

I am not sure if i understand it correct.


I just don't care for xfce. That is just me personally though. I know many do like it and that is why I suggested fsmith make a xfce version.


What i did never understand is why people try to avoid gnome-apps.

Well pulling in 200mb of gnome libs for gedit is kind of silly. In that case avoiding gnome apps (gedit) makes sense. Whereas if you are going to use gedit, gthumb, abiword, gnumeric, brasero, and so forth then pulling in 200mb of gnome libs makes sense.

So I wasn't really saying avoid them but rather decide if you want any gnome stuff and if so then consider using more gnome stuff since they have great apps. Of course since xfce is installed adding in xfce apps isn't going to bloat anything either. So a mix in this case is probably sensible...considering it it almost impossible to go totally gnome (gksu, gconf, gvfs)free.
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: 6.0.4-xfce/icewm beta

Postby meandean » Mon Apr 11, 2011 4:32 am

woops....it will be a little while....forgot I was pulling down a mirror of the enlightenment site...
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: 6.0.4-xfce/icewm beta

Postby fsmithred » Mon Apr 11, 2011 4:23 pm

I won't start from scratch on this one, but I will on the next. I built this by putting most of the things I wanted in the initial build, which was made with live-build. Then I installed in in vbox for tweaks. A lot of extra stuff got installed in the beginning. Next time, I'll start with a minimal install in vbox and add to it.

Sylpheed and its deps are now gone. There's no use for it on a live-cd, and those who know what a mail client is can add one later. What else? I want to make it small enough that people can add a few things before they make their own iso and still get it to fit on a CD. At 691MB, it wasn't going to happen.

Solutions to the above space problem would be to tell people to use a DVD instead, but I don't want to go there. USB is the other way to go, and that's coming - install it, customize it, make your own iso, then surgically replace the live system on the usb. It can be done easily with a file manager. Guess I should add the mount-iso custom action to thunar.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: 6.0.4-xfce/icewm beta

Postby meandean » Wed Apr 13, 2011 1:26 am

A must-have for me is bash completion installed and configured well

apt-get install bash-completion
cp /etc/skel/.bashrc /root/


If going with the two panel setup then I would like to see them configured a bit differently. Maybe some larger launchers below...

I kinda like it....but it isn't anything important at all....
http://img858.imageshack.us/i/screensho ... 09094.png/


noscript drives me freeeeekin nuts by the way... :D


You can save 5 to 10 megs of memory by not using the menu plugin but rather just create a shortcut that calls the xfce menu instead.

yep doesnt seem do-able anymore since xfdesktop --menu gives you a different menu....oh well


so my only real suggestion is bash-completion it seems... ;)
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: 6.0.4-xfce/icewm beta

Postby fsmithred » Wed Apr 13, 2011 3:10 am

Cool. I'll do the bash completion. Already removed the menu from the top panel, and it saved a few megabytes. Removed wicd from the panel, too, and that knocked off more than a few. It's coming up around 72mb on a fresh boot now. I should be able to get it done and uploaded this weekend.

Anyone else got opinions on whether noscript should be turned on or off by default? On my own system and my personal builds, I keep it on with only a couple whitelisted sites, and I keep cookies turned off, but I gotta remember I'm building this for other people to use.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: 6.0.4-xfce/icewm beta

Postby nadir » Wed Apr 13, 2011 5:03 am

I often visit linuxquestions.org, so noscript is the first thing i add to firefox/iceweasel.
I think it is very useful.

After that i disable most of the "features" iceweasel offers (history, download, save passwd, cookies, propose autocompletion for the adress-bar...).

In general i like if iceweasel/firefox is configured in a custom way.
That means bookmarks, different search-engines (duck-duck, logless-com, kickass, scroogle or whatever), perhaps add-ons too (google sharing, download-helper, stuff like that).
BackTrack comes a bit like that, Incognito was kinda perfect (probably for the only reason that it did not come with google, which is evil itself :lol: ).
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: 6.0.4-xfce/icewm beta

Postby fsmithred » Wed Apr 13, 2011 2:28 pm

Added a bookmark for scroogle and made duck-duck the default search engine and the home page (but ff opens to a blank page.) What other bookmarks are appropriate? I don't think I need to add youtube, gmail or facebook, but maybe I could leave some of those in the history, so they show up on the address bar drop-down menu. Give me a list.

There's no way to set the time zone in the installer. I could add that, but I don't think that'll happen for this release. Should I add ntpdate and make a menu item that runs ntpdate-debian? Will that screw up someone's hardware clock if they've got it set to local time? (/etc/default/rcS has UTC=yes)
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: 6.0.4-xfce/icewm beta

Postby meandean » Wed Apr 13, 2011 3:45 pm

There's no way to set the time zone in the installer. I could add that, but I don't think that'll happen for this release. Should I add ntpdate and make a menu item that runs ntpdate-debian? Will that screw up someone's hardware clock if they've got it set to local time? (/etc/default/rcS has UTC=yes)

What I did with the old installer was just run the following...

Code: Select all
sudo dpkg-reconfigure --frontend=gnome keyboard-configuration
for keyboard

Code: Select all
sudo dpkg-reconfigure --frontend=gnome tzdata
for timezone

Code: Select all
ntpdate-debian
to set the time

....during the actual install. I never got a lot of feedback regarding it. If you do not want the pretty front end for debconf then drop the --frontend=gnome part of those.
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: 6.0.4-xfce/icewm beta

Postby fsmithred » Wed Apr 13, 2011 9:19 pm

This seems to work. Make sure you install ntpdate if you want to test it.
Code: Select all
#!/usr/bin/env bash
# set-tzk
#
# set the time, timezone and keyboard configuration

# Check that user is root.
[[ $(id -u) -eq 0 ]] || { echo -e "\t You need to be root!\n" ; exit 1 ; }

# Select options
options=$(zenity --list --title=Settings --checklist \
   --text="Choose the items you want to configure" \
   --column "Choose" --column "Num" --column "Option" \
   --width=520 --height=220  \
  FALSE 01 "Configure keyboard" \
  FALSE 02 "Set timezone" \
  FALSE 03 "Synchronize with network time server" \
  FALSE xx "Exit" )

if $(echo $options | grep -q xx); then
    echo "Bye!"
    exit 0
fi
if $(echo $options | grep -q 01); then
    dpkg-reconfigure keyboard-configuration
fi
if $(echo $options | grep -q 02); then
    dpkg-reconfigure tzdata
fi
if $(echo $options | grep -q 03); then
    ntpdate-debian
fi


Here's the .desktop file for it. Put this text in /usr/share/applications/set-tzk.desktop and it'll show up in the menu under System.
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Set time, timezone, keyboard
Comment=Set time, timezone and configure keyboard
Exec=sudo /usr/local/bin/set-tzk
Terminal=true
Type=Application
Icon=system
Categories=System;

I didn't incorporate it into the installer for two reasons - didn't want to have to test the installer again right now, and it can be used during a live session without installing. That might come in handy for someone.

Edit:
Code: Select all
Exec=su -c  /usr/local/bin/set-tzk
might be a better choice for the line in the .desktop file. I tried it with gksu first, which is what I have in the .desktop file for the new installer, and it works there, but for this script, it didn't work. When dpkg-reconfigure ran, the colors were all wrong, and any actions on the keyboard caused a bunch of nonsense characters to appear. Using sudo works, but if you disable sudo in the install, then you won't be able to run this script anymore.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: 6.0.4-xfce/icewm beta

Postby nadir » Thu Apr 14, 2011 4:45 am

If i tell what bookmarks __i__ use it is not of much use for me.
If i want mine i go to dropbox, download my bookmarks and import it from iceweasel.
I am thinking of bookmarks to sites one likes. I would for sure pick gnu.org. To give an example.
Links to music-sites do never hurt.

Try if you are able to download my bookmarks.json:
http://db.tt/rwnwlmk
Not sure if that will work at all. And for this purpose it is way too much (its _all_ of my bookmarks).
Have a look here:
http://www.alice-dsl.net/markusklaustor ... marks.html
something in that size would sure be cool.

kelsoo send me a file with the blag bookmarks.
That might be an idea too (but its very huge too).
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

PreviousNext

Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred