LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2009, 04:14 PM   #1
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Rep: Reputation: 15
Can't change wallpaper w/ openbox / how to change mousespeed


I had two questions. I don't know if I should've split these topics into two different threads, but my first problem is:

I'm using openbox, and when I try to add wallpapers to the default folder where nitrogen (image viewer) reads the files from, it gives me permission denied. I'm sure I have access to that folder because it's in my home directory. The directory is "/home/john/images/wallpapers/shared/backgrounds". When I try to make a new folder and put all my wallpapers into that, nitrogen won't read that. So could I just change the direction folder where nitrogen reads from, or is there a fix to this?

I also wanted to know how to change the mouse cursor speed in openbox.
 
Old 05-24-2009, 04:18 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
I can't help with the second problem, but the first; what are the permissions on the directory? And is the directory in use at the moment? Try
Code:
# lsof|grep /home/john/images/wallpapers/shared/backgrounds
To tell whether it is in use or not

Last edited by jamescondron; 05-24-2009 at 04:19 PM. Reason: Correction/ Forgot to finish post
 
Old 05-24-2009, 04:21 PM   #3
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post
I can't help with the second problem, but the first; what are the permissions on the directory? And is the directory in use at the moment? Try
Code:
# lsof|grep /home/john/images/wallpapers/shared/backgrounds
To tell whether it is in use or not
I tried that and it returned nothing.
 
Old 05-24-2009, 04:25 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Well, its not in use then, but what are the permissions on it? I know it is in your home directory, but it wouldn't be the first time something counter-intuitive has been done in a home directory
 
Old 05-24-2009, 04:28 PM   #5
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post
Well, its not in use then, but what are the permissions on it? I know it is in your home directory, but it wouldn't be the first time something counter-intuitive has been done in a home directory
I'll take a screenshot and show you the permissions. I believe these would be the permissions:

http://i40.tinypic.com/2r7ueit.png
 
Old 05-24-2009, 04:30 PM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Odd, okay, so walk me through this- how exactly are tyou copying the images, at what point does the error come up, what exactly does the error say? Have you tried different ways to copy it?


EDIT:
Just a thought, you didn't put that # on the front of the command I gave, did you?
 
Old 05-24-2009, 04:35 PM   #7
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post
Odd, okay, so walk me through this- how exactly are tyou copying the images, at what point does the error come up, what exactly does the error say? Have you tried different ways to copy it?
Okay, one method I tried was just highlighting all the files from the directory that had all of my wallpapers (flash drive), and had the folder that I wanted the files coppied to open, so I tried to drag them over, but I get a little message box saying "Permission denied." So I'm thinking, "I can't just use sudo in the terminal and try to copy them over, right?" So I tried that, and it did copy them over. But when I try to open nitrogen to view the image previews, they are blank thumbnails. I'll take another screenshot.

http://i42.tinypic.com/sw7b7q.png

And when I try to click on them and hit "Apply" to change the wallpaper, nothing happens. I can't put all of the files in the folder one level up than the "backgrounds" folder. And the "backgrounds" folder is the folder nitrogen reads from. So I'm thinking if I can change the reading folder of nitrogen, I could get around this, couldn't I?

EDIT: I tried both with and without the # sign. And it still returned nothing.

Last edited by johnnyxxxcakes; 05-24-2009 at 04:37 PM.
 
Old 05-24-2009, 04:37 PM   #8
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
You could, but thats solving the symtoms, not the problem. After you did a sudo copy, did you change the ownership back to you? Or are they still owned by root?
 
Old 05-24-2009, 04:42 PM   #9
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post
You could, but thats solving the symtoms, not the problem. After you did a sudo copy, did you change the ownership back to you? Or are they still owned by root?
I have no clue. When I tried doing the copying from the terminal, I used just these commands:

Quote:
cp /media/disk/Wallpapers/*.* /home/john/images/wallpapers/shared/backgrounds
And then I just closed the terminal, and now here I am.
 
Old 05-24-2009, 04:43 PM   #10
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Okay, go for
Code:
# chown john:john /home/john/images/wallpapers/shared/backgrounds/*
Incidentally, did you put the hash in last time?
 
Old 05-24-2009, 04:45 PM   #11
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post
Okay, go for
Code:
# chown john:john /home/john/images/wallpapers/shared/backgrounds/*
Incidentally, did you put the hash in last time?
Okay, I will try that. And yes, the first time I tried without the hash, and the second time I tried with it.
 
Old 05-24-2009, 04:48 PM   #12
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Success! That fixed my issue perfectly. Thank you!
 
Old 05-24-2009, 05:52 PM   #13
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Perfect, glad I could help- yeah, if you see a hash at the start of a command it means to run as root, a dollar is as normal user. (Or a comment )
 
Old 05-24-2009, 07:03 PM   #14
johnnyxxxcakes
Member
 
Registered: Nov 2008
Location: /home/john
Distribution: Fedora 11 Xfce
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jamescondron View Post
Perfect, glad I could help- yeah, if you see a hash at the start of a command it means to run as root, a dollar is as normal user. (Or a comment )
So that's what that means haha. Well I'll remember that, and I'll mark this thread as solved. Now for the mouse speed issue.
 
Old 05-24-2009, 07:11 PM   #15
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Mouse, I don't know if there is a specific openbox solution, for me I'd use xset; see the man page under 'mouse' and give it a go from there
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change default background color in openbox? phooka Linux - General 2 04-21-2008 04:32 PM
change wallpaper? matrixon Linux - Software 1 06-12-2006 03:20 AM
Wallpaper Won't change Rick069 Linux - Newbie 3 04-16-2006 01:03 PM
How to change wallpaper pacranch Amigo 9 06-27-2005 01:30 PM
change wallpaper TravisB Linux - General 4 10-23-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration