LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-11-2023, 06:07 AM   #1
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208
Blog Entries: 1

Rep: Reputation: Disabled
FVWM: xclock at startup


I installed fresh Slackware 15.0 and decided to try fvwm. I like the analog clock and tried to launch it on startup, so it is shown in the left bottom corner:
Code:
DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Exec exec xclock -geometry 120x120+0-0 -bg "light blue" -borderwidth 0 &
The small window with clock is indeed shown. Questions:

1. Is it possible to tell it to stay on top of all other windows? I have to do it manually right now.
2. When I restart fvwm the new copy of xclock is launched. Can I check, whether another xclock is launched and not launch the new one?
3. Is it possible to remove the window header with buttons and title "xclock"? I don't need them for this window.
 
Old 01-11-2023, 07:34 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
3. Is it possible to remove the window header with buttons and title "xclock"? I don't need them for this window.
Re. your 3rd question above, see this

Regards
 
1 members found this post helpful.
Old 01-14-2023, 10:13 AM   #3
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 694
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by usr345 View Post
1. Is it possible to tell it to stay on top of all other windows? I have to do it manually right now.
2. When I restart fvwm the new copy of xclock is launched. Can I check, whether another xclock is launched and not launch the new one?
3. Is it possible to remove the window header with buttons and title "xclock"? I don't need them for this window.
Yes, see man fvwm2, Style Options:

Code:
Style "xclock" !Title, !Handles, StaysOnTop
As for # 2, something must be starting xclock on restart, check your .fvwm2rc. See the man for these items:

StartFunction
RestartFunction

HTH
John
 
Old 01-14-2023, 05:33 PM   #4
ThomasAdam
Member
 
Registered: Apr 2011
Posts: 41

Rep: Reputation: 46
Quote:
Originally Posted by usr345 View Post
1. Is it possible to tell it to stay on top of all other windows? I have to do it manually right now.
Code:
Style xclock Layer 8
Quote:
Originally Posted by usr345 View Post
2. When I restart fvwm the new copy of xclock is launched. Can I check, whether another xclock is launched and not launch the new one?
Code:
AddToFunc StartFunction I Test (Init) Exec exec xclock
Quote:
Originally Posted by usr345 View Post
3. Is it possible to remove the window header with buttons and title "xclock"? I don't need them for this window.
Code:
Style xclock !Title, !Handles, !Borders
 
2 members found this post helpful.
Old 01-18-2023, 10:23 AM   #5
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
- Is it possible to remove xclock from the list of windows as well?
- Is it possible to keep it on the same place for all pages and virtual desktops?

Last edited by usr345; 01-18-2023 at 10:43 AM.
 
Old 01-20-2023, 07:39 PM   #6
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 694
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by usr345 View Post
- Is it possible to remove xclock from the list of windows as well?
- Is it possible to keep it on the same place for all pages and virtual desktops?
No offense, you should read the manual, if you can find it. I think some distros may skip installing manuals.

To skip the list use: WindowListSkip in Style.

To keep in all virtual windows use: Sticky in Style.

Over the years I have studied the "Style" section of the Manual. Lots of options to play with
 
  


Reply

Tags
fvwm, xclock



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
fvwm & fvwm-crystal? festhead Linux - Desktop 1 09-23-2007 09:49 AM
transparency not correct with fvwm + fvwm-crystal + radeon hedpe Linux - Desktop 0 01-30-2007 07:59 PM
Which file controls the startup of xclock satimis Linux From Scratch 6 09-25-2005 11:54 PM
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 08:04 PM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:43 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