LXDE/Openbox


Last Edit May 2013


Look at the forums http://forum.lxde.org/
Lightweight Champion! http://lxlinux.com/
Desktop Background
Themes
Compositing
Panels
Edit the LXDE menu
Openbox menu
Key bindings
Terminal Emulator


Auto-start apps
sudo nano /etc/xdg/lxsession/LXDE/autostart
add the app command as a line preceded by @
e.g. for Xfce4-power-manager to start up with every log-in:
@xfce4-power-manager

Don't see why you can't just copy autostart to the home dir like this
rsync /etc/xdg/lxsession/LXDE/autostart ~/.config/lxsession/LXDE/
and edit it more simply -obviously, in /etc/xdg/lxsession/ it will be set globally for all users.
But note that anything in the /etc/xdg/ autostart that's not in the ~/ autostart will be run, e.g. the screensaver.

there're another two ways to go about it...
  1. add .desktop files for apps into ~/.config/autostart
  2. run: lxsession-edit - a gui for autostarting  (check/uncheck) stuff.

PCManFM does not sort directories/files alphabetically?
look in ~/.config/pcmanfm/LXDE/pcmanfm.conf and change sort_by value to 2
for detailed list, change view_mode to 4?

I'm using Thunar any way :) with its very adaptable custom right-click menu actions (see my Thunar page).


Desktop Background
Right click on the desktop (far edge of screen when apps are opened) >Desktop Preferences and choose an image.
If you've checked the box, "Show menus provided by windows managers when desktop is clicked" in Advanced, you can get back to the Wallpaper dialogue with Alt-F2 pcmanfm --desktop-pref
or make a .desktop file in ~/.local.share/applications, with

[Desktop Entry]
Name=Desktop-Pref
Comment=lxde set wallpaper
Exec=pcmanfm --desktop-pref
Icon=display
Terminal=false
Encoding=UTF-8
Type=Application
Categories=Settings; 
and add it as a launcher on a panel (for user friendly desktop)
Here's my extremely simple desktop with 4 panels

Or, add it to the OpenBox menu (along with Customise Appearance {lxappearance}, Window Management {obconf} etc) which pops up with right-click on desktop (or at extreme edge of screen when a window is maximised) -see below.
Without LXDE and pcmanfm installed, just openbox, you'll need to set up the desktop bg with feh or similar - see my page plain openbox.


Themes
openbox-themes (on the apt-get install line, LXDE page) will give a lot of themes to choose from
here's some more http://customize.org/...
and here http://box-look.org/...

how to install? easy as unpack the zipped file and place the resulting directory into ~/.themes (create it if it's not there).  And you'll find it in Obconf > themes 
-themes will only change window borders, not inside windows like buttons, which widgets do.
In LXAppearance you have widgets, color chooser, cursor, icon themes (need install)
Window borders and fonts do the same as in Obconf... it's a tad confusing, there's no central config editor to do it all in one go!  Obconf does what Openbox needs to do, window borders.  Lxappearance does what lxde wants to do, buttons and fields.

To enable better-looking widgets you need gtk2-engines installed..
sudo apt-get install gtk2-engines
and install the engines with themes that you want e.g. 
gtk2-engines-xfce gtk2-engines-murrine gtk2-engines-cleanice gtk2-engines-aurora

mouse cursor themes
sudo apt-get install dmz-cursor-theme xcursor-themes chameleon-cursor-theme moblin-cursor-theme
(I've decided I don't like chameleon!)


GTK-3
now you need to have gtk3 engines - or gtk-3 themes from the web.
Install any (e.g. gtk3-engines-xfce) and copy the your-theme/gtk-3.0 folder from /usr/share/themes/your-theme to ~/.themes and then you can select it with Lxappearance and make changes to it.  
rsync -r theme-name ~/.themes
and rename the theme
So now gtk2 themes work with gtk2 apps, and gtk3 themes with gtk3 apps....
But if all apps turn gtk-3 some day, we'd better be prepared for it - well audacious has gone gtk-3 and will revert to gtk-2 and soon will port to Qt.

gtk-2.0 themes have a "gtkrc" file with all its settings and can be copied to ~/.themes/theme-name/gtk-2.0 and edited there.
gtk-3.0 themes have a "gtk.css " file that goes in ~/.themes/theme-name/gtk-3.0

There is no GUI that can give us total control of our gtk-3 themes, so we have to edit the css files by hand.  These Gnome people are forcing us to do a whole lot of work, just so we can use our PC's!!!  And how will PC learners cope with that?  I hope there will be a GUI in the future.



Colours.. 
The LXAppearance colors don't enable too much control -for example, scroll bars get painted with the highlight color.  So I installed gnome-color-chooser again and copied its config dir over from backup, opened the app and just clicked apply -and got back to my normal colours. 
The files holding the colour settings are ~/.gtkrc-2.0-gnome-color-chooser and ~/.gnome-color-chooser/config.xml

For KDE app's, adjust the appearance settings with KDE's "System Settings" 
Remember to save your new KDE colour scheme as a profile, so you don't lose all your changes later on by some strange KDE reset to default!

But even with colors set in gnome-color-chooser, some windows will keep the widget colors set in LXAppearance!  eg. Gnome mplayer, zenity dialogues, soundjuicer, audacious... ---> in Jessie, all these are now gtk-3

I got a little tired of my root user applications in their near-white colour theme, so I tweaked root's colours with Gnome CC too.  But to make it easier than starting from scratch, I first saved my normal user's colour theme with Gnome CC, with the necessary extension .gnomecc.  Then I ran GnomeCC as root with
gksu gnome-color-chooser
opened the saved theme file and then made changes to Default normal (foregrd/backgrd) and Entry fields normal (foregrd/backgrd), to make the theme a little lighter than normal user's.  Saved that as well to a theme file and clicked Apply.

Above: my thunar, 1. as normal user and 2. as root user


So that's.... 
Gnome color chooser for GTK-2 apps
KDE settings for KDE and Qt apps
css file hacking for GTK-3 apps
and there's one more, which you can learn about on my xterm page, the Xresources file for xterm, urxvt, xpdf 


GTK-3 css hacking
I installed xfce gtk-3 engine and copied one that already had a dark appearance - Xfce-dusk - to ~/.themes.
Then I got experimenting with the different colors at top of file - and note that capital letters are not permitted.

window body
@define-color bg_normal #232323;

menu bar text
@define-color fg_normal #ffd600;

field bg 
@define-color base_normal #323232;

field text
@define-color text_normal #ffd600;

field selected text
@define-color text_selected #ffd600;

selected text bg 
@define-color base_selected #7e3357;

hover bg
@define-color base_prelight #7d2852;

Once you make a colour change, save the file, make sure Lxappearance has the new theme selected, and open a GTK-3 app, such as audacious, g-mplayer, network-manager-applet...
This got back my colours, something similar to my GTK-2 config, but still it's not perfect - audacious tab text is not altered and also the theme itself needs some work as all the tabs and buttons are practically without any spacing, all crowded up.



I'm going to test-drive ObTheme which I just heard about on the OB website, to see if it can do a good job... from here under src link http://xyne.archlinux.ca/projects/obtheme/
Well, it looks full of details, perhaps way too much, and with no preview of any styles applied.  Needs development.
To make the python script run I had to remove parts of it!  line 27: delete "From Fuse.." , 2654: delete "(Stat)", 2668: delete whole part referring to Fuse.


Compositing 
LXDE uses Openbox WM and does not support composition natively (of its own) as it is a light-weight system and things like transparency and shadows, fading etc take up resources.  Other window managers do that, such as Metacity, XFWM4 or Compiz.  The LXTerminal uses seudo-transparency (fake) as it steals the desktop background and displays it in the window and doesn't show other open windows behind it (aha, that's before compton comes in, because it does display proper alpha with this running).  That's probably only useful when its kept permanently on the desktop -see below.

For compositing with openbox, look no further than this clever man, Christopher Jeffrey's program called compton, which builds on xcompmgr.
  • get dependencies for the latest version to install -compton-master:
  • sudo apt-get install libconfig-dev asciidoc libdrm-dev libgl1-mesa-glx libgl1-mesa-dev
  • download the zip file and extract (need unzip)
  • open terminal in the extracted dir
  • type make
  • make install
  • if you want to run checkinstall instead (which will create a deb archive and a simple means to uninstall compton later) you need to select 3 when checkinstall gives options, and change the version number as checkinstall won't succeed if the version no. begins with a character (not a digit).
  • kill xcompmgr if running, or any other compositor with killall compositor-name
  • run in terminal compton -cC -i 0.6 -e 0.6 -m 0.8
  • where 0.6 is the opacity factor between 0.1 and 1.0, -i is the inactive window opacity, -e is window frame opacity, -m is drop-down and pop-up menus.  I prefer 0.8. 
  • for shadow position use -r 4 -l -4 -t -4
  • where -r is the shadow radius, -l is the left offset and -t is the top offset and value is pixels (default is -15)
add the command with most suitable options to the autostart i.e. 
@compton -cC -i 0.8 -e 0.8 -m 0.8 -r 4 -l -4 -t -4

Very nice for my openbox desktop!  Thank you sir.

The Arch page is very helpful as it gives us a config file to use with compton (latest git version: compton-master).  
Copy it and save to file .compton.conf in your home dir.  Here's my .compton.conf
Edit it to your liking and try it out with,
compton --config ~/.compton.conf
and that can go in the autostart list
Although the command line with switches can do all of it (except opacity of other window types like tooltips).


Panels 
You can have four panels with LXDE.  The options are very adequate for setting the geometry and launcher content.  Wide panel with small icons will result in a double layer.

If you have panels from another LXDE desktop which you'd like to migrate to a new one, you can copy the files found in ~/.config/lxpanel/LXDE/panels/ over to the new install, and then you can either restart without loging out (ie with Ctrl-Alt-F2, login, sudo reboot) or enter a command in Run:
lxpanelctl restart

For those who would like to try something other/more capable than lxpanel, take a look at fbpanel and tint2


Edit the LXDE menu 
the menu editors are all useless -looks like a hack needed like with Xfce.  But one can have a go with Lxmed or MenuMaker.
here's a good guide http://www.remastersys.com/...

You can move apps around to other sub-menus quite easily by copying their .desktop file from /usr/share/applications to ~/.local/share/applications and editing their Category.  The Menu updates pretty fast.

To omit a program from the menu entirely, open its .desktop file and add the line NoDisplay=true

To launch Gparted from the main menu I had to change the line in its .desktop file from Exec=gparted-pkexec to Exec=gksu gparted
with the original exec command my desktop completely froze

[hint: to escape a desktop freeze, press Ctrl-Alt-F2 to switch to console 2, then login, and type killall openbox followed by startx, then press Ctrl-Alt-F7 to return to console 7].

Add/remove menu categories
To add a category on the menu
1. make a .directory file (which allocates the name and icon)
cd /usr/share/desktop-directories
sudo nano dvd.directory

paste this content, or similar, with Shift-insert:

[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Dvd
Icon=cdrom_unmount

(you can find icons in your icon set in, e.g. /usr/share/icons/tango/16x16/devices/ )

2. edit menu file and add a new category
sudo leafpad /etc/xdg/menus/lxde-applications.menu

<!-- dvd -->
<Menu>
<Name>Dvd</Name>
<Directory>dvd.directory</Directory>
<Include>
<And>
<Category>DVD</Category>
</And>
</Include>
</Menu> <!-- End dvd -->

3. change categories in any .desktop files (see above) to the new one so that they are added to the new menu

I notice that an "Other" category sits on the main menu with just about every executable on it from /usr/bin.
To solve that problem, edit the /etc/xdg/menus/lxde-applications.menu file and remove the "other" entry entirely


Openbox menu (right-click on desktop) 
To use the OB menu make sure "Show menus provided by windows managers..." is checked in Desktop Preferences >Advanced.
pcmanfm --desktop-pref

move the config files for editing
mkdir -p ~/.config/openbox
cp -p /etc/xdg/openbox/* ~/.config/openbox

how to configure the OB menu http://urukrama...
install openbox menu editor "OBmenu" http://obmenu.sourceforge.net/download.html
sudo apt-get install obmenu


ob-menu (to auto-show apps on menu)  http://mimasgpc.free.fr/openbox-menu_en.html
No package 'libmenu-cache' found
menu.c:19:18: fatal error: glib.h: No such file or directory
compilation terminated.

moving on... I haven't got round to making any pipe menus (I am not a follow-a-chevron-to-sub-menu-at-right-or-sometimes-left fan), nor have I got debian menu onto my ob menu yet...


My example OB menu
To use my OB menu first backup your own with
mv ~/.config/openbox/menu.xml ~/.config/openbox/menu.xml.bak
Sorry, previous version failed to have `gksu` to open GrubCustomizer (and Gparted).  Updated.  without that the desktop froze!

My menu (right) is rather dark-coloured, which is due to my selected window border theme (Mire_v2_blue).

Put my menu.xml in ~/.config/openbox/ and right-click on the desktop or far edge of screen and click on Reconfigure.  Right click again to see the new menu.
Click on OpenBox Menu in Settings on the OB menu to make all the changes you need (install obmenu first).

Notes:
  • I added a panel reset command, as each time the PC wakes up from suspend, an extra blank space appears on top panel.. 
sh -c 'killall lxpanel && lxpanel -p OB &'
  • Under "Files" I have "Config files".. a zenity dialogue pops up with a list of regular files to choose from.  This is a script and is easily set to a key bind.
#!/bin/bash

file=$(zenity --width=360 --height=320 --list --title "Config files" --text "Select file to open"  --column File "sources.list" "fstab" "lightdm.conf" "autostart" "lxde-rc.xml")

if [ "$file" = "sources.list" ]; then gksu leafpad /etc/apt/sources.list
elif [ "$file" = "fstab" ]; then gksu leafpad /etc/fstab
elif [ "$file" = "lightdm.conf" ]; then gksu leafpad /etc/lightdm/lightdm.conf
elif [ "$file" = "autostart" ]; then leafpad ~/.config/lxsession/LXDE/autostart
elif [ "$file" = "lxde-rc.xml" ]; then leafpad ~/.config/openbox/lxde-rc.xml

else
    exit 0
fi


Menu Icons
To get icons on your ob menu you need to put <showIcons>yes</showIcons> in the <menu> section near the end of your lxde-rc.xml file.
leafpad ~/.config/openbox/lxde-rc.xml
and then every menu entry in your menu.xml file needs an icon location added, e.g.

<item label="Email" icon="~/.config/openbox/icons/icedove.png">
<action name="Execute">
<execute>icedove</execute>
</action>

copy icons from wherever you can find them in /usr/share/icons/hicolor/48x48/apps/ etc. into somewhere convenient, such as openbox/icons/
this page might help http://lxlinux.com/openbox.html
with all that I still can't get icons!


Make a second menu for utility apps
I was getting tired of my right-hand panel with utility apps that was obstructing the page scroll bar all the time, so I made a new menu that can open with Super-mouse scroll up.
  1. Make a new menu with OBmenu
  2. Highlight the top line and change the ID in "Id" field below to your liking
  3. Save it (e.g. menu-utility.xml)
  4. copy the utility and system apps from my OB menu into the new menu file, if you like
  5. and rearange/add/remove entries in OBmenu gui
  6. Open ~/.config/openbox/lxde-rc.xml
  7. In the menu section near the end before applications section, add your new file's location, e.g. <file>~/.config/openbox/menu-utility.xml</file>
  8. Go to either keybindings or mouse section in lxde-rc.xml and make an action for the new menu,
    (I'll add this to the next section on keybindings...)
<keybind key="W-Up">
   <action name="ShowMenu">
 <menu>menu-utility</menu>
</action>
  </keybind>
<mousebind button="W-Up" action="Click">
        <action name="ShowMenu">
 <menu>menu-utility</menu>
</action>
      </mousebind>

where <menu>menu-utility</menu> is the menu ID

and I add later, to get the utility menu up when only the Desktop is seen, with Super key and mouse scroll up, add this to the section called  <context name="Root">

    <mousebind button="W-Right" action="Press">
        <action name="ShowMenu">
          <menu>menu-utility</menu>
        </action>
      </mousebind>

Then reconfigure OB

Add icons to your heart's content. (If you can find them -and that's where xfce wins cos of its launcher icon finder which searches files directory).

(note: always duplicate your lxde-rc.xml file while it's working, so that you can rename the duplicate back to lxde-rc.xml when your file gets a syntax error and you can't find what's gone wrong!)


Key bindings  
urukrama has blogged about it here http://urukrama.wordpress.com... and here http://urukrama....

There is obkey, a python script gui for setting up keybindings here
  • download the zip from github and unpack it, then move it wherever (e.g. ~/.obkey-master)
  • run it with (specifying the lxde config file) ~/.obkey-master/obkey ~/.config/openbox/lxde-rc.xml
To set keybindings by hand,
leafpad ~/.config/openbox/lxde-rc.xml

once you're done, save the file and then run openbox --reconfigure or right-click on the desktop and click reconfigure if "show menus provided..." is checked in Desktop Preferences >Advanced pcmanfm --desktop-pref

for setting up brightness control keys, see my page screen brightness

Below are my typical key bindings, which of course will need some alterations to brightness, volume control for different laptops...


W= Super key, C= CTRL, S= Shift, A= Alt

<!-- Keybindings for applications -->
 <keybind key="W-1">
    <action name="Execute">
 <execute>xfwrite</execute>
</action>
  </keybind>
  <keybind key="W-2">
    <action name="Execute">
 <execute>chromium</execute>
</action>
  </keybind>
 <keybind key="W-e">
      <action name="Execute">
        <command>thunar</command>
      </action>
    </keybind>
 <keybind key="W-T">
    <action name="Execute">
 <execute>lxterminal</execute>
</action>
  </keybind>

<!-- keybind to open file with leafpad  -->
 <keybind key="W-O">
      <action name="Execute">
        <execute>sh ~/scripts/open-leafpad</execute>
      </action>

<!-- Super-] paste primary - same as middle click - install xsel and xvkbd - now I add the -delay option to stop characters getting muddled up! -->
    <keybind key="W-bracketright">
      <action name="Execute">
        <command>sh -c 'xsel | xvkbd -delay 4 -xsendevent -file -'</command>
      </action>
    </keybind>

<!-- Ctrl-[ copy primary X selection to clipboard (selection even in terminal, then can Ctrl-V in other app) -->
    <keybind key="C-bracketleft">
      <action name="Execute">
        <command>sh -c 'xsel | xsel -ob'</command>
      </action>
    </keybind>

<!-- Ctrl-] paste from clipboard (even in terminal) -->
    <keybind key="C-bracketright">
      <action name="Execute">
        <command>sh -c 'xsel -b | xvkbd -delay 4 -xsendevent -file -'</command>
      </action>
    </keybind>
<!-- 

<!-- Launch ksnapshot when Print -prt sc- is pressed -->
  <keybind key="Print">
    <action name="Execute">
<command>ksnapshot</command>
    </action>
  </keybind>

<!--keybindings for LXPanel -->
     <keybind key="W-R">
      <action name="Execute">
        <command>lxpanelctl run</command>
      </action>
    </keybind>
 <keybind key="W-U">
      <action name="Execute">
        <command>lxde-logout</command>
      </action>
    </keybind>
 <keybind key="W-Escape">
   <action name="Execute">
 <execute>lxtask</execute>
</action>
  </keybind>

<!-- Eject the laptop internal cdrom -->
<keybind key="W-J">
      <action name="Execute">
        <command>sh -c eject /dev/sr0</command>
      </action>
    </keybind>

<!-- Show OB menu -->
 <keybind key="W-Down">
   <action name="ShowMenu">
 <menu>root-menu</menu>
</action>
  </keybind>
<keybind key="W-Up">
   <action name="ShowMenu">
 <menu>menu-utility</menu>
</action>
  </keybind>

<!--keybindings for Brightness 
(if you have trouble with your laptop function keys just set your own brightness keys with a script -see my screen brightness page)
obviously you can find your own keys-->
 <keybind key="Insert">
    <action name="Execute">
 <execute>~/.scripts/br-up</execute>
</action>
  </keybind>
 <keybind key="F12">
    <action name="Execute">
 <execute>~/.scripts/br-dn</execute>
</action>

<!-- Keybindings for volume control --> 
 <keybind key="XF86AudioMute">
    <action name="Execute">
      <command>amixer sset Master toggle</command>
    </action>
  </keybind>
  <keybind key="XF86AudioRaiseVolume">
    <action name="Execute">
      <command>amixer sset Master 5%+</command>
    </action>
  </keybind>
  <keybind key="XF86AudioLowerVolume">
    <action name="Execute">
      <command>amixer sset Master 5%-</command>
    </action>
  </keybind>

 <!-- Keybindings for sending windows to different desktops -->
    <keybind key="W-S-F1">
      <action name="SendToDesktop">
        <desktop>1</desktop>
        <follow>no</follow>
      </action>
    </keybind>
    <keybind key="W-S-F2">
      <action name="SendToDesktop">
        <desktop>2</desktop>
        <follow>no</follow>
      </action>
    </keybind>
    <keybind key="W-S-F3">
      <action name="SendToDesktop">
        <desktop>3</desktop>
        <follow>no</follow>
      </action>
    </keybind>  
 <keybind key="W-S-F4">
      <action name="SendToDesktop">
        <desktop>4</desktop>
        <follow>no</follow>
      </action>
    </keybind> 
 <keybind key="W-S-F5">
      <action name="SendToDesktop">
        <desktop>5</desktop>
        <follow>no</follow>
      </action>
    </keybind> 
<keybind key="A-S-c">
  <action name="MoveToCenter"/>
        </keybind>
<keybind key="C-A-z">
        <action name="Close"/>
      </keybind>


<!-- Show OB menu with Super key and mouse scroll button down - inside the <context name="Frame"> section
-->
<mousebind button="W-Down" action="Click">
        <action name="ShowMenu">
 <menu>root-menu</menu>
</action>
      </mousebind>
<mousebind button="W-Up" action="Click">
        <action name="ShowMenu">
 <menu>menu-utility</menu>
</action>
      </mousebind>

 <!-- mousebindings for maximising-minimising windows -->
<mousebind button="W-S-Left" action="Click">
        <action name="Maximize">
 </action>
      </mousebind>
<mousebind button="W-S-Right" action="Click">
        <action name="Unmaximize">
 </action>
      </mousebind>
<mousebind button="W-Right" action="Click">
        <action name="Lower">
 </action>
      </mousebind>
<mousebind button="A-Right" action="Click">
        <action name="Iconify">
 </action>
      </mousebind>

<!--  inside the <context name="Root"> section-->
 <mousebind button="W-Right" action="Press">
        <action name="ShowMenu">
          <menu>menu-utility</menu>
        </action>
      </mousebind>
</context>


script for the above keybind to open a file with leafpad:

#!/bin/bash
leafpad "`zenity --title='Open file' --file-selection --filename=$HOME/`"


Terminal Emulator  
Right, to make Lxterminal open on my desktop no.4, half alpha, and full screen, with
Workspaces and names set in obconf and
lxterminal alpha set with right click in the terminal > Preferences

I add an application to lxde-rc.xml, like this
leafpad ~/.config/openbox/lxde-rc.xml

at end of the file, just after the example is closed with -->
<application name="lxterminal" class="Lxterminal">
    <decor>no</decor>
    <desktop>4</desktop>
    <layer>normal</layer>
    <skip_pager>yes</skip_pager>
    <skip_taskbar>no</skip_taskbar>
    <maximized>true</maximized>
</application>

if "skip_taskbar" is set to "yes" then switching desktop you can't type in the terminal without clicking on it.
save it and click on Reconfigure on the ob menu 
To get the terminal sticking to that desktop from startup, just add @lxterminal to autostart (see above).
If you maximise some apps that have info/confirm dialogues, the dialogue windows will pop up maximised too!  So best not to do it that way, just maximise the window when open and then close, and hopefully next time it will open maximised.

To get an app opening at a particular position, you add this, changing x, y, and desktop or monitor values;
 <position>
    <x>50</x>
    <y>200</y>
      <desktop>1</desktop>
 </position>

To get an app to open with a particular size, you need to add geometry to whatever controls it's launch...
.desktop file for applications menu e.g. 
Exec=xf write --geometry=100x50

keybinding...
<keybind key="W-T">
      <action name="Execute">
        <command>lxterminal --geometry=?x?</command>
      </action>

autostart...
@lxterminal --geometry=?x?

Just if you want to open a termianl for a quick task and don't want to switch desktop, what can we do?  Get used to the terminal on only one desktop?  Or employ another terminal app for opening anywhere.

Shortcuts
Shift-Ctrl T new tab
Shift-Ctrl W close tab
Alt-1,2,3,4.. move to tab
Shift-insert paste (usually)
Ctrl-L clear the terminal


Setting the preferred Terminal Emulator
Run pcmanfm --show-pref=4
entelxterminal -e %s (or your choice)

or for Thunar:
nano ~/.config/xfce4/helpers.rc
and change xterm etc for whatever X-terminal you like.

terminals to try: 
rxvt-unicode (in repository) about: linuxized.com/...


Setting bash colours - see my page bashrc file


Stop the notification daemon
Try this if you don't feel like you need to see the many pop-up notifications every time you connect to a network or start an encode.
sudo chmod 000 /usr/lib/notification-daemon/notification-daemon

to restore it again
sudo chmod 755 /usr/lib/notification-daemon/notification-daemon

even knock out knotify (a dependency of nearly any KDE app)
sudo chmod -x /usr/bin/knotify4

restore it again with
sudo chmod +x /usr/bin/knotify4