LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-19-2015, 09:42 AM   #16
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857

Update to version 0.0.8 here:
https://dl.dropboxusercontent.com/s/...p-0.0.8.tar.gz

0.0.8
Added basic manpage.
Added 'tidy' option to clean stale files from cache, custom positions/icons unnaffected.
Selection from 'Applications' popup now obeys 'Terminal=..' option in desktop file.
Added 'showextension' to config options
Added "show-extension" command opt to show file extensions ( default no show ).
Added 'termcommand' to config options
Added "term-command" command opt to set the command to use when opening desktop file in terminal.
Fix for some window mangers not respecting 'keep below' and bringing the desktop to the front (openbox), now stays underneath.

You can now hide/show the file extensions from files in the desktop, fixed an annoying bug where the desktop was being brought to the front by some window managers, using the -t option will delete all cache files except those in use, probably should do this every once in a while.

Both the Application menu selections and desktop selections either via double clicking or 'Open' on a .desktop file now honors the use of the 'Terminal' option to launch the application in the user specified terminal which defaults to 'xterm -e' but can be set in the prefs or on the command line.

Definitely the last update for a bit as I have now started work on a window manager, based on 'wind' from sourceforge, but its slow going, also the wife wants me to decorate
 
Old 06-19-2015, 01:30 PM   #17
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Rep: Reputation: Disabled
I'll have to give this a try. Looks awesome!
 
Old 06-19-2015, 01:54 PM   #18
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
I am using it myself all the time seems fairly stable, I think it can now be considered at least beta software as it's mostly fully functional, couple of minor annoyances but I'll let you find them
 
Old 06-22-2015, 09:08 AM   #19
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Must stop procrastinating over this window manager! Anyway another update here:
https://dl.dropboxusercontent.com/s/...p-0.0.9.tar.gz

Changelog:
0.0.9
Added "--enable-3dwidgets" to configure script to allow linking against Xaw3D ( default is link against Xaw7 ).
Updated manpage.
Added 'ignore' to command options.
Added 'ignores' list to prefs to not show disk who's label is in the ';' delimited list.
Added fontface/forecolour/backcolour to command line args.
Added backcolour option to prefs.
Added forecolour option to prefs.
Added fontface option to prefs.
Icon labels now use cairo text for rendering anti alias text.

If you have installed Xaw3d you can use '3d' widgets as in the screen shots:
Click image for larger version

Name:	scrn9.jpg
Views:	75
Size:	84.5 KB
ID:	18773
Click image for larger version

Name:	scrn10.jpg
Views:	62
Size:	61.0 KB
ID:	18774

You can now either via the command line or the prefs file choose to not display the icon for a specific disk ( via label )
Cairo text is now used for the icon labels which is much nicer.
Really, REALLY must start on the WM!
 
Old 06-24-2015, 10:25 AM   #20
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Very first release of the window manager here:
https://dl.dropboxusercontent.com/s/...r-0.0.4.tar.gz

Click image for larger version

Name:	scrn11.jpg
Views:	71
Size:	159.4 KB
ID:	18797

0.0.4
Drag window off of left/right edge cycles desktop.
Desktop windows now stay below and don't get raised.
Removed x11font code, now only xft fonts used.
Code clean.

0.0.0-0.0.3
First commits.

Lots to do on this, no iconize/maximize buttons yet, though you can do some stuff via the keyboard, see the man page for that.
Want to make the window borders compatable with ( at least ) xfwm4, mainly as I've got a lot of wm themes in that format and I'd like to keep them.

Only deps are X11 etc no gtk or other crud.

Build:
Code:
./autogen.sh --prefix=/usr
make
sudo make install
lfswmanager -B grey40 -F white -b grey80 -f grey60
Thanks to Johan Veenhuizen for the original code which you can get here:
http://sourceforge.net/projects/windwm/?source=navbar
 
Old 06-25-2015, 10:35 AM   #21
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Minor ( but important ) update to LFSDesktop here:
https://dl.dropboxusercontent.com/s/...-0.0.10.tar.gz

0.0.10
Fixed default terminal command not being set if not specified on command line ( defaults to "xterm -e" ).

Update to LFSWManager here:
https://dl.dropboxusercontent.com/s/...r-0.0.5.tar.gz

0.0.5
All windows of type desktop now stay below windows with below state set regardless of creation time.
Fixed putting windows below.
Fixed default cursor not being set.
Made windows of type NET_WM_WINDOW_TYPE_DESKTOP 'sticky'.

Also this:
https://dl.dropboxusercontent.com/s/...3d/xinitrc.lfs

Is a simple xinitrc script tha I use to start everything up, use it as a spring board for your own startup.

More to come!
 
Old 06-27-2015, 04:20 AM   #22
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
LFSWManager update here:
https://dl.dropboxusercontent.com/s/...r-0.0.6.tar.gz

0.0.6
Fixed widows above all otheres changing state.
Fixed 'sticky' windows changing state.
Fixed dragging certain application windows to new desktop pulling all other windows of the app there.
Added 'ALT-!' key binding to group all application windows of focused application into current desktop.
Removed some redundant code.
Redone man page.
Redone printing help.
Added '-?' and '-h' to commandline options.
Added '-p' option to command line to set window placement, 0=Smart( Screen ), 1=Under mouse ,2=Centre on monitor with mouse( default ), 3=Screen centre, 4=Smart( Monitor with mouse ).
Added multi monitor support for window placement.

Behaving much more like a window manager now, stick windows and having multiple windows 'above' or 'below' others now works properly even when the state is 'toggled' back and forth.

Time to start on iconize/full screen buttons etc.
 
Old 06-30-2015, 06:46 AM   #23
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
LFSWManager update here:
https://dl.dropboxusercontent.com/s/...r-0.0.7.tar.gz

0.0.7
Started handling MOTIF_WM_HINTS properly.
Added 'maximize' button.
Added number of desktops to prefs file.
Added font and size to prefs.
Added placement to prefs file.
Added prefs file, for fore/back colours.
Improved 'dock' type window handling but still needs tweeking.
Mouse wheel now moves between desktops.
Above/Below code tightened up.

Started adding the window decorations, decided to get functionality before worring about the eye candy, but that will be comming soon.

You can now use a prefs file instead of setting everything on the command line, the prefs file is ~/.config/LFS/lfswmanager.rc, here's mine:
Code:
focusedfore	white
focusedback	grey40
fore	        grey60
back	        grey80
placement       2
titlefont	sans:size=10
desktops	6
The format is the same as from the command line.
The window manager is slowly getting there and so far with both the desktop and window manager no gnome/gtk stuff just X11 libs and cairo.
When the WM is a bit more 'every day' usable I will be moving the application popup menu from the desktop to the window manager.
 
Old 07-01-2015, 10:00 AM   #24
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Update to LFSWManager here:
https://dl.dropboxusercontent.com/s/...r-0.0.8.tar.gz

0.0.8
Added 'Shade' window button, bit of a kludge needs improving.
More compliance with extended window manager hints standard.
Code clean and simplify.
Plays better with pagers etc, ie cairo-dock/xfce-panel can now min/max/close/show window from popup menu and shows iconized thumbnail.
Added 'Minimize' button.

Windows now have a ( almost ) full complement of buttons, shade, minimize, maximize and close, never really used the right hand menu button but I will probably put it in next.

Functionality is now pretty much how I want it got some tweaking to do and then the eye candy.
 
Old 07-06-2015, 08:43 AM   #25
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
New update to LFSWManager here:
https://dl.dropboxusercontent.com/s/...r-0.0.9.tar.gz

0.0.9
Added -l option to command line to set number of updates to window when resizing, 0=no updates until mouse button released, >0 number of updates defaults to 5.
Updated man page.
Fixed dragging windows to new desktop on multiple monitors of different widths.
Dragging windows to next/previous desktop now works properly.
Code clean.
Fixed button spacing when not all buttons are used.

Dragging windows off of the left or right edge to flip to new desktop now works much better, flip occurs when pointer reaches edge instead of when window left/right reaches edge, you can also continue dragging the window without having to re-grab the window.

Resizing updates can now be set on the command line or prefs file, a larger value means less updates but more responsivness, defaults to 5 which is about right, a value of 0 will not update the window until the mouse button is released.

Screen shot with all the new butons:
https://dl.dropboxusercontent.com/s/...v4o/scrn12.jpg

Can't embed the image as I seem to have run out of alloted attachment space
Any idea how I can up this anyone?

Minor mistake with the archive, if you window doesn't update you need to redown load and recompile - sorry.

Last edited by Keith Hedger; 07-06-2015 at 11:27 AM. Reason: new upload
 
Old 07-14-2015, 06:26 AM   #26
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
New update to the window manager here:
https://dl.dropboxusercontent.com/s/...-0.0.10.tar.gz

Screen shot here:
https://dl.dropboxusercontent.com/s/...409/scrn13.jpg

Now added themes to LFSWmanager, I have decided to use xfwm4 themes as they are one of the easiest to use as they consist mostly of images with very little in the way of configuration files although there is some I haven't yet implementd them, ie no setting the button spacing, title alignment etc. But watch this space! Also as I have been using xfce for some years I have a large collection of themes and I didn't want to have to redo them all.

One caveat with the xfce themes, some old themes use an xpm image with a png overlay, this isn't supported as most recent xfce themes use either just pngs or just xpms, so if you try a theme and it doesn't display you have been told!

You can set the theme in the prefs or on the command line, see the manpage.
If no theme is set on the command line or in the prefs file then the old style is used.

To do:
Take into account the theme resource file contents.
Find theme path from name rather than having to use full path to theme.
Move application menu from LFSDesktop to LFSWManager.
Add app icon to title bar?
Add 'Menu' button to title bar?
Install a default theme?

Change log:
0.0.10
Added 'theme' option to prefs.
Added '-T' option to command line to set path to theme.
Fixed incomplete button definitions on some themes.
Adjusted window theme parts.
Added themed buttons.
Added xfwm4 themes ( still needs tweaking but mostly works ).
Added '-w' option to write out prefsfile.
Removed old debug code ( assert's ).
Maximize now maximizes to monitor of window.
 
Old 07-14-2015, 01:36 PM   #27
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Whoops!
Small but critical bug fix:
https://dl.dropboxusercontent.com/s/....0.11.1.tar.gz
 
Old 07-18-2015, 12:10 PM   #28
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Update to LFSWManager here:
https://dl.dropboxusercontent.com/s/...-0.0.12.tar.gz

Added left/right/bottom/botom left/bottom right resizers.
Started to add the themerc file data when using a theme.
Usual code clean, update manpage etc.

0.0.12
Added left edge resize.
Added right edge resize.
Added bottom edge resize.
Added bottom left corner resize.
Added bottom right corner resize.
Removed useless non-fatal xlib complaints when not in debug mode.
Fixed trying to draw border/buttons on undecorated windows.
Fixed minor visual bug placing buttons when themerc button_offset=0.
Added debug checkpoints to most functions ( not used unless --with-debug-level=1 ).
Added beter debug code.
Removed some unwanted traps.
Added '--with-debug-level' to configure 0 - No debug, 1 - write to stderr and logfile ( default 0 ).
Shaded windows can now only be stretched horizontally.
Tweaked shade function, to not unnecessarily draw sides/bottom when shaded.
Redone button updates, now uses shaped windows.

0.0.11.1
Critical bug fix.

0.0.11
Done button_offset, active_text_color, inactive_text_color.
Adding options from themerc.
 
Old 08-17-2015, 06:22 AM   #29
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Original Poster
Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
New updates to the project!
First off there is a small library that needs to be installed first as this will provide the various widgets for the desktop, window manager and the soon to come panel and dock, I have decided to drop thje use of the athena widget set as although they are always available and pretty lightweight they are awkward to theme and don't look very good.
At the momenty the toolkit only includes three widgets and some general routines, this toolkit is in noway meant to be a full fleged widget set, just the ones you need to run the desktop.

Download the tool kit here:
https://dl.dropboxusercontent.com/s/...t-0.0.5.tar.gz
Build and install the same as the other bits with
Code:
./autogen.sh --prefix=/usr
make
sudo make install
Changelog:
0.0.5
Fixed double free of line edit data.
Added keep above and sicky windows.
Fixed window gravity not working.
Fixed pager not showing window.
Now supplies relevent event to class event handlers.
Event hanlers now return a bool - true=event handled, false=pass it along.
Callbacks now return a bool.
Labels now default to centre.
Removed linking to unused libs.

0.0.4
Line edit now scolls correctly.
Added paste ( ctl-v ) to line edit.
Added cursor keys to line edit.
All button clases now inherit from base gadget class.
Added line edit class.
Added base gadget class.

0.0.3
Fixed not setting proper colours.
Added menuitem font and colours.
Fixed random setting font segfault.
Fixed font not being set.
Added setting global colours previously loaded from prefs file to button classes.
Added setting global colours from prefs file to window class.

0.0.2
Removed setting colours on create button class.
Added set colours for menuitems.
Added init buttons to set default colours.
Added buttons inherit colours from main window.
Added menu button.
Added general purpose button.
Added mainwindow.

This MUST be installed first, you may also need to run the 'ldconfig' command.
N.B.
When using the entry box in the custom icon dialog please note that full editing is not available, ie you cant copy/paste with the mouse but you can use ctrl-v to paste the clipboard, home/end work as expected, line edit functioanlity will be expanded on later.

Update to LFSDesktop here:
https://dl.dropboxusercontent.com/s/...-0.0.11.tar.gz

Changelog
0.0.11
Updated licence stuff at top of file.
Removed externel icon dialog box.
Removed unneeded libs.
Dialog boxes use the new toolkit.
Added LFSToolKit library.
Added Xft lib.
Made showing 'Appmenu' on right click on desktop optional, default=noshow, now moved to the window manager as it should be.

Update to LFSWindowManager here:
https://dl.dropboxusercontent.com/s/...-0.0.13.tar.gz

Changelog
0.0.13
Command line can overide ( some ) theme settings.
Added -k option to prevent reading of options from ~/.config/LFS/lfstoolkit.rc.
Added -X option to command line to set text/button colour.
Text colour and menu buttons now use the same colours.
Can now set the menu button colour when not using theme.
Butons on inactive windows now use inactive colours.
Window name now in white same as buttons.
Redone non-themed window name.
Removed unneeded creation/deletion of GC's.
Redone non-themed buttons.
Redone non-themed window borders.
Fixed minor refresh bug in appmenu.
Appmenu now uses global colours from ~/.config/LFS/lfstoolkit.rc
Added 'Appmenu'.
Added linking to LFS Tool Kit library.

N.B.
Some of the naming of the configs have changed so please alter your config file, example:
Code:
placement 2
titlefont sans:size=10
desktops 6
liveupdate 10
theme /home/keithhedger/.themes/OldBrownWood
termcommand xfce4-terminal -x 
wmactive_frame #948069
wmactive_fill #5E3300
wminactive_frame #9B9184
wminactive_fill #836C51
widgetcolour white
There is now a global config file at "~/.config/LFS/lfstoolkit.rc" this will slowly replace the individual config files, heres an example ~/.config/LFS/lfstoolkit.rc:
Code:
window_normal #5E3300
window_prelight #6B4C26
window_active #412502

button_normal #5E3300
button_prelight #6B4C26
button_active #412502

menuitem_normal #cf944e
menuitem_prelight #794513
menuitem_active #412502

menuitem_font sans-serif:size=8
menuitem_font_normal black
menuitem_font_prelight white
menuitem_font_active white

font sans-serif:size=8
font_normal white
font_prelight grey
font_active white

wmactive_frame #948069
wmactive_fill #5E3300
wminactive_frame #9B9184
wminactive_fill #836C51
widgetcolour white

theme /home/keithhedger/.themes/OldBrownWood
The last lines will override the configs in the "~/.config/LFS/lfswmanager.rc" file unless the -k option is given to lfswmanager.

Screen shots of the new widgets here:
https://dl.dropboxusercontent.com/s/...ncn/scrn14.jpg
https://dl.dropboxusercontent.com/s/...o5m/scrn15.jpg

Enjoy!
 
Old 08-19-2015, 02:47 PM   #30
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
Sounds very interesting. Do you have a web page for it?

Wayne Sallee
Wayne@WayneSallee.com
 
  


Reply

Tags
blfs, desktop, lfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux From Scratch Desktop Screen Shots Keith Hedger Linux - Member Desktop Screenshots 3 03-18-2023 09:15 AM
Linux From Scratch project jurp Linux From Scratch 26 03-17-2012 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration