Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Introduction to FvwmButtons
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ThomasAdam
Guru
Guru


Joined: 20 Mar 2005
Posts: 448
Location: England

PostPosted: Thu Jan 11, 2007 11:27 pm    Post subject: Reply with quote

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:

Code:

more ./some_file


Does just as well.

-- Thomas Adam
Back to top
View user's profile Send private message
spadearcher
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2006
Posts: 131
Location: Seattle

PostPosted: Thu Jan 11, 2007 11:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
spadearcher
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2006
Posts: 131
Location: Seattle

PostPosted: Fri Jan 12, 2007 1:52 am    Post subject: Reply with quote

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
View user's profile Send private message
colinbarnette
n00b
n00b


Joined: 07 Mar 2007
Posts: 17
Location: Louisville, Kentucky

PostPosted: Thu Mar 29, 2007 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Apr 03, 2007 2:35 am    Post subject: Reply with quote

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
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Thu Jul 12, 2007 9:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Sat Jul 14, 2007 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Sun Apr 13, 2008 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
ThomasAdam
Guru
Guru


Joined: 20 Mar 2005
Posts: 448
Location: England

PostPosted: Sun Apr 13, 2008 1:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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