LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2017, 09:29 PM   #1
justsaucerawsauce
LQ Newbie
 
Registered: Nov 2017
Posts: 12

Rep: Reputation: Disabled
twm - Nothing in "Debian" menu?


Hi, I recently switched from Ubuntu 16.04 to Linux Mint 18.2.
When using Ubuntu, I usually experimented with SSH, RLogin, Telnet, etc...
While experimenting with the twm window manager, I found a "Debian" menu that had a bunch of useful applications. But on Linux mint, the "Debian" menu is still there, but nothing happens when I hover over it. Is there any way I can get those applications back? (Other than installing Ubuntu/Debian)
 
Old 11-10-2017, 09:50 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
The default twm menu appears to exist as a portion of /usr/share/X11/twm/system.twmrc, at least in Slackware.

I'm guessing you could either edit the menu portion of that file appropriately or create a .system.twmrc in ~/ that would supersede the default.

I have not tested this, but a similar process (created the relevant config files in ~/ works to customer Fluxbox).

Last edited by frankbell; 11-10-2017 at 09:51 PM.
 
Old 11-10-2017, 11:03 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
In the old days of debian minimal installs you needed to install menu to have your menu's populated in various wm's of the non-mainstream variety. It looks like menulibre is the modern version of that option.

$ sudo apt-get install menulibre

It basically builds a menu based on the contents of /usr/share/menu/. Or should (in theory) yada yada yada...
 
Old 11-11-2017, 06:10 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,479

Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
The default twm menu appears to exist as a portion of /usr/share/X11/twm/system.twmrc, at least in Slackware.

I'm guessing you could either edit the menu portion of that file appropriately or create a .system.twmrc in ~/ that would supersede the default.
Not quite - copy /usr/share/X11/twm/system.twmrc to your /home directory as .twmrc, then edit it to your own preferences.
 
1 members found this post helpful.
Old 11-11-2017, 10:28 AM   #5
justsaucerawsauce
LQ Newbie
 
Registered: Nov 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
/usr/share/X11/twm doesn't even exist.
Am I doing something wrong here?
 
Old 11-11-2017, 11:25 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Try /etc/X11/twm/ for the default configuration. The user file can be ~/.twmrc
This .twmrc file shows menu specification
http://www.xwinman.org/rc/twmrc-thomas
As with all simple window managers, a menu is not created automatically as it would be with a desktop: you have to write your own.
 
Old 11-11-2017, 11:54 AM   #7
justsaucerawsauce
LQ Newbie
 
Registered: Nov 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks for the help.

I just realized, I could just take the .twmrc from the installation that had the pre-installed menus over to my current linux.
 
Old 11-11-2017, 02:31 PM   #8
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
You can give a try to rename .twmrc

and to do apt-get install menu

then restart X / TWM
 
Old 11-11-2017, 08:11 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Quote:
Not quite - copy /usr/share/X11/twm/system.twmrc to your /home directory as .twmrc, then edit it to your own preferences.
Thanks, fatmac. I learned something.
 
Old 11-12-2017, 03:19 PM   #10
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Big WELCOME j. Your posts look GREAT!!! (LQ'ers forgot to 'welcome' you)

Re: you next thread on lagging-X11: Idk GUI well, but my OldUnix thot is:
Check the ping reply time (&obviously net speed, like a big filecopy).

You can mark this thread as 'Solved' at top
(so future searchers can find what frankbell learned)

And a LQholidayGift (LQblog search Titled: code tags)
 
Old 11-19-2017, 09:37 AM   #11
rufwoof
Member
 
Registered: Nov 2017
Distribution: Kernel+busybox+ssh+vnc+alsa (framebuffer)
Posts: 201

Rep: Reputation: Disabled
All depends upon what you're looking for. The default twm rc is barely OK and does little to 'sell' twm IMO. My ~/.twmrc is attached along with a animated gif sequence of what that looks like. I've gone for colour theming of icon manager that loads left to right across the top of screen and matches menu colouring and program decoration colouring (titles/borders); No desktop icons and a left window title button that shows the icon manager when clicked (for switching between programs/windows). I also have the window title set to show the normal twm menu when right mouse pressed in a similar manner to how more usually you right mouse press the desktop to show the twm menu (handy for when a window is full screen and there's no desktop space showing that you can mouse press to show the twm menu).

https://s33.postimg.org/yxrnej47j/twm-ani.gif
Attached Files
File Type: txt .twmrc.txt (12.4 KB, 39 views)
 
Old 11-19-2017, 10:21 AM   #12
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by rufwoof View Post
All depends upon what you're looking for. The default twm rc is barely OK and does little to 'sell' twm IMO. My ~/.twmrc is attached along with a animated gif sequence of what that looks like. I've gone for colour theming of icon manager that loads left to right across the top of screen and matches menu colouring and program decoration colouring (titles/borders); No desktop icons and a left window title button that shows the icon manager when clicked (for switching between programs/windows). I also have the window title set to show the normal twm menu when right mouse pressed in a similar manner to how more usually you right mouse press the desktop to show the twm menu (handy for when a window is full screen and there's no desktop space showing that you can mouse press to show the twm menu).

https://s33.postimg.org/yxrnej47j/twm-ani.gif
What's the point to use the TWM since you have libre office that takes all your memory? TWM is today very little used. XFCE, Gnome, KDE,... are widely used.
 
Old 11-19-2017, 12:10 PM   #13
rufwoof
Member
 
Registered: Nov 2017
Distribution: Kernel+busybox+ssh+vnc+alsa (framebuffer)
Posts: 201

Rep: Reputation: Disabled
Quote:
Originally Posted by patrick295767 View Post
What's the point to use the TWM since you have libre office that takes all your memory? TWM is today very little used. XFCE, Gnome, KDE,... are widely used.
That's comparing a windows manager to desktop environments. I had issues with Xfce deciding how it thought best to do things such as desktop icon placement, and other issues with both Gnome and KDE and hence prefer to define my own DE. twm also comes as part of X11 so its part of core rather than being third party under OpenBSD (Unix philosophy of doing one thing ... well), helping reduce security risks (and bloat). In respect to just window management, twm excels each of Xfce, Gnome and KDE IMO (and later wm's such as jwm where for instance you can't add a launch menu option as a button or click option on windows titles ... and as such doesn't do as good a job as a windows manager).

The layering works well as well, such as writing/pasting into one window that is behind another window (and resizing/moving behind other windows). If you don't like the icons or icon manager then turn those off and add in your own choice of alternatives (perhaps pcmanfm as a filemanager and use its pcmanfm --desktop option to add desktop icon manager/icons, maybe xfce panel, stalonetray for the systray ...etc.).

Works for me, but like OpenBSD isn't a popular/widely used choice as a desktop. twm recently celebrated its 30th birthday and its still part of core X11 so certainly has pedigree. Better suited to physical mouse dominance usage. For keyboard dominance such as laptops with awkward mouse touchpads alternatives such as cwm are better.
 
Old 11-19-2017, 02:07 PM   #14
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by rufwoof View Post
That's comparing a windows manager to desktop environments. I had issues with Xfce deciding how it thought best to do things such as desktop icon placement, and other issues with both Gnome and KDE and hence prefer to define my own DE. twm also comes as part of X11 so its part of core rather than being third party under OpenBSD (Unix philosophy of doing one thing ... well), helping reduce security risks (and bloat). In respect to just window management, twm excels each of Xfce, Gnome and KDE IMO (and later wm's such as jwm where for instance you can't add a launch menu option as a button or click option on windows titles ... and as such doesn't do as good a job as a windows manager).

The layering works well as well, such as writing/pasting into one window that is behind another window (and resizing/moving behind other windows). If you don't like the icons or icon manager then turn those off and add in your own choice of alternatives (perhaps pcmanfm as a filemanager and use its pcmanfm --desktop option to add desktop icon manager/icons, maybe xfce panel, stalonetray for the systray ...etc.).

Works for me, but like OpenBSD isn't a popular/widely used choice as a desktop. twm recently celebrated its 30th birthday and its still part of core X11 so certainly has pedigree. Better suited to physical mouse dominance usage. For keyboard dominance such as laptops with awkward mouse touchpads alternatives such as cwm are better.
Fluxbox is probably easier to use. Have you tried Fluxbox though? For the desktop, rox has a cool DESKTOP capability. Rox-filer could replace xfdesktop well. XFCE is in any cases smaller than GNOME and KDE.

But you know that Wayland will be replacing X11. Soon or later, TWM will no longer exist.
 
Old 11-19-2017, 02:57 PM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by patrick295767 View Post
What's the point to use the TWM since you have libre office that takes all your memory? TWM is today very little used. XFCE, Gnome, KDE,... are widely used.
lol, windows is even more widely used.
what's wrong with wanting to use twm?
choice is the beauty of linux...

Quote:
Originally Posted by patrick295767 View Post
But you know that Wayland will be replacing X11. Soon or later, TWM will no longer exist.
the same goes for most windowmanagers, fluxbox too.
or is somebody working on porting it to wayland?
 
  


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
"Uninstall" integration in Cinnamon menu on Debian? Psy-Q Debian 0 09-30-2016 09:45 AM
Editing "Main Menu" in Debian. Can't change. ismaeltxu Linux - Newbie 3 05-14-2015 08:06 PM
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Linux - General 3 11-28-2011 06:41 PM
Does anyone here have a working .jwmrc file, with a "Debian" menu that lists apps? frenchn00b Linux - Desktop 1 07-10-2010 02:56 PM
Gnome lists all the programs within the "Debian" menu twice. Lokathor Debian 2 11-09-2005 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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