Code: Select all
apt-get --no-install-recommends --no-install-suggests install pkgs
There is no default way to add confirm dialog boxes for shutdown and reboot as it doesn't support them. one way to do that is by using shell scripts. This is an example script I used from linuxquestions.org
Code: Select all
#!/bin/sh
xmessage 'Do you want to shutdown?' \
-buttons 'Cancel:1,Shut Down:2'
case $? in
2) systemctl poweroff
;;
esac
02.Calendar When clicking the Clock.
Install gsimplecal for the calendar application. and edit the clock tag in .jwmrc as mentioned below.
Code: Select all
<Clock format="%H:%M">exec:xclock<Button mask="123">exec:gsimplecal</Button></Clock>
By default JWM shows your tasks in all your virtual desktops to avoid that comment out list=all option in the <TrayStyle> header of your jwmrc
04.Random wallpaper at startup
If you are using JWM most probably you might have also installed feh. At this moment it doesn't change wallpaper at constant intervals. I've come across scripts but it didn't work for me and I'm content with random wallpaper at startup.Remember we are using JWM because it is minimal and lightweight. We do not add unnecessary stuff. The command for random wallpaper is to add the --random switch when invoking during startup.
Code: Select all
<StartupCommand>feh --randomize --bg-fill ~/backgrounds/*</StartupCommand>
Policykit is used for authenticating the user to do administrative stuff. It adds a nice gui option as gksu and gksudo are depreceated.Install policykit-1-gnome and add the following to the startup
Code: Select all
<StartupCommand>/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1</StartupCommand>
By default most of us are using pulseaudio. To control the volume install pavucontrol and pasystray. After that add the following to your startup
Code: Select all
<StartupCommand>/usr/bin/pasystray</StartupCommand>
Install xfce4-notify and add it to the startup for getting some system messages.It is pretty handy tool.
Code: Select all
<StartupCommand>/usr/bin/xfce4-notifyd</StartupCommand>
Idesk places an icon in any minimal window manager. Install idesk. create a file called .ideskrc and a folder called .idesktop in your home folder.The .ideskrc file contains the global options for your icons in your desktop.Options can be found in https://wiki.debian.org/ideskrc and http://idesk.sourceforge.net/html/usage.html
in the .idesktop folder create a file say vlc.lnk and add the following contents to that file.
Code: Select all
table Icon
Caption:Vlc
Command:/usr/bin/vlc
Icon:/usr/share/icons/hicolor/32x32/apps/vlc.png
X:10
Y:10
end
Code: Select all
Locked: false
Code: Select all
Locked: true
It will lock the icons in the grid.
09. Installing Dropbox (Optional and only for those who want dropbox)
Dropbox is a file-sharing utility. It isn't in the repos you have to download it from the website and install it manually. Then install the dropbox daemon by
Code: Select all
/usr/bin/dropbox -i
Code: Select all
<StartupCommand>/usr/bin/dropbox start</StartupCommand>
Most people might not need it but for those who want to download videos from the internet might need this. I've used xtreme download manager to download the videos but it hasn't released any new updates so if you are uneasy about that then there are two options 1. get-flash-videos and 2. youtube-dl
Install get-flash-videos from the repo to download videos from the internet.Another Video downloader is youtube-dl. The youtube-dl package is already in the repos but to install the latest package install the following first python-pip python3-pip python-wheel python3-wheel. then run
Code: Select all
pip3 install youtube-dl
it will install it to /usr/local/bin/ If you had installed the one from repo you have to first uninstall that before installing using through pip3.
You have to invoke the command as /usr/local/bin/youtube-dl [options] One of advantages of using pip is that ... 6&t=115264
2. http://forums.debian.net/viewtopic.php?f=16&t=136360
3. https://askubuntu.com/questions/359408/ ... de-by-side
4. http://manpages.org/ansiweather
P.S: I have also uploaded this article in linuxquestions.org, but i don't know when it will be up. This is the second revision of the article.Here is the link https://www.linuxquestions.org/linux/an ... g_your_jwm
Here are some of my screenshots