-
Search Results
-
Topic: IceWM & Emacs: keybindings
@bobc:
BCI, If you have question, its much better to create your own thread rather than risk confusing the op of another thread who is getting all kinds of irrelevant replies to his post.
I think I see your point. I think I was getting a little too comfy in that thread. 🙂
To address a point you make in your post, I didn’t have any questions per se; I was merely following up on a series of comments made by another forum member ( @masinick).
I assume this particular section of the forum is an appropriate place to leave general comments of a technical, but somewhat conversational and open-ended nature.
Emacs is a terminal based app, and therefore how it acts will be affected by what terminal you are using and how its configured…
Precisely for this reason I dislike terminal based editors; at least I don’t rely on them heavily. I always use Emacs as a GUI application (what in Debian is known as emacs-gtk), and it’s recommended to use it as such. To quote the end of that article,
Live in the blissful world of 16.7 million colors, different font sizes, and infinite key bindings. Live in the GUI, forever.
I’ve included a screenshot of GUI Emacs running on my own system, so you can see it in (at least some of) its glory 🙂
…as well as the window manager, and anything else running (like clip for example).
Yep, this (the window manager thing) indeed is an issue. As for xclip (I think that’s what you meant?), I think it’s an awesome program, but I haven’t really needed it recently.
You can use grep on the keys file, and separately on the preferences overlaid by prefoverride, then combined to make a complete list of IceWM keys.
If you add the ones from the terminal you are using, you could then match them up with a similar list from emacs to find the conflicts.
Its your system, so you can change what you don’t like to something you do like.Reading this several times over, I actually see what you’re getting at now – basically, compile a list of every single key binding that’s in use by everything. I’ll definitely keep that idea in mind, thanks!
- This topic was modified 1 month ago by bci. Reason: enforce "syntax highlighting" for @-mention
- This topic was modified 1 month ago by bci. Reason: add attachment
Most IceWM settings can be changed from the menu or by right clicking the clock or the squares that present system information. But changing the clock that way does not “stick”, and the menu is too complex for ordinary users to understand, and there are too many options, most, really hard to understand.
So I want to provide an easy GUI way to configure the system, all from a prefoverride file, that over rides the default settings.
For now, I have a prefoverride config file that is heavilly commented and manages the most usual toolbar, clock and system info square options. Most values are easy to change, since they are “1” for “on” and “0” for “Off”. And there are only some dozen lines, not over a thousand (like the “preferences” file has).
So, using your File Manager, go to ~/.icewm and make sure that a file called prefoverride exists there (if it does not exist, create it).
Then you can paste the values you like, from the example file below.
HOW TO:
– Read the comments (the lines starting with #, to know what each option does)
– Copy the values to your prefoverride text file. Save the file. Restart IceWM, to see the change.
– Do you want to get back to the default settings? Rename or delete the prefoverride file and Restart IceWMThe GUI I’m trying to create will manage only the features listed in this config file. I’m open to suggestions that are easy to implement.
EDIT: the GUI will NOT manage Workspace options- Robin already took care of that – there’s a great GUI, over at the antiX-23 thread, that manages the numbers and names of workspaces on IceWM!!!
#### This file overides options from the default Icewm Window Manager theme #### This file should be placed in ~/.icewm/ #### ANY CHANGE YOU DO THE THIS CONFIG FILE REQUIRES YOU TO RESTART ICEWM: To enable any setting, change the value indicated after the equal sign (usually, you have two options: 1=on; 0=off and restart icewm (you can do that instantly by clicking (it's the same if you use a right click or a left click) the menu icon and then choose the last option ("exit" and then it's submenu - the right facinf arrow > select "Restart Icewm" OR, at the terminal run the command: "icewm --restart" (without quoation marks, of course) # #### IMPORTANT NOTE: in each line, everything after a "#" sign is ignored and considered just a comment (usually comments are there to show you the possible options or what they mean) ### How windows are displayed in the taskbar: # Group applications with the same class name under a single task button: 0=off, 1=digits showing how many grouped windows, 2=dots, 3=both. TaskBarTaskGrouping=0 # [0-3] # Show only icons of running windows on the toolbar (hide the title) - a larger number make the space that each window uses on the toolbar smaller. This setting is the only one that, to furfil it's end (when grouping windows of the same kind and showing, next to the icon, the number of windows, may require you to experiment with several possible values: TaskbarButtonWidthDivisor=18 #usually this setting is commented out (not used); to display just the icon (and not the title) default to "30" # Taskbar justify left, right or center TaskBarJustify="center" ### Clock Settings: # Clock: just show Hours:Minutes (to show Hours in am/pm format use: the value "%l:%M", for 24H use "%H:%M" (you can add ":%S" at the end to also see seconds), to add day of the mont*month: %d/%m TimeFormat=%H:%M # Clock font (in case it's not using the next preference: "TaskBarClockLeds=1" ClockFontName=”-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*” ClockFontNameXft=”monospace:size=12:bold” # Task bar clock/battery monitor uses nice pixmap LCD display (but then it doesn't display correctly in many languages anymore, e.g., for Japanese and Korean it works only when a real font is used and not the LCD pixmaps TaskBarClockLeds=0 # 0/1 ### Information gadgets about system resources (on the right, next to the clock) # Show CPU status on task bar TaskBarShowCPUStatus=1 # Show memory usage status on task bar TaskBarShowMEMStatus=0 # 0/1 # Show network status on task bar TaskBarShowNetStatus=1 # 0/1 # Show battery status on task bar TaskBarShowAPMStatus=0 # 0/1 ### Workspaces/virtual Desktops: # To have multiple workspaces - just add a comma and it's name, inside quotation marks, for each extra workspace you want. Note: for the second workspace, you only need a comma, it will automaticly be named "2" # To have only one workspace the line below should be: WorkspaceNames=" 1 " # Inside the quotation marks, insert the name for each workspace, otherwise they will be numbered (the first one is " 1 ", etc) WorkspaceNames=" " # Show workspace indicator on the task bar TaskBarShowWorkspaces=1 # 0/1 ### Assorted taskbar settings (auto-hide, double height, move to the top of the screen) # Autohide taskbar TaskBarAutoHide=0 # 0/1 # Taskbar at the top of the screen (instead of in the bottom)- PLEASE NOTE: FOR THIS TO BE PROPERLY ENABLE LOG OFF AND BACK ON: TaskBarAtTop=0 # Taskbar with double height, useful to use taskbar as a "dock" to with many icons to quick-launch applications TaskBarDoubleHeight=0 # 0/1 ### Title bar: # Show app's icon on it's window's title bar: ShowMenuButtonIcon=1 # 0/1 #### KEYBOARD SHORTCUTS: # Tile windows with the Windows key + arrow keys shortcuts KeyWinTileLeft=Super+Left KeyWinTileRight=Super+Right KeyWinTileTop=Super+Up KeyWinTileBottom=Super+Down ###How to manage windows: # Make new windows appear right below and to the right of the previous window (if CenterLarge=1 then this applies only to small windows, like galculator, etc) SmartPlacement=0 # 0/1 # Make new large windows appear always in the center: CenterLarge=1 # 0/1 # Show indication of position and window size, when dragging a window ShowMoveSizeStatus=0 # 0/1 # Pass focusing click on client area to client??? #PassFirstClickToClient=0 # 0/1 ### Stuff not handled in this config file: # Taskbar height it 's the height of "linux.xpm" (or the -xpm file used as Menu icon) in the theme that's being used # Titlebar height it's the field "TitleBarHeight" in theme that's being used. It can be set here, but doing that may mess up the way the tile bar looks...- This topic was modified 2 months, 2 weeks ago by PPC.
- This topic was modified 2 months, 2 weeks ago by PPC.
- This topic was modified 2 months, 2 weeks ago by PPC.
Hello,
I am using AntiX 19.4 – 64 Bit, with icewm with the theme Blue-Day-Small.
I want to change the font of the ‘CPUStatusShowAcpiTempInGraph’. It is too big and I want it a bit smaller to better fit inside the cpu statusbar at the bottom right of my taskbar.
I looked in:
.icewm/prefoverrides
.icewm/preferences
/usr/share/icewm/themes/BlueDay-Small/default-theme
/etc/X11/icewmI tried the following lines:
QuickSwitchFontNameXft = “ubuntu:size=7,Sans:size=6″
Name of the status display font.
StatusFontNameXft=”monospace:size=5:bold”
StatusFontName=”-*-monospace-bold-r-*-*-*-20-*-*-*-*-*-*”Also tried ‘Look and feel’ and ‘Qt5 settings’.
I managed to change pretty much every thing I wanted from font size, title bar height, keys, etc. The only thing I can’t is to change the size (or type) of the font in CPUStatusShowAcpiTempInGraph. I can’t find an option to manipulate.
Ideas and thoughts about this issue are welcomed.
Also, is there any other way to have my cpu temperature on my taskbar? I remember back on the Lubuntu 15 days to have that feature.
Thanks.
HOWTO: IceWM Configuration (Verbose)
Obviously, this is a subjective matter. There are different ways of doing this,
I like to edit the files.IceWM comes by default with alt-tab to switch windows, alt-F10 to maximize,
alt-F9 to minimize the screen, the Windows key will give you the main menu. In
the main menu click on Settings > Focus and choose your favorite, (i like
“Sloppy”). Do it again, and click on Themes and choose.NOTE: winkey (Windows key) + space bar will give a ‘run box’ at the taskbar by
default. from where you can launch apps a la gmrun.If you go to the icewm site: http://www.icewm.org -> IceWM Manual you get all the keybinds
and mouse commands. It’s a very worthwile read, it will teach you how to lock
your screen (xtrlock), move a window to another workspace, screensavers, and so
forth, how to start an app in a different workspace when you enter the X system,
etc.Congratulations! you’re ready for prime time. Just point and click.
But if you want to increase your speed, if you’re a geek wannabe, if the Windows
way of working bring tears to your eyes, then KEYBINDINGS are for you.My configuration uses 4 files: preferences, keys, winoptions, and prefoverride.
Preferences deals with the window manager’s behavior.
Keys with keybindings.
Winoptions with options that alter the windows.
Prefoverride changes the default keybinds for the ones you like.You CANNOT edit the global file, so you have to create them and put them in your /home.
The global file resides in /usr/share/icewm/preferences where all the
preferences for IceWM are, copy/paste the ones relevant to your way of working,
and put them in your ~/.icewm/preferences.Now create these files in your /home, and edit them as USER. The directory .icewm already exists.
$ touch .icewm/preferences
$ touch .icewm/keys
$ touch .icewm/winoptions
$ touch .icewm/prefoverride
PREFERENCES
So now all you have to do is edit .icewm/preferences as USER.$ nano .icewm/preferences
Choose the preferences you like from the global file
(/usr/share/icewm/preferences) and copy/paste them into your .icewm/preferences.Every preference consists of 2 lines, both of which are commented (#), uncomment
(erase the hash mark) on the second line of the preference, and add 1 or 0
(zero) at the end.1 = enables the preference
0 = disables it.save/exit and RESTART icewm – Menu >Logout >Restart icewm for it to take
effect.Clear as mud?
Example:
# Hide title bar when maximized
#HideTitleBarWhenMaximized=0 # 0/1
After editing it, it should look like this if you wanted it enabled:
# Hide title bar when maximized
HideTitleBarWhenMaximized=1
Restart icewm, restart icewm, restart icewm 😀
Me? I copied/pasted my personal preferences I stored
in my web mail. It takes me 5 minutes to config icewm.Here’s my .icewm/preferences:
OpaqueMove=0
OpaqueResize=0
SmartPlacement=1
MenuMouseTracking=1
ModSuperIsCtrlAlt=1
UseMouseWheel=1
QuickSwitch=1
AutoReloadMenus=1
ShowProgramsMenu=1
ShowThemesMenu=1
ShowHelp=1
TerminalCommand="lxterminal"
ShutdownCommand="sudo poweroff"
RebootCommand="sudo reboot"
WorkspaceNames=" 1 ", " 2 "TaskBarAutoHide=0
TaskBarShowClock=1
TaskBarShowAPMStatus=0
TaskBarAtTop=0
TaskBarShowAPMStatus=0
TaskBarShowAPMTime=0
TaskBarShowMailboxStatus=0
TaskBarShowWindows=1
TaskBarShowShowDesktopButton=0
TaskBarShowTray=1
TaskBarShowWindowIcons=0
TaskBarShowCPUStatus=1
TaskBarShowNetStatus=0
TaskBarShowCollapseButton=1
TaskBarWorkspacesLeft=1
TimeFormat="%R"
TaskBarShowShowDesktopButton=0
TaskBarShowWindowListMenu=1
TaskBarShowMailboxStatus=0
TaskBarMailboxStatusBeepOnNewMail=0
NormalTaskBarFontName="-*-sans-medium-r-*-*-*-100-*-*-*-*-*- *"
NormalTaskBarFontNameXft="sans-serif:size=10"
ActiveTaskBarFontName="-*-sans-r-*-*-*-100-*-*-*-*-*-*"
ActiveTaskBarFontNameXft="sans-serif:size=10"
HideTitleBarWhenMaximized=0save/exit your favorite editor.
KEYS
Same. Choose what you need. I erased everything and pasted my keybinds.
This is my .icewm/keys:$ nano .icewm/keys
Example:
key "F1" lxterminal
key "F2" xfe
key "Ctrl+f" firefox
key "Ctrl+g" google-chrome-stable
key "F7" mirage
key "F8" hexchat
key "Print" lxterminal -e scrot -cd 10#Sound
key "Ctrl+Down" amixer -q set Master 9%- # lower volume
key "Ctrl+Up" amixer -q set Master 9%+ # raise volumeSave/exit your editor.
Ctrl+Up arrow increases volume.
Ctrl+Down arrow decreases volume
If you get no sound go to alsamixer as USER and unmute with M key.
<code
$ alsamixer
Needless to say choose your favorite applications and keybinds.
I have no use for the Fn keys, but if you do, just add Alt or Ctrl or Super (winkey) example:
key “Alt+ l” leafpad
key “Ctrl+f” firefoxSOUND
A word about sound. In my case, I haven’t had good luck with Pulseaudio, so I use ALSA.[code]
$ apt-cache search alsa
[/code]Installed the alsa packages plus aumix and menu.
# apt-get install aumix menu alsa-lib alsa-plugins alsa-utils
Config the sound volume:
$ alsamixer
Unmute sound with letter M
WINOPTIONS
Go to .icewm/winoptions and paste this, I’m only interested in
maximizing my windows:
$ nano .icewm/winoptions
lxterminal.Lxterminal.startMaximized: 1
hexchat.Hexchat.startMaximized: 1
firefox.Firefox.startMaximized: 1
xfe.Xfe.startMaximized: 1
mirage.Mirage.startMaximized: 1
save/exit
PREFOVERRIDE
$ nano .icewm/prefoverride
And paste this:
KeyWinClose="F4"
KeyWinMaximize="F12"
save/exit
So now I close applications with F4 (boom! gone) and maximize the windows with
one key (F12), instead of the default Alt+F10.THEMES
I’m not much for themes and eye-candy, my thing is simplicity and speed.Go to http://www.box-look.org, click on “icewm themes” in the left column, if you know
the name of the theme, click on “alphabetical”. Click on Download. There are
over 400 themes for IceWM in this site. There are a bunch on the right column on
the site.Download the theme file /home/<yourusername>/Downloads (automatic with
Firefox).I launch xfe (my file manager) as ROOT, I find the theme in Downloads,
right-click on it, and choose “Extract to” in the next screen at the bottom I
type the location where to be extracted, (/usr/share/icewm/themes) press
Enter, and that’s it, the new theme appears in Settings>Themes from the main
menu. Click on it and you’ll have a new theme immediately.NOTE: Restart icewm every time you do changes on the window manager.
- This topic was modified 2 years, 10 months ago by macondo.
- This topic was modified 2 years, 10 months ago by macondo.
antiX Core 64 Bit Runit IceWM
"Sometimes a man finds his destiny on the road he took to avoid it."
Topic: The Adventures of a New Guy
Hi there, I installed antiX 19 (core? ~700MB) a couple of days ago I’ve been liking it quite a bit. Thanks for the good work!
FWFW I’m a former Unix guy (NOT a sysadmin) and Ubuntu/Mint/Manjaro linux user of a few years. I install fluxbox and remove pulseaudio as part of each linux installation, so it was nice to have a distro with FB installed (and pulse not installed) natively. But now I guess I’m turning into a iceWM guy…
Here are some of my adventures with it, maybe they’ll help some other new user(s).
– Installer was nice, easy to use.
– No errors or problems installing or updating.
— Had troubles REMOVING some packages so installed synaptic.– Spent several hours trying to figure out why I couldn’t change the iceWM fonts
— Solution: ignore “~/.icewm/preferences” file and edit “~/.icewm/prefoverride”.– Troubles with opening “foobar” (wine program) in a given desktop
— solution: use xprop to get window info for winoptions file, and
— a name with a “.” in it is referenced like “foobar2000\.exe.workspace: 2”FWIW, my firefox and wine installs are actually on a ‘data’ partition:
/opt/wine-stable -> /mnt/DATA/wine-stable; ~/.wine -> /mnt/DATA/wine32 ~/.mozilla -> /mnt/DATA/Firefox/mozilla "firefox" = apulse /mnt/DATA/Firefox/firefox/firefox -P profile.default -new-instance "$@"so several linux installs use the same stuff…but in antiX (only) with foobar running, firefox (my “install”) was silent.
— solution: the others installs don’t have the /etc/asound.conf file, so I deleted it. Now I can play two audio sources at the same time.— One mystery remains: after copying over some of my fluxbox files, the conky window looks fine in iceWM and JWM but appears as a “-” (a white minus sign on the dark background) in fluxbox; sometimes if I start conky in iceWM it will still appear when I switch to fluxbox, sometimes not. It never shows up (just the “-“) if I start it in fluxbox. The same .conkyrc file works properly in other installs w/fluxbox. ???
Happy Tuesday!
Search Results for 'prefoverride font'
Viewing 11 results - 1 through 11 (of 11 total)
Viewing 11 results - 1 through 11 (of 11 total)


