Oroborus Windowmanager

Window managers, icon programs, widgets, etc.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#31 Post by musher0 »

If anybody can double check ?

Features / bugs /shortcomings of deskmenu (sorry for being so frank!) :(

In the config file:
* the abreviation for /root "~/" doesn't work, you have to write /root/ in full.
* doesn't seem to load *.sh file, only executables
* you have to indicate the full path. Simply gexec won't work. You have to specify: /usr/bin/gexec

I learned, from reading an old post from harii on the antiX forum concerning firebox, that this Mr. Stephan is too busy to maintain or improve on deskmenu.

Conclusion: let's not bother any more with this one. I like thoroughness of implementation in a program, don't you?

Too bad, too. Because oroborus would really be a hit if there was an acceptable on-root menu for it.

Is there another "mouse click on root" menu program that will work with oroborus ? Let's be on the lookout.

BFN
Last edited by musher0 on Sat 28 Jan 2012, 04:11, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#32 Post by musher0 »

Bingo! Success!

(Any oroborus lover who's got a good singing voice can sing a cheerful song now !!!) :)

1) In addition to the last posts on this page
http://murga-linux.com/puppy/viewtopic. ... 61&t=53930,
1.1) tick the blackbox hack item in ROX options, as per
http://roscidus.com/desktop/book/export/html/12
(see the note on blackbox/fluxbox, about 1/3 through the page)
1.2) UN-tick the pinboard item under the Desktop parameters in ROX Options.
1.2.1) You'll now need to use icewmbg or xli to set your background picture from .xinitrc. You'll still be able to use the Nathan wallpaper utility if you indicate

Code: Select all

 DesktopBackgroundImage="`cat /root/.config/wallpaper/bg_img`"
in icewm preferences (at: ~/.icewm/preferences) If you're not interested in icewm, it may actually be the only parameter in the file.

You can type a similar command in xli instead of specifying an actual picture.

Command line in the very last part of .xinitrc for xli would likely be:

Code: Select all

xli -onroot -fillscreen "`cat /root/.config/wallpaper/bg_img`"
2) get aemenu and create a puppymenu

(I've created a utility to make one from the icewm menu, a copycat of the real thing, really. Just ask if you're interested, but it would be off subject for me to post it here.)


3) Get and install xbindkeys.

In /root/.xbindkeysrc, somewhere, type

Code: Select all

 
"Menu_Puppy.sh"
          b:3
Where:
"Puppy_menu.sh" # is your script based on aemenu
and
b:3 # is the binder between the puppymenu script and the right mouse button.

The only drawback will be that you'll have to do Shift-right-click in ROX to get its context menu.

Get back to me if you're confused... ? It's all very simple, really, if you're methodical about it.

Since the "proof is in the pudding", well, here's the "pudding". :)

Tra-la-la... :)

BFN.
Attachments
Bingo!.jpg
Showing an on-root menu popping up in oroborus, based on xbindkeys and aemenu, and with "raptor" gtk theme.
(43.16 KiB) Downloaded 1144 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#33 Post by harii4 »

You could use MyGtkMenu (menu with icons) - stu90 made an editor for it. :)
or
SimplePuppyMenu - an auto puppy aemenu
http://www.murga-linux.com/puppy/viewtopic.php?t=51138
that way too :D
I learned, from reading an old post from harii on the antiX forum concerning firebox, that this Mr. Stephan is too busy to maintain or improve on deskmenu.
I should try to see if Firebox-WM will work on puppy - forgotten about that one :P
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#34 Post by musher0 »

Hi, harii.

I don't know about myGtkMenu, I'll have to look it over. But I discovered that aragon's spm is broken under the new puppies. The parser he uses is a perl exec that doesn't hook properly on the newer puppies. (My understanding of it.) I suppose we could ask him to fix his script.

For the record, I've puit my creator script here :
http://murga-linux.com/puppy/viewtopic.php?t=75393

A two-legged puppy member on that thread asked me if I want to internationlize the script? Phew... That's big. Not sure what's involved. I'm fluent in only two languages. Thinking about it.

TWYL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#35 Post by harii4 »

internationlize the aemenu sounds hard :(
Google Translate?

Check into Navig8or - an GnoMenu + Screenlets
http://murga-linux.com/puppy/viewtopic.php?t=66008

Really don't use an menu just an launcher and "rox /usr/share/applications"

Could use "app starter" from browser linux,
pupapps,pupcontrol and pupshutdown from radky - much like an menu
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#36 Post by `f00 »

An advantage with rox is that dotdesktop files show the comment when hovered (for those who like extra detail when available in that value) and you can visually 'trim' the applications dir by hiding/rename with a dot-prefix for apps less-used. I usually do something a bit more drastic - comment out the Category=* line in those less used dotdesktops so the app is available but doesn't show normally in any menu that gets an update/fixmenus treatment like jwm, etc. Rox shows the icons as well but doesn't organize the apps by category value like a 'real' menu :|

@musher0 - generally I simply edit aemenu (or the clientrc file, to be sure) since it's so easy to do - even an extras section for backgrounds, panels, what-have-you. Haven't tried the xbindkeys thing for a traditional r-click on rootwindow launch yet, usually have aemenu launched from appbar (lightweight launchbar here) or wbar (wbar is a basic startup for all my wm along with conky for a sysmon, all the variations are in a script along with a background if needed in /root/Startup for each wm, the separate script helps to keep /root/.xinitrc a bit tidier and more foolproof).

Yeah, lots and lots of ways to set background - I'm kind of partial to hsetroot or whatever works nicely (like wmsetbg -s -S for those tiny 'minimal' bgs, see here). roxpins are another story - generally an on-demand item for me with a little 'kill rox' icon on 'em (some folk like a roxpin for the drag'n'drop or driveicons, for me it's just one more running process rather than a simple set-it-and-forget-it bg..).

Back to menu(s) - yep, internationalizing the text may be a chore (but some work has been done with .mo & .po localization, I think perhaps - more/better/recent in BK's blog). Next best is an iconified menu (like in the fb/lxpanel plugins), simple graphics are international by nature :) but can be a bit sparse for details :lol:

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#37 Post by aragon »

harii4 wrote:internationlize the aemenu sounds hard :(
Google Translate?
Hi harii4,

internationalisation of menus will allways be a pain, as long as the desktop-files on puppy do not contain the int. items as intended. the jwm_tools by technosaurus have code to generate an int. menu for jwm that could be adapted to do the same for aemenu. I'm actually working on a new version of spm that uses this code (but i've not much free time atm). With the new version we will also get rid of the perl-dependency (spm seems not to work with recent puppies as musher0 posted).

BUT (as allways a big but), as stated above, this will only generate int. items for apps, if their desktop-files do contain the int. texts...

aragon

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#38 Post by musher0 »

Oh, allo, aragon, "long time no see" :)

Well, thanks in advance for whatever update you can provide on your spm.
And you're right, there is nothing much we can do about internationalization until the comments[fr] and [de] and [pl], [it], etc. etc., are properly introduced in the *.desktop files.

As for me, I was thinking of my own needs when I produced my version base on icewm. I didn't think it would have even a small echo when I posted my script. There must be a need then, among average puppies (meaning : the average Puppy users), for customized menus.

TWYL.

Christian
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#39 Post by musher0 »

Does anybody here remember Mark Ulrich (aka MU, of NYPup fame) mentioning a fix for oroborus, you know, the annoyance it is that you have to click on the background to get some programs to appear after launch in oroborus.

I thought I had read something from him about it a couple of years ago, but I can't find it anymore. I should have made a note at that time, but I was focusing on wmx back then... Anyway, thanks in advance for any lead.

TWYL
Last edited by musher0 on Sat 28 Jan 2012, 04:10, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#40 Post by musher0 »

From `roo:
> Yeah, lots and lots of ways to set background -

I've recently rediscovered xli myself. Rather complete for such a small app. Not only can it set a background, it can do slideshows and lots of other things, such as modify the light intensity of a picture.

Thanks for providing your "recipe" concerning aemenu. I do pretty much the same. I've also created aemenus for directories, navigation in my work folders, etc. I even created with it sort of an organizer that points to calendars, months, a true PIM program, etc. Very versatile, this aemenu.

TWYL.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#41 Post by harii4 »

Does anybody here remember Mark Ulrich (aka MU, of NYPup fame) mentioning a fix for oroborus, you know, the annoyance it is that you have to click on the background to get some programs to appear after launch in oroborus.
I had the same problem but fixed it by playing with rox settings. :)
Do you have the - override window manager unclicked
and
clicked - pass all backdrop mouse clicks to window manager in rox's options (compatibility)?
i like to use xsri set a background. 8)
http://murga-linux.com/puppy/viewtopic. ... 7f12775ab3
Attachments
c1.2.gif
(68.43 KiB) Downloaded 1233 times
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#42 Post by musher0 »

Thanks, harii, trying that.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#43 Post by musher0 »

Hello.

Here is a variant of the oroborus theme. It's made so the title bar disappears when program not in focus. Derived from the observation that when a program is not in focus, you never use its control buttons.

This theme can be used in conjonction with the parameter

borderless_windows=[the list of programs you wish to be borderless here, separated by commas (no space in between)]

in your /root/.oroborusrc-personal file to unclutter your screen a little.

See examples below. The scheme used in the pictures is "brick".

Important: the attached tar file has to be unpacked in directory:
/usr/share/oroborus/themes

:D Enjoy!
Attachments
oroborus-mod.tar.gz
(1.86 KiB) Downloaded 558 times
console-focused-644x.png
(81.1 KiB) Downloaded 895 times
browser-focused-644x.png
(84.32 KiB) Downloaded 858 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#44 Post by musher0 »

Hi, guys!

Just found this on http://ostatic.com/wmtile, which adds tiling to oroborus and other small wm's. Please see attached illustration.

If you don't like full-width, as you may know, you can resize any oroborus window with Alt-Shift-arrow (any arrow!)

Enjoy!

P.S. A cascade utility for oroborus windows would be nice too, but I came back empty-handed from my Internet search... Any leads, people?
Attachments
oroborus-tile.jpg
(64.85 KiB) Downloaded 905 times
tile-0.7.1_i386.pet
Adds tiling feature externally to oroborus
(11.27 KiB) Downloaded 499 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#45 Post by harii4 »

@ musher0
EDIT--- they must use different names
debian uses tile not wmtile?
is it the same app?

how dose it compare to Tile 0.7.2?

Code: Select all

# tile --help
tile 0.7.2

Usage: tile [OPTIONS]...
              --help            Print help and exit
   -V         --version         Print version and exit
   -d         --dump            Dump run-time config and exit
              --verbose         Increase Verbosity (up to 5 times)

   -h         --horizontal      Horizontal Placement
   -v         --vertical        Vertical Placement (default)

   -pSTRING   --profile=STRING  Window Manager Profile Name (default='Default')

   -m         --win-workspace   Enable multi-desktop _WIN_WORKSPACE support (oroborus, fluxbox, etc) (default=off)
   -w         --net-wm          Enable multi-desktop _NET_*_DESKTOP support (GNOME, NET WM, etc) (default=off)
Somehow you can get bordeless tile and cascade windows too?
Might have to check jemimah's Fluppy thread for that ? :wink:
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#46 Post by musher0 »

Hello, harii4.

It has to be the same file, look :

Code: Select all

tile --help
tile 0.7.0

Usage: tile [OPTIONS]...
              --help            Print help and exit
   -V         --version         Print version and exit
              --verbose         Increase Verbosity (up to 5 times)

   -h         --horizontal      Horizontal Placement
   -v         --vertical        Vertical Placement (default)

   -pSTRING   --profile=STRING  Window Manager Profile Name (default='Default')

   -m         --win-workspace   Enable multi-desktop _WIN_WORKSPACE support (oroborus, fluxbox, etc) (default=off)
   -w         --net-wm          Enable multi-desktop _NET_*_DESKTOP support (GNOME, NET WM, etc) (default=off)
but mine is an earlier version it seems.

It is in a *.deb archive, but as I mentioned above I retrieved it from the ostatic site. Where did you get yours? More recent is better of course.

As to borderless + tile, that depends. tile or wmtile will tile any program, but oroborus makes borderless only those programs you specify like so in the ~/.oroborusrc file:

Code: Select all

# define a list of borderless window class names
# seperated by semicolons.
borderless_windows=stalonetray;oclock;urxvt;xload;conky
# X-Chat
(Before-last line in my .oroborusrc config file.)

You say jemimah dabbled with this tiling stuff too?

As to cascades, tile doesn't do cascades, as it name implies! :) I'm looking for an external cascade program for oroborus, that's what I'm saying. In addition to "tile", a "cascade" program would be a nice tool to have with oroborus.

BFN
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#47 Post by harii4 »

One box i have Stolen tile from Fluppy WMpack pet.
Removed what i wanted and dumped the rest of it. :)
http://www.murga-linux.com/puppy/viewtopic.php?t=47192.

I'll keep looking :wink:
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#48 Post by musher0 »

Thanks!

I'll see if I can write a "cascade windows" script with the help of wmctrl.

Keep you posted.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
harii4
Posts: 448
Joined: Fri 30 Jan 2009, 04:08
Location: La Porte City, IA , U.S.A.
Contact:

#49 Post by harii4 »

Bingo, :D

Code: Select all

tile 0.7.2

Usage: tile [OPTIONS]...
              --help            Print help and exit
   -V         --version         Print version and exit
   -d         --dump            Dump run-time config and exit
              --verbose         Increase Verbosity (up to 5 times)

   -h         --horizontal      Horizontal Placement
   -v         --vertical        Vertical Placement (default)

   -pSTRING   --profile=STRING  Window Manager Profile Name (default='Default')

   -m         --win-workspace   Enable multi-desktop _WIN_WORKSPACE support (oroborus, fluxbox, etc) (default=off)
   -w         --net-wm          Enable multi-desktop _NET_*_DESKTOP support (GNOME, NET WM, etc) (default=off)
   -u        --undecorated       Remove Window Decorations
   -c        --cascade          Casade the windows
   -s        --stripe           Stripe the windows
   -t        --tile             Tile the windows
   -i        --iconify          Iconify the windows
   -D        --deiconify        Raise all Windows 
I got an newer one from debian but it lack options that this one have.
you need jemimah's tile from:
http://www.murga-linux.com/puppy/viewtopic.php?t=47192
just change her WMpack.pet to an .tar.gz and open it up.
As to borderless + tile, that depends. tile or wmtile will tile any program, but oroborus makes borderless only those programs you specify like so in the ~/.oroborusrc file:
Code:
# define a list of borderless window class names
# seperated by semicolons.
borderless_windows=stalonetray;oclock;urxvt;xload;conky
# X-Chat



(Before-last line in my .oroborusrc config file.)
or use this:
-u --undecorated Remove Window Decorations

Casadeing windows :D
-c --cascade Casade the windows
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#50 Post by musher0 »

Hello, harii.

Thanks for your trouble.

I followed your suggestion, but jemima's "tile" is not working for me at all. Nothing happens. I have to stick with the Debia 7.1 version to get any results. And both draw blue lines on the screen...

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply