LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-23-2018, 06:16 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Are there cwm users? Beginner ask for help


Hi, installed, working, really love it - but default config file is poor, would greatly appreciate any hints and would be even more grateful if someone allow me to have a look at its own cwmrc. Asking also for tips: what kind of behavior I can emulate with cwm? I know about grouping, just managed number of simple commands, I like windows naming, fast search for command to execute. My needs: I want to have some windows to be opened at startup, at fixed position - probably as separate group. Proper settings for Xterm - yes there is system config for xterm - but maybe better do not touch this system config - let changes be local. Having a look at little more advanced config file would be a great help. In future I will post my own - once it will be finished. Final question what about D-Bus? I can run cwm with or without D-Bus - what are benefits of these two options? Know that some people dislike D-Bus.

What this all has to do with Slackware? Would be grateful if it will be added to official next release.
 
Old 03-23-2018, 10:07 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
You're welcome to take a gander at mine.

Last edited by GazL; 05-20-2018 at 08:11 AM.
 
2 members found this post helpful.
Old 03-23-2018, 10:24 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
And here's my xterm config (configured to look exactly like a linux console):

Last edited by GazL; 05-20-2018 at 08:11 AM.
 
2 members found this post helpful.
Old 03-23-2018, 10:55 AM   #4
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by GazL View Post
And here's my xterm config (configured to look exactly like a linux console):
Thanks! Looks great!

Edit: cwm is even better than I was thinking.

Last edited by igadoter; 03-23-2018 at 11:26 AM.
 
1 members found this post helpful.
Old 03-23-2018, 11:58 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by igadoter View Post
Edit: cwm is even better than I was thinking.
Yes. I really like it.

Oh, one thing I just spotted, my .cwmrc has a bug: sed -e 's/reload/restart/' .cwmrc will fix it.

They changed a lot of the keybinding function names between 6.2 and the previous version: looks like I missed one.

It's a shame they don't ship with better keybindings by default. The stock ones really are quite bad and I think it puts a lot of people off.

Last edited by GazL; 03-23-2018 at 12:00 PM.
 
Old 03-23-2018, 12:53 PM   #6
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by GazL View Post
It's a shame they don't ship with better keybindings by default. The stock ones really are quite bad and I think it puts a lot of people off.
Yours remind me awesome. It was given me a hint to look into https://www.linuxquestions.org/quest...t2-4175539067/. The poster manged thin active borders like in CDE: red/blue. I don't know I like it, but it can be useful. I am thinking right-mouse button menu: optional, non-grouping and probably ignored windows. Say htop which stats vertically half-maximal, ignored - to avoid cycling on it - and to avoid to include it into group. Rxvt as optional to xterm terminal. Such things like xload, xclock it would be nice to autolaunch at fixed position. Basic group: xterm and seamonkey - simply autolaunch - add to common group. Is there something like standalone panel? I am asking for sake to run nm-applet - which requires "panel" - it can attach to itself. It is not of much of importance but such standalone panel could be useful.

Edit: I forgot $ xcompmgr -c -f -F 2&>/dev/null & if someone is little tired.

Last edited by igadoter; 03-23-2018 at 12:58 PM.
 
1 members found this post helpful.
Old 03-23-2018, 07:34 PM   #7
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by igadoter View Post
Is there something like standalone panel? I am asking for sake to run nm-applet - which requires "panel" - it can attach to itself
I use stalonetray with this config:

Code:
vertical false
parent_bg true
transparent true
icon_gravity SE
icon_size 12
max_geometry 6x1
background black
geometry 6x1-0-0
kludges force_icons_size
no_shrink true
scrollbars horizontal
stalonetray is in slackbuilds
 
1 members found this post helpful.
Old 03-23-2018, 11:35 PM   #8
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I managed to add simple "autolaunch" functionality to my cwm. Idea comes from default .xinitrc.twm
Code:
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
autolaunch=$HOME/.autolaunch         

# Merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap

# Default startup applications
. $autolaunch

if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  ck-launch-session dbus-launch --exit-with-session cwm
else
  exec cwm
fi
file .autolaunch contains
Code:
/usr/bin/xterm &
/usr/bin/seamonkey &
of course I could add to this file xload, xclock at correct position and size, possibly xman. First I was thinking to add these commands directly to .xinitrc - but I think this is better.
 
Old 03-23-2018, 11:50 PM   #9
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by jmccue View Post
I use stalonetray [...]
stalonetray is in slackbuilds
great thanks! Really works! Network manager applet just docked nicely!
 
Old 03-24-2018, 10:08 AM   #10
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I just realized that my solution to start default applications is very simple, but I was unable to manage to work default X session manager [b ]xsm [/b]. I was unable to properly set configuration. But , on the light side of the force, I found this tool http://www.slackbuilds.org/repositor...ystem/udiskie/ automounter based on udisks - I was looking for something like that. It has nice feature to unpower device. Can mount and open with (default) thunar. And also docks (optionally) at systray (mone is stalonetray). Most things are working nicely. Even scripts which use dialog if started under xterm are 'clickable' - choices, confiramtions, cancellations - all can be done with mouse. Such programs like htop, mc they work very well with mouse.
 
  


Reply



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
Autostart application in evilwm or cwm window manager rng Linux - General 7 08-20-2016 09:56 PM
[SOLVED] Help with CWM & Tint2 EurekaHeSaid Linux - Desktop 1 04-21-2015 09:39 AM
[SOLVED] I can't compile cwm under slackware64-current moisespedro Slackware 7 08-28-2014 04:27 AM
stable, easy to use linux distro for beginner windows users kind_boy Linux - Newbie 12 02-11-2014 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 AM.

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