Defaults-Wizard v0.1.2

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#16 Post by Pizzasgood »

I have no idea. I just downloaded 2.13 last night, so I'll install it and see what's going on.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#17 Post by EdFromHouston »

Ok I downloaded 2.13 again and again checked the MD5 using HashTab in Windows XP SP2.

I burned it at 1X and tested it in my CD drive and DVD drive to see if it and Defaults-Wizard 0.12 together with nothing else (but the Firefox 2.0.0.1.dot-pup) would work as one with 2.13.

It did the same thing when I tried to click anywhere on the second screen that pops up to allow you to change the default location, it shut down.

I hope this helps.

Maybe 2.12 has a library that 2.13 doesn't have causing this or maybe the pop up blocker in firefox 2.0.0.1 is doing something but I can't see that because that doesn't compute..

I did notice wmweather.pup wont work in 2.13 and when you run Icewm ultra at least on my pc the wmfish thingy with the wmclock and wmweather opens but it is hidden behind the desktop background. It's not gone but behind it.

EDIT: I'm using Xvesa because I have an unsupported ATI PCI card for Dual Monitors (a VisionTec K7 based on rv100 / 7000 but the Radeon driver doesn't work even after getting rid of the 2nd monitor in the config file).

Please check in Xvesa.

Ed

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#18 Post by John Doe »

EdFromHouston wrote:...when you run Icewm ultra at least on my pc the wmfish thingy with the wmclock and wmweather opens but it is hidden behind the desktop background. It's not gone but behind it.
This thread will probably fix this problem:

http://www.murga-linux.com/puppy/viewtopic.php?t=14201

It also fixes another issue, as I mention here:

http://www.murga-linux.com/puppy/viewtopic.php?t=14232

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#19 Post by EdFromHouston »

This is something when I tried to later manually change in 2.13 the default mail fron mozmail to thunderbird, the thunderbird didn't execute at /usr/local/thunderbird /thunderbird and mozmail when I clicked on the desktop icon blanked out.

This was an after thought that I have no idea what it means.

EdFromHouston
Posts: 176
Joined: Fri 07 Apr 2006, 06:21

#20 Post by EdFromHouston »

Thanks John Doe
I don't like the new Rox., I'll look a it.

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#21 Post by John Doe »

EdFromHouston wrote:I don't like the new Rox.
Because of how it's working right now, or you don't like how 2.5 looks/works?

Once the bugs are gone, I find 2.5 to be much nicer than 1.2. 1.2 made me think I was stuck in 1992 with windows 3.1.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#22 Post by rarsa »

Pizzazgood,

I'm glad this post was pushed up recently. Somehow I missed it in December.

I am working on alternative menu structures, One of the models include a "favorites" section right at the top menu.

I was thinking that for the first version of this structure I would create something similar to what you created with an added check box besides each application indicating if it should be included in the Favorites menu.

The utility would then replace a section on the .jwmrc file just after the "RootMenu" tag, including the applications selected by the user:

Code: Select all

vartmp='
<!-- Favorites (DO NOT EDIT THIS LINE!) --> 
  <Program label="File manager" icon="dir_o.xpm">rox</Program> 
  <Program label="Storage Media" icon="mini-diskette.xpm">mut</Program> 
  <Program label="Web browser" icon="mozicon16.xpm">defaultbrowser</Program> 
  <Program label="Email" icon="mini-mail.xpm">defaultemail</Program> 
  <Program label="Chat" icon="mini-happy.xpm">defaultchat</Program> 
  <Program label="Word processor" icon="word48.png">defaultwordprocessor</Program> 
  <Program label="Paint" icon="mini-palette.xpm">defaultpaint</Program> 
  <Separator/> 
 <!-- End Favorites -->'

awk -v replacement="$vartmp" '
BEGIN { first=1 }
/<!-- Favorites/,/<!-- End Favorites-->/ {
	if (first == 1) {print replacement; first=0; next}
	else next }; { print $0}
' ~/.jwmrc > /tmp/jwmrc

cp ~/.jwmrc ~/.jwmrc.$$
cp /tmp/jwmrc ~/.jwmrc
As you see creating the favorites section based on what's selected on the UI should be fairly simple.

I am more concerned about parsing an existing favorites section to identify the current selection so we can leave it for version 0.2 ;)

Now that I see that you've started working on this I ask: Would you take the challenge to add this functionality? ;)
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#23 Post by Pizzasgood »

The problem is related to Xdialog when using the --fselect option. It works in Xorg but dies with a "Segmentation fault" in Xvesa. It returns an error code of 139. I have no idea why.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#24 Post by Pizzasgood »

Well, I don't know if these two things are really compatible. All that this detects is files in /usr/local/bin/ whose names start with 'default'. It wouldn't be able to handle any other apps the user might want, like games. One of the things I want to do next time I work on this is add a "New Default" option, but using that for new favorites is a round-about way of doing it.

Personally, I'd rather see more stuff for the XDG menus than for JWM. I'm using them in Pizzapup 3.0 and they work great. I don't have to update the menus for every windowmanager I feel like using each time I add a package. I don't even touch the windowmanager package. I just add a .desktop entry and it takes care of its self.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#25 Post by rarsa »

Pizzasgood wrote:Personally, I'd rather see more stuff for the XDG menus than for JWM.
You are preaching to the choir. As I said this would be a "first version" very simple.

I've also been thinking on how to use XDG. The main problem is with the inclusion at the top level. Some WM such as JWM don't allow including entries at the top level. My original contribution to Joe did allow it but Joe decided to scrap that part for his version. I don't remember his reasons. I guess one reason is that to add them to the top level the included segment would be a malformed XML (without a parent tag) or have JWM strippout the top level tag when rendering the menu (that was my solution).

I was thinking on this feature as a proof of concept to see how well it is accepted by the users.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#26 Post by Pizzasgood »

Okay then. I'll see what I can rig up when I get my next block of free time, either tomorrow night or Thursday.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
veronicathecow
Posts: 559
Joined: Sat 21 Oct 2006, 09:41

#27 Post by veronicathecow »

hI Pizzasgood, thanks for utility, slight problem in that I have not a clue where most stuff is! Is it bin, sbin, user/sbin user/bin local/bin etc etc etc
Any idea nif there is a list somewhere for us Newbies who can barely find our butt with both hands?
Cheers

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#28 Post by Pizzasgood »

Most apps are probably in /usr/local/bin/. Some are at /usr/bin/. Wizard-ish stuff will likely be at /usr/sbin.

One thing that comes in handy is the which command. If you know the name of the executable, just do something like this:
which geany
and it will tell you where that app is.

Also, if you don't know the executable, you may be able to guess it. Open a terminal and start typing it's name, then hit tab a couple times. It will try to auto-complete.


For the curious, I'll probably be working on a new version this month, with a better gui. Possibly I could add some limited "likely choices", where it can detect if you have certain popular apps installed so you don't have to always search. That would be at least the second new version though.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
veronicathecow
Posts: 559
Joined: Sat 21 Oct 2006, 09:41

#29 Post by veronicathecow »

Hi Pizzasgood, you say the nicest things! Like "I can probably fix that" 8-)
Sometimes I wonder "Is it worth the struggle", silly things like cut and paste not working, or drag and drop or just finding things and then some helpful soul comes and sorts it.
Cheers!

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#30 Post by zigbert »

I'll try to rebuild for Stardust.
Puppy has got so many default****** that the gui fills my screen. I think we need a <tree> widget instead.


I'm glad I found this
Thank you
Sigmund

Post Reply