Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Icewm Modern Menu Setup
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message

Joined: 24 Jan 2012
Posts: 40

PostPosted: Sun Nov 29, 2015 8:42 am    Post subject: Icewm Modern Menu Setup Reply with quote

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/ file to be present
# /etc/xdg/menus/ has lxde, kde, gnome menu entries
# Try lxde menu categories:

ln -s /etc/xdg/menus/ /etc/xdg/menus/
mkdir /etc/icewm

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 ->
execute = exec_clean2_re.sub('%', exec_clean1_re.sub('', de.getExec()))

         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
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

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:

mkdir .icewm

echo 'TaskBarShowCPUStatus=1
NetworkStatusDevice="wlp0s19f2u4 wlp0s19f2u5"
WorkspaceNames=" Sys ",  " Web ", " IDE ", " Dates ", " Home ", " VM ", " Misc ", " Fin "
DesktopBackgroundColor="rgb:64/DC/DC"' > ~/.icewm/prefoverride

#Use startx to launch icewm
echo 'exec icewm-session' > .xinitrc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

Jump to:  
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