View previous topic :: View next topic |
Author |
Message |
ThomasAdam Guru
Joined: 20 Mar 2005 Posts: 448 Location: England
|
Posted: Thu Jan 11, 2007 11:27 pm Post subject: |
|
|
spadearcher wrote: | Also re your comment "You shouldn't be cat'ing anything into anything," I use the "cat" command to read files without or prior to editing them., i.e., "cat (file-name)" | more. |
This is what the "file" command is useful for. Note that you're using cat unnecessarily there:
Does just as well.
-- Thomas Adam |
|
Back to top |
|
|
spadearcher Tux's lil' helper
Joined: 18 Nov 2006 Posts: 131 Location: Seattle
|
Posted: Thu Jan 11, 2007 11:43 pm Post subject: |
|
|
I was taught that use of the "cat" command in the Linux introductory class I took in the evenings last year at my nearby community college. I'll now give your recommended method a try. Thanks, Jim |
|
Back to top |
|
|
spadearcher Tux's lil' helper
Joined: 18 Nov 2006 Posts: 131 Location: Seattle
|
Posted: Fri Jan 12, 2007 1:52 am Post subject: |
|
|
Thomas: Following your steering me ultimately in the right direction, I was able to follow Taviso's tutorial at the top of this thread explicitly -- and everything proceeded fine. I was able to bring up his button configuration (labeled LaunchTime) repeatedly from my personal menu, after I'd entered it there in accord with his (and your) instructions.
The one catch now seems to be that after I quit FVWM, returned to my Gentoo command line, then went back into FVWM (via startx) the LaunchTime button panel had disappeared. I re-created it in the FvwmConsole, worked with it awhile as before, then quit FVWM, and it disappeared again. How can I "save" it in my FVWM system? Or do these modules disappear when I quit FVWM by their very nature? Nothing was in Taviso's instructions regarding the method for saving what I (we) had created. Not very useful! Regards, Jim
Also, I was not able to get the icons to work -- even with downloading them and trying to install them following Taviso's instructions elsewhere in this forum. |
|
Back to top |
|
|
colinbarnette n00b
Joined: 07 Mar 2007 Posts: 17 Location: Louisville, Kentucky
|
Posted: Thu Mar 29, 2007 7:24 am Post subject: |
|
|
Hello all,
I am having a problem with a swallowed application not centering. Googled fairly extensively on it but didn't come up with much, so I hope you can help!
http://colinbarnette.net/code/cap.jpg - A screen cap of the problem.
Code: | ### Box
Style Box !Title, !Handles, Sticky, WindowListSkip, \
CirculateSkip, BorderWidth 1, HandleWidth 0
DestroyModuleConfig Box: *
*Box: Colorset 0
*Box: Geometry 300x75
*Box: Rows 3
*Box: Columns 4
*Box: Frame 1
*Box: BoxSize smart
*Box: (3x1)
*Box: (1x3, Swallow "FvwmPager" `FvwmPager *`)
*Box: (1x1)
*Box: (2x1, Center, Swallow xclock `Exec xclock -bg '#21356c' -fg white -digital -face 'Georgia:size=8' -strftime '%a, %d %b %Y %H:%M'`)
*Box: (3x1)
|
(The nasty colorset there is actually a botched transparency attempt, but that is for another thread I think..)
Thanks in advance! |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Apr 03, 2007 2:35 am Post subject: |
|
|
colinbarnette wrote: | Hello all,
I am having a problem with a swallowed application not centering. Googled fairly extensively on it but didn't come up with much, so I hope you can help!
http://colinbarnette.net/code/cap.jpg - A screen cap of the problem.
Code: | ### Box
Style Box !Title, !Handles, Sticky, WindowListSkip, \
CirculateSkip, BorderWidth 1, HandleWidth 0
DestroyModuleConfig Box: *
*Box: Colorset 0
*Box: Geometry 300x75
*Box: Rows 3
*Box: Columns 4
*Box: Frame 1
*Box: BoxSize smart
*Box: (3x1)
*Box: (1x3, Swallow "FvwmPager" `FvwmPager *`)
*Box: (1x1)
*Box: (2x1, Center, Swallow xclock `Exec xclock -bg '#21356c' -fg white -digital -face 'Georgia:size=8' -strftime '%a, %d %b %Y %H:%M'`)
*Box: (3x1)
|
(The nasty colorset there is actually a botched transparency attempt, but that is for another thread I think..)
Thanks in advance! |
I don't understand what do you exactly mean.
There are many thing that I could understand here.
If you want xclock taking the whole middle row, you would need something like this:
Code: |
*Box: (3x1)
*Box: (1x3, Swallow "FvwmPager" `FvwmPager *`)
*Box: (3x1, Center, Swallow xclock `Exec xclock -bg '#21356c' -fg white -digital -face 'Georgia:size=8' -strftime '%a, %d %b %Y %H:%M'`)
*Box: (3x1)
|
If you want a blank column on each side of the clock:
Code: |
*Box: (3x1)
*Box: (1x3, Swallow "FvwmPager" `FvwmPager *`)
*Box: (1x1)
*Box: (1x1, Center, Swallow xclock `Exec xclock -bg '#21356c' -fg white -digital -face 'Georgia:size=8' -strftime '%a, %d %b %Y %H:%M'`)
*Box: (1x1)
*Box: (3x1)
|
You might want to use a greater number of columns so you can adjust the layout in a better way. Alternativelly, you could do something like:
Code: |
*Box: (3x1)
*Box: (1x3, Swallow "FvwmPager" `FvwmPager *`)
*Box: (3x1, Padding 20 0, Center, Swallow xclock `Exec xclock -bg '#21356c' -fg white -digital -face 'Georgia:size=8' -strftime '%a, %d %b %Y %H:%M'`)
*Box: (3x1)
|
Look at the padding I added.
If what you intend is to center the text in the blue zone, then that is not related to fvwm, since it is inside xclock. |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Thu Jul 12, 2007 9:52 pm Post subject: |
|
|
I have started using fvwm and I find it awesome!
I would like to have different FvwmButtons for each desk/page (so I can have the common applications I use in each desk/page easily available). The idea is that each desk/page should be different depending on the work I am doing in it. I have been using this in WindowMaker (different application icons in each different virtual desktop) and in fluxbox mixing different applications (see this post). This is a feature that does not seem to be common in window managers (you can have a look to this thread in KDE).
I have look at the post and in the FvwmButtons, but I do not see how to do it. Could anybody give me some advice? Thanks! |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Sat Jul 14, 2007 5:32 pm Post subject: |
|
|
Done!
I have found the instruction StartsOnPage that defines in which desktop/page a module appears. This is my (still very basic) FvwmButtons config that illustrates how to get different FvwmButtons in each page/desktop with different backgrounds. When I get into a page FvwmButtons gives me the name of the page and the (shortcuts to applications) I normally use in that page, allowing to avoid complex menus as much as possible.
Cheers!
DestroyModuleConfig Confi: *
Module FvwmButtons Confi
*Confi: Rows 3
*Confi: Columns 2
*Confi: Geometry 60x90+0+0
*Confi: Back Yellow
*Confi: (1x1, Icon konqueror.png, Action(Mouse 1) 'Exec konqueror --profile filemanagement')
*Confi: (1x1)
*Confi: (1x1)
*Confi: (1x1)
*Confi: (1x1)
Style Confi StartsOnPage 0 0 0,!Button 1,!Button 2,!Button 4,!Borders
DestroyModuleConfig Consola: *
Module FvwmButtons Consola
*Consola: Rows 3
*Consola: Columns 2
*Consola: Geometry 60x90+0+0
*Consola: Back Pink
*Consola: (1x1, Icon konsole.png, Action(Mouse 1) 'Exec konsole')
*Consola: (1x1)
*Consola: (1x1)
*Consola: (1x1)
*Consola: (1x1)
Style Consola StartsOnPage 0 1 1,!Button 1,!Button 2,!Button 4,!Borders |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Sun Apr 13, 2008 12:54 pm Post subject: |
|
|
As Taviso have retired, is it some way that we can have back his page on fvwm? The links are not working anymore, and it would be great if some backup can be made accessible somewhere. _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
ThomasAdam Guru
Joined: 20 Mar 2005 Posts: 448 Location: England
|
Posted: Sun Apr 13, 2008 1:02 pm Post subject: |
|
|
Dominique_71 wrote: | As Taviso have retired, is it some way that we can have back his page on fvwm? The links are not working anymore, and it would be great if some backup can be made accessible somewhere. |
I think he's working on it.
-- Thomas Adam |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|