View previous topic :: View next topic |
Author |
Message |
BHReach n00b
Joined: 24 Jan 2012 Posts: 40
|
Posted: Sun Nov 29, 2015 8:42 am Post subject: Icewm Modern Menu Setup |
|
|
It's been a while since anybody posted icewm information so I thought I would add my notes on configuring icewm.
#System wide custom settings should go in /etc/icewm.
#User's custom settings should go in {$HOME}/.icewm.
# icewm-xdg-menu requires /etc/xdg/menus/applications.menu file to be present
# /etc/xdg/menus/ has lxde, kde, gnome menu entries
# Try lxde menu categories:
Code: | ln -s /etc/xdg/menus/lxde-applications.menu /etc/xdg/menus/applications.menu
mkdir /etc/icewm |
Code: | echo 'prog Xfce-Terminal /usr/share/icons/gnome/24x24/apps/terminal.png xfce4-terminal
prog PCmanFM /usr/share/icons/gnome/24x24/apps/file-manager.png pcmanfm
prog Chromium /usr/share/icons/hicolor/24x24/apps/chromium-browser.png chromium
prog Leafpad /usr/share/icons/hicolor/24x24/apps/leafpad.png leafpad' >/etc/icewm/toolbar |
#Note: I had to modify the icewm-xdg-menu by replacing line 97 with 2 lines
#Line 97 -> Code: | execute = exec_clean2_re.sub('%', exec_clean1_re.sub('', de.getExec())) |
Code: | deg = de.getExec().replace(r'%c',name)
execute = exec_clean2_re.sub('%', exec_clean1_re.sub('', deg)) |
# Some kde programs would not launch without it because the -caption switch requires a string to follow it.
echo 'menuprog Applications - python2.7 /usr/portage/x11-wm/icewm/files/icewm-xdg-menu --entire-menu' > /etc/icewm/menu
# Could not figure out how to set chromium as default browser globally.
# Tried Code: | xdg-settings set default-web-browser chromium-browser-chromium.desktop | but it failed
# Set user default web browser to chromium so cups manual opens in chromium instead of links
Code: | mkdir .local/share/applications
xdg-mime default chromium-browser-chromium.desktop x-scheme-handler/http
xdg-mime default chromium-browser-chromium.desktop x-scheme-handler/https |
#My user preferences:
Code: | mkdir .icewm
echo 'TaskBarShowCPUStatus=1
TaskBarShowNetStatus=1
TaskBarShowCollapseButton=1
TaskBarDoubleHeight=1
NetworkStatusDevice="wlp0s19f2u4 wlp0s19f2u5"
TimeFormat="%T"
WorkspaceNames=" Sys ", " Web ", " IDE ", " Dates ", " Home ", " VM ", " Misc ", " Fin "
DesktopBackgroundColor="rgb:64/DC/DC"' > ~/.icewm/prefoverride |
#Use startx to launch icewm
Code: | echo 'exec icewm-session' > .xinitrc |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|