LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-29-2016, 04:22 PM   #16
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 657

Original Poster
Rep: Reputation: 137Reputation: 137

Quote:
Originally Posted by dugan View Post
I'm... pretty sure that nobody has one.
Probably, but I am sure that maybe one or two still have it. It's quite old but still used.
TWM is indeed a nice fallback.

Look the ed and vi(m), later emacs, are still heavily being used. Old stuffs CAN be readily employed in Linux.
 
Old 09-04-2016, 08:56 AM   #17
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 283

Rep: Reputation: 133Reputation: 133
Here is mine, as rkfb mentioned, vdesk works great with twm.
Attached Thumbnails
Click image for larger version

Name:	twm.jpg
Views:	56
Size:	205.0 KB
ID:	22929  
Attached Files
File Type: txt twmrc.txt (15.7 KB, 20 views)
 
1 members found this post helpful.
Old 09-04-2016, 11:54 AM   #18
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running TWM
Posts: 433

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by jmccue View Post
Here is mine, as rkfb mentioned, vdesk works great with twm.
Nice work, I knew I wasn't the only one :-)
 
Old 09-04-2016, 01:33 PM   #19
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 657

Original Poster
Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by rkfb View Post
Nice work, I knew I wasn't the only one :-)
indeed very nice.

the drawback of twm is that you need to click to position the new window... maybe there is a workaround

herewith my xbindkeys:
Quote:
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.5
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
# "command to start"
# associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier:
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#

# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events

# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.

#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable

# Examples of commands:

"xbindkeys_show"
control+shift + q


" xfwm4-settings & gtk-chtheme "
m:0x50 + c:127
Mod2+Mod4 + Pause


" gtk-chtheme "
m:0x51 + c:127
Shift+Mod2+Mod4 + Pause



" xterm -bg black -fg grey -fa 15 "
m:0x50 + c:53
Mod2+Mod4 + x

" cd ; echo firefox | dzen2 -p 1 -bg blue ; firefox "
m:0x50 + c:41
Mod2+Mod4 + f


" cd ; date +%Y%m%d-%H%M%S-%a | awk '{print toupper($0)}' | xsel -b -i ; echo DATE | dzen2 -p 1 -bg blue "
m:0x51 + c:40
Shift+Mod2+Mod4 + d


"xdotool set_desktop $(expr $(expr $(xdotool get_desktop) - 1) )"
m:0x50 + c:45
Mod2+Mod4 + k

"xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + 1) )"
m:0x50 + c:44
Mod2+Mod4 + j



# -- Move Right --
# This is the general command that works with any number of workspaces:
# "xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + 1) % $(xdotool get_num_desktops))"
# This is the optimized command for 5 workspaces:
"xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + 1) )"
m:0x50 + c:114
Mod2+Mod4 + Right


# -- Move Left --
# This is the general command that works with any number of workspaces:
# "xdotool set_desktop $(expr $(expr $(xdotool get_desktop) + $(expr $(xdotool get_num_desktops) - 1)) % $(xdotool get_num_desktops))"
# This is the optimized command for 5 workspaces:
"xdotool set_desktop $(expr $(expr $(xdotool get_desktop) - 1) )"
m:0x50 + c:113
Mod2+Mod4 + Left


" cd ; echo icedove | dzen2 -p 1 -bg blue ; icedove "
m:0x50 + c:32
Mod2+Mod4 + o


" ndataman --xpause "
m:0x10 + c:127
Mod2 + Pause

" ndataman --scrot "
m:0x10 + c:107
Mod2 + Print

" xfce4-taskmanager "
m:0x1c + c:119
Control+Alt+Mod2 + Delete


" wmctrl -r :ACTIVE: -b toggle,maximized_vert,maximized_horz "
m:0x40 + c:38
Mod4 + a

" wmctrl -c :ACTIVE: "
m:0x40 + c:25
Mod4 + w


" amixer set Master 2+ "
m:0x40 + c:111
Mod4 + Up

" amixer set Master 2- "
m:0x40 + c:116
Mod4 + Down


"xdotool set_desktop 0 "
m:0x40 + c:10
Mod4 + 1
"xdotool set_desktop 1 "
m:0x40 + c:11
Mod4 + 2
"xdotool set_desktop 2 "
m:0x40 + c:12
Mod4 + 3
"xdotool set_desktop 3 "
m:0x40 + c:13
Mod4 + 4

" xdotool windowminimize $(xdotool getactivewindow) "
m:0x40 + c:24
Mod4 + q


" amixer set Master 2+ "
m:0x0 + c:123
XF86AudioRaiseVolume

" amixer set Master 2- "
m:0x0 + c:122
XF86AudioLowerVolume

" i3lock -i ~/.wallpaper "
m:0x50 + c:46
Mod2+Mod4 + l


" icedove -compose "
m:0x51 + c:57
Shift+Mod2+Mod4 + n

" cd ; leafpad "
m:0x50 + c:57
Mod2+Mod4 + n


" xterm -bg black -fg green "
m:0x51 + c:53
Shift+Mod2+Mod4 + x

##################################
# End of xbindkeys configuration #
##################################




" cncxclip "
m:0x50 + c:30
Mod2+Mod4 + u


" xterm -e ndataman --cmd ycal "
m:0x50 + c:73
Mod2+Mod4 + F7



" screen -d -m ndataman --cmd oxford "
m:0x50 + c:56
Mod2+Mod4 + b



" cd ; thunar "
m:0x40 + c:26
Mod4 + e


" pkill mutt ; xterm -bg white -fb grey -e mutt "
m:0x50 + c:58
Mod2+Mod4 + m

" xterm -e ndataman --cmd pad0 "
m:0x50 + c:75
Mod2+Mod4 + F9


" icedove -compose "
m:0x51 + c:58
Shift+Mod2+Mod4 + m


" thunar ~/Desktop "
m:0x50 + c:40
Mod2+Mod4 + d

Last edited by patrick295767; 09-04-2016 at 01:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to share with pcmanfm file manager fkervin Linux - Software 4 01-02-2015 01:42 PM
Coolest TWM window manager configuration? Xeratul Linux - Desktop 2 09-29-2013 10:01 AM
Stuck w/ twm Window Manager in CentOS 5.3 JMCraig Red Hat 3 01-08-2010 03:41 PM
the window manager TWM speedemonV12 SUSE / openSUSE 3 09-02-2005 02:25 AM
Configuration file for which Desktop manager to use? Knuckles T15 Fedora 1 04-10-2005 10:20 AM

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

All times are GMT -5. The time now is 10:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration