Desktop Icons and background with jwm ONLY(no ROX, xtdesk..)
Just fell over this thread and thought you might be interested in this:
The leftside launcher is a tray. To get the transparent appearance, I just gave it a background colour the same as the desktop, but if you wanted to make it properly transparent xcompmgr would have to be running and an opacity command would have to be set.
Damn if Ubuntu didnt copy this with Unity
I also have it set to display only an icon in the task list as you can see at the top of the desktop.
This is a very effective desktop (for me anyway)
Only problem is some programs launch at the very top left of the screen putting them UNDER the taskbar and side menu. This can be fixed with a 'group' command, but there are so few I have not got to it yet.
The leftside launcher is a tray. To get the transparent appearance, I just gave it a background colour the same as the desktop, but if you wanted to make it properly transparent xcompmgr would have to be running and an opacity command would have to be set.
Damn if Ubuntu didnt copy this with Unity
I also have it set to display only an icon in the task list as you can see at the top of the desktop.
This is a very effective desktop (for me anyway)
Only problem is some programs launch at the very top left of the screen putting them UNDER the taskbar and side menu. This can be fixed with a 'group' command, but there are so few I have not got to it yet.
Spup Frugal HD and USB
Root forever!
Root forever!
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Did you try adding layer=0 (or 1?) to the tray?DaveS wrote:Only problem is some programs launch at the very top left of the screen putting them UNDER the taskbar and side menu. This can be fixed with a 'group' command, but there are so few I have not got to it yet.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Yes, I tried that, but then everything loads on top of the traytechnosaurus wrote:Did you try adding layer=0 (or 1?) to the tray?DaveS wrote:Only problem is some programs launch at the very top left of the screen putting them UNDER the taskbar and side menu. This can be fixed with a 'group' command, but there are so few I have not got to it yet.
Good thought though.....
Spup Frugal HD and USB
Root forever!
Root forever!
More info on how to set up a launchbar in JWM herelithpr wrote:This thread is so full of awesome. I love all the creative "out of the box" thinking involved, and that DaveS' Launcher/Tray is beautiful. I haven't spent any time looking at/messing with JWM. I'm definitely going to be checking it out! Very inspirational.
http://www.murga-linux.com/puppy/viewtopic.php?t=56795
Spup Frugal HD and USB
Root forever!
Root forever!
Currently working on this project. seems very sophisticatedlithpr wrote:This thread is so full of awesome. I love all the creative "out of the box" thinking involved, and that DaveS' Launcher/Tray is beautiful. I haven't spent any time looking at/messing with JWM. I'm definitely going to be checking it out! Very inspirational.
http://www.murga-linux.com/puppy/viewto ... 539#527539
Spup Frugal HD and USB
Root forever!
Root forever!
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
just add this include to your jwmrc
<Include>/root/.jwmrc-notify</Include>
and here are 2 basic scripts to add a notification with icon and remove it when clicked or after 5 seconds - feel free to mod to suite
here is jwm_notifyand jwm_denotify
Note: the "&&" here is useful since rm will fail if jwm_denotify has already been run, thus preventing a second refresh (&& only executes the next command on a success)
EDIT: this could be extended to select from a list by adding multiple traybuttons ... for example a quick app menu, or a wizard, or ???
<Include>/root/.jwmrc-notify</Include>
and here are 2 basic scripts to add a notification with icon and remove it when clicked or after 5 seconds - feel free to mod to suite
here is jwm_notify
Code: Select all
#!/bin/sh
SHORTMSG=${1:-JWM_NOTIFICATION}
LONGMSG=${2:-$SHORTMSG}
ICON=${3:-mini-dog.xpm}
JWMNOTIFYCMD=${4:-jwm_denotify}
TIMEOUT=${5:-5}
echo '<JWM><Tray layout="vertical" halign="center" y="1" ><TrayButton popup="'$SHORTMSG'" label="'$LONGMSG'" icon="'$ICON'">exec:'$JWMNOTIFYCMD'</TrayButton></Tray></JWM>' >$HOME/.jwmrc-notify
jwm -restart
sleep $TIMEOUT
[ -e $HOME/.jwmrc-notify ] && jwm_denotify
Code: Select all
#!/bin/sh
rm $HOME/.jwmrc-notify && jwm -restart
EDIT: this could be extended to select from a list by adding multiple traybuttons ... for example a quick app menu, or a wizard, or ???
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
here is one for multiple notifications with some added fixes
jwm_denotifyjwm_notify
usage:
jwm_notify "Short Message" "Long Message" "icon" "command" .... <timeout>
(you need all 4 for each message even if it is just blank - use "")
jwm_denotify
Code: Select all
#!/bin/sh
rm $HOME/.jwmrc-notify && jwm -restart
[ `which $1` ] && $@
Code: Select all
#!/bin/sh
echo '<JWM><Tray layout="vertical" halign="center" y="1" >' >$HOME/.jwmrc-notify
while ([ $# -gt 1 ]) do
SHORTMSG=${1:-JWM_NOTIFICATION}
LONGMSG=${2:-$SHORTMSG}
ICON=${3:-mini-dog.xpm}
JWMNOTIFYCMD=${4:-exit}
TIMEOUT=${5:-5}
echo '<TrayButton label="'$SHORTMSG'" popup="'$LONGMSG'" icon="'$ICON'">exec:jwm_denotify' $JWMNOTIFYCMD'</TrayButton>' >>$HOME/.jwmrc-notify
shift 4
done
echo '</Tray></JWM>' >>$HOME/.jwmrc-notify
jwm -restart
sleep $TIMEOUT
[ -e $HOME/.jwmrc-notify ] && jwm_denotify exit
jwm_notify "Short Message" "Long Message" "icon" "command" .... <timeout>
(you need all 4 for each message even if it is just blank - use "")
- Attachments
-
- jwm_notify.png
- a quick example ...
notice that the icon can grow extremely large if the short messages are of different lengths
Just "add spaces as necessary. " ... so they are the same length - (12.42 KiB) Downloaded 2382 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Idrivepanel
Idrivepanel is an implementation of the ideas put forth in this thread and can be found below:
http://murga-linux.com/puppy/viewtopic.php?t=69830
This provides all of the usual mounting, unmounting, notifications and hotplug information found in the Rox desktop drive icons without using the Rox desktop
Cheers,
s
http://murga-linux.com/puppy/viewtopic.php?t=69830
This provides all of the usual mounting, unmounting, notifications and hotplug information found in the Rox desktop drive icons without using the Rox desktop
Cheers,
s