|
SCRIPT AND FOLDER: Different icons and wallpapers in each workspace UBUNTU
hello:
I explain how I've achieved, the script can be improved:
DESKTOP SET FOR FOUR:
NEED:
sudo apt-get install avant-window-navigator ((((DIFFERENT DESKTOP LAUNCHER))))
sudo apt-get install wmctrl (((TURN THE DESK)))
1) YOU HAVE TO GO TO THIS FILE: home / manuel / .config ((((MANUEL CHANGED)))))
Open the file, user-dirs.dirs
AS YOUR LANGUAGE, PLEASE NOTE THAT SAYS:
XDG_DESKTOP_DIR="$HOME/Escritorio" (((THIS IS SPANISH, ESCRITORIO = DESKTOP)))
2) BELIEVE IN THE Folder: home / manuel / (((MANUEL CHANGED))))
((((Where the Escritorio folder exists in my language )))))
MAKE THAT THREE OTHER FOLDERS calls just as you noted in point 1;
Escritorio2, Escritorio3 and Escritorio4
3) Now inside the folder; home / manuel / .config
YOU CREATE THESE 5 folders:
Any name, preserve it in the final script
FOUR named folder;
DESKTOP1, DESKTOP2, DESKTOP3, DESKTOP4
And another folder:
LANZADORES
((((( IN SPANISH Lanzadores = LAUNCHERS ))))
4) Now copy the file user-dirs.dirs, which is in home / manuel / .config
you paste the file user-dirs.dirs inside FOUR folder you created:
DESKTOP1, DESKTOP2, DESKTOP3, DESKTOP4
5) Now go into that folder and modifies the user-dirs.dirs ARCHIVE
IN FOLDER DESKTOP1:
XDG_DESKTOP_DIR = "$ HOME/Escritorio" ((((no change)))
IN FOLDER DESKTOP2:
XDG_DESKTOP_DIR = "$ HOME/Escritorio2"
IN FOLDER DESKTOP3:
XDG_DESKTOP_DIR = "$ HOME/Escritorio3"
IN FOLDER DESKTOP4:
XDG_DESKTOP_DIR = "$ HOME/Escritorio4"
6) CREATE SCRIPTs inside Lanzadores folder:
you must create 4 script, empty files, you paste the script inside, give execution permissions, (((RIGHT BUTTON UP, LEAVES)))
1 THE CALL TO SCRIPT DESKTOP1:
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop false
gconftool-2 - type string - set / desktop / gnome / background / picture_filename "/ home/manuel/.config/imagenes_escritorios/mini_1.jpg"
cp / home/manuel/.config/desktop1/user-dirs.dirs / home / manuel / .config /
wmctrl-or 0.0
killall nautilus
sleep 0.15
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop true; nautilus
THE FIRST LINE hide the icons ....
THE SECOND LINE; THE DESKTOP WALLPAPER NEW (((CHANGE "/ home/manuel/.config/imagenes_escritorios/mini_1.jpg" WHERE HAVE YOUR PICTURES)))) (((I create a folder with ALL WALLPAPERS EN / home / manuel / .config / imagenes_escritorios)))
THE THIRD LINE COPY OF DIRECTORS DESKTOP1 (you created) the file user-dirs.dirs and paste it into / home / manuel / .config / DELETING that existed before
THE FOURTH LINE TOUR DESK (((NOTE my screen is 1280X800, THEN FOR EACH desktop you 1280 wmctrl add )))))
THE FIFTH LINE NAUTILUS RESTORES
The sixth line makes a stop in the process
THE SEVENTH LINE SHOWS THE DESKTOP ICONS
2 THE CALL TO SCRIPT DESKTOP2:
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop false
gconftool-2 - type string - set / desktop / gnome / background / picture_filename "/ home/manuel/.config/imagenes_escritorios/mini_2.jpg"
cp / home/manuel/.config/desktop2/user-dirs.dirs / home / manuel / .config /
wmctrl-o 1280.0
killall nautilus
sleep 0.15
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop true; nautilus
3 THE CALL TO SCRIPT DESKTOP3:
conftool-2-s-t bool / apps / nautilus / preferences / show_desktop false
gconftool-2 - type string - set / desktop / gnome / background / picture_filename "/ home/manuel/.config/imagenes_escritorios/mini_3.jpg"
cp / home/manuel/.config/desktop3/user-dirs.dirs / home / manuel / .config /
wmctrl-o 2560.0
killall nautilus
sleep 0.15
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop true; nautilus
4 THE CALL TO SCRIPT DESKTOP4:
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop false
gconftool-2 - type string - set / desktop / gnome / background / picture_filename "/ home/manuel/.config/imagenes_escritorios/mini_4.jpg"
cp / home/manuel/.config/desktop4/user-dirs.dirs / home / manuel / .config /
wmctrl-o 3840.0
killall nautilus
sleep 0.15
gconftool-2-s-t bool / apps / nautilus / preferences / show_desktop true; nautilus
WHEN I HAVE ALL THE SCRIPT IN Lanzadores FOLDER, I can CALL FROM avant-window-navigator
I HOPE THAT SOME PROGRAMMER ENCOURAGES AND DOES IT WITH AN ALONE SCRIPT WHO BELIEVES ALL THE DIRECTORIES ACCORDING TO THE LANGUAGE OF EACH ONE...
I CANNOT PROGRAMME ONLY I HAVE BEEN EXPERIMENTING, THANK YOU
sorry for my english
|