Many every day actions in Ubuntu can be done easily from terminal using
dbus. The main advantage is it can be done exactly the GUI does, using a one liner, such as change brightness, copy file, etc.
To decrease brightness standard terminal method is
xbacklight +30% #-30%
while dbus method:
dbus-send --session --print-reply --dest="org.gnome.SettingsDaemon" /org/gnome/SettingsDaemon/Power org.gnome.SettingsDaemon.Power.Screen.SetPercentage uint32:30
To copy file
cp ./a/source ./b/destination
qdbus org.gnome.Nautilus /org/gnome/Nautilus org.gnome.Nautilus.FileOperations.CopyFile "file:///source/directory" "*" "file:///destination/directory" ""
qdbus graphical indicators are displayed with speed and canel buttton.
dbus is something interesting and I really want to learn dbus stuff. Please guide my by providing some ebook, links, etc.