Gnome wallpaper changer

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Gnome wallpaper changer

Postby viking60 » 25 Oct 2010, 21:37

Nice! thanks!
The slight "problem" with cron jobs IMHO is that the smallest interval is one minute. A 30 sec. change is not possible. On the other hand I guess changes that fast are rare.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

rvause
Viking
Posts: 42
Joined: 16 Jun 2010, 20:17
Contact:

Re: Gnome wallpaper changer

Postby rvause » 26 Oct 2010, 12:25

in that instance you can modify the script to loop or run it in a loop from a bash script.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Gnome wallpaper changer

Postby viking60 » 26 Oct 2010, 13:43

Yes that is a solution for us "slide show" fans. I am using your py script on Mandriva and b1o java on Arch. They both work very well.
The difference is that the py script is easy to customize. And that the java solution can change intervals on the fly.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
b1o
IT and IS Guru-Berserk
Posts: 198
Joined: 15 Mar 2010, 03:16

Re: Gnome wallpaper changer

Postby b1o » 12 Nov 2010, 22:31

A new version is out of my automatic background changer
System Tray icon now added, nice if you want to change folder or interval without having to open the config file
CPU: i7 950 3.1 ghz |RAM: 12 GB DDR3 |Graphics: Nvidia Geforce gtx 280 |motherboard: Rampage II Extreme |OS: Arch + windows7

Just remember, there is no such thing as a stupid question, until you ask it

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Gnome wallpaper changer

Postby viking60 » 13 Nov 2010, 10:40

It does not work :snooty: I changed the wallpaper folder in config that is all.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
b1o
IT and IS Guru-Berserk
Posts: 198
Joined: 15 Mar 2010, 03:16

Re: Gnome wallpaper changer

Postby b1o » 13 Nov 2010, 16:21

works nicely here. what doesn't work for you?
CPU: i7 950 3.1 ghz |RAM: 12 GB DDR3 |Graphics: Nvidia Geforce gtx 280 |motherboard: Rampage II Extreme |OS: Arch + windows7

Just remember, there is no such thing as a stupid question, until you ask it

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Gnome wallpaper changer

Postby viking60 » 13 Nov 2010, 16:36

It does not start at all. Probably a java thing. I just realized that JRE was not installed. Having another go.....
No! JRE from Oracle wants to remove OpenJDK and that cannot be removed because Netbeans depends on it etc etc. The old one is working just fine so I do not see why it was necessary to FUBAR it like this.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
b1o
IT and IS Guru-Berserk
Posts: 198
Joined: 15 Mar 2010, 03:16

Re: Gnome wallpaper changer

Postby b1o » 13 Nov 2010, 16:50

install jdk, it will uninstall openjdk/openjre, This will make it work, the openjdk has a problem with compiz. you can use compiz but then you need to turn off compiz, start the bg changer, then start compiz again... I found it easier to just get JRE/JDK from sun/oracle. i will try to get it working with openjdk next release.

And if you install jdk it will replace open jdk and netbeans won't be touched.(at least in arch it does)

The problem with compiz is that the openjdk hasn't included it in it's library as a desktop manager.
CPU: i7 950 3.1 ghz |RAM: 12 GB DDR3 |Graphics: Nvidia Geforce gtx 280 |motherboard: Rampage II Extreme |OS: Arch + windows7

Just remember, there is no such thing as a stupid question, until you ask it

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Gnome wallpaper changer

Postby viking60 » 13 Nov 2010, 16:54

OK I'll have another go...
Yup works fine now. I just set the interval to 10 sec. That is all the conky can take because there is a delay in the conky bg change :D
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
b1o
IT and IS Guru-Berserk
Posts: 198
Joined: 15 Mar 2010, 03:16

Re: Gnome wallpaper changer

Postby b1o » 13 Nov 2010, 17:14

hehe good. I'm trying to find the openjdk source for the java class SystemTray. it causes an exception on compiz, even though it works.
CPU: i7 950 3.1 ghz |RAM: 12 GB DDR3 |Graphics: Nvidia Geforce gtx 280 |motherboard: Rampage II Extreme |OS: Arch + windows7

Just remember, there is no such thing as a stupid question, until you ask it

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Gnome wallpaper changer

Postby viking60 » 14 Nov 2010, 00:55

The image does not appear in the tray after a restart. Only a blank square. It still works but it looks but ugly. I auto started it with the java -jar <path> gautobg-changer.jar
It will only work if you start the gautobg-changer.sh from the same folder. And do change the name! It is to long :f
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8780
Joined: 14 Mar 2010, 20:29
Contact:

Re: Gnome wallpaper changer

Postby dedanna1029 » 15 Nov 2010, 07:05

viking60 wrote:It will only work if you start the gautobg-changer.sh from the same folder. And do change the name! It is to long :f

Dude! If I were you, my brother would so hate me! He's doing a good thing here, contributing to open source like that...

With that being said, I can't figure out how to install this thing. At all. :lol:
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Tips & Tricks”