Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: looper11 on November 09, 2020, 07:01:14 PM
-
i use tinycore plus (11) with flwm_topside for my end user and i try to lock down that with an gtk application, but i don't have and idea how can i disable Right click i read many post on this forum , i change Xprogs (remove application pixmap icons and mouse tools ) and flwm_topside (remove all script create wmx) and at last i can remove some option but still working :-X user can right click (or left click ) and open terminal , etc .
i change mouse option in xsession for xvesa but doesn't work.
-
Hi looper11
Welcome to the forum.
There are scripts that create those menus. Look at /usr/local/bin/flwm_topside*.
I haven't tried it, but this might work:
sudo rm -rf /usr/local/share/applications/*.desktop
sudo flwm_topside_initmenu
-
Tanks my friend I did it , yeh it's work but not all , New Desktop and exit still present .
-
Hi looper11
... yeh it's work but not all , New Desktop ...
New Desktop might be internal to the flwm_topside window manager.
... and exit still present .
If you cleaned out the /usr/local/share/applications/ subdirectory prior to flwm_topside_initmenu it should be gone.
-
that means i can't disable Right Click (Menu Context) in flwm topside
-
Hi, guys!
May be I am wrong, but seems that the method described by Rich earlier in the http://forum.tinycorelinux.net/index.php/topic,18785.0.html topic can help.
-
Hi looper11
You could try customizing flwm_topside. The source can be found here:
https://github.com/tinycorelinux/flwm
I think changing these 3 lines from 1 to 0 in config.h will do what you want:
// set this to zero to remove the multiple-desktop code. This will
// make flwm about 20K smaller
#define DESKTOPS 1
// Read links from ~/.wmx to make menu items to run programs:
#define WMX_MENU_ITEMS 1
// Menu item to run a new xterm (if no wmx items found):
#define XTERM_MENU_ITEM 1
If you want to try it:
tce-load -wil compiletc git sstrip fltk-1.3-dev
git clone https://github.com/tinycorelinux/flwm.git
cd flwm
# Make your changes to config.h.
./compileit
If all went well, you should find a flwm_topside executable in the current directory.
If you receive any errors, post them here and we'll try to resolve them.
-
Hi jazzbiker
Yes, disabling console access should be part of locking down a system.
-
Hi Rich
Let me check , ...
Tank you for you replaying