You are not logged in.
Hi
I have sid + openbox and want to copy .gtkrc-2.0 file into /root/ directory
I have tried this but nothing copied
sudo \cp -rf ~/.gtkrc-2.0 /root/From thunar if I try to open /root/ as root is get the following message;
"Failed to change to directory '/root' (Permission denied)."
I know this can be done on debian stable.
1. How can put this file in /root/? so the gtk theming works?
2. Why can't I open a terminal as root for /root/ directory?
Thanks
Offline
did you really do
\cpor was that a typo?
should be just 'cp', no slash.
sudo cp -rf ~/.gtkrc-2.0 /root/to get a root terminal, just have your regular terminal and type 'su' to switch to the root-user. but generally it is advised to just use 'sudo' as it will only be temporary root.
Offline
did you really do
\cpor was that a typo?
should be just 'cp', no slash.sudo cp -rf ~/.gtkrc-2.0 /root/to get a root terminal, just have your regular terminal and type 'su' to switch to the root-user. but generally it is advised to just use 'sudo' as it will only be temporary root.
"\cp ..." will over-ride any alias if present.
tried, both of these, and neither worked.
sudo cp -rf ~/.gtkrc-2.0 /root/
sudo cp ~/.gtkrc-2.0 /root/Offline
hmmm strange... it should. let's hope someone else comes along with some more ideas.
Offline
Thanks rhowaldt:) curious indeed.
I get authentication fails when I enter su on cmdline. I have no root login.
Offline
^ hmmm, could that be the issue here? at least worth a try:
sudo passwd rootthen type the root-password you want.
then you can at least get into a root-terminal, and maybe (dunno!) the sudo cp will work too..
Offline
^ hmmm, could that be the issue here? at least worth a try:
sudo passwd rootthen type the root-password you want.
then you can at least get into a root-terminal, and maybe (dunno!) the sudo cp will work too..
Created a root passwd, still won't copy even from root terminal.
EDIT:
I need to check this again, but looks like it worked. I did a reboot. Except the dialog from Create Archive ...
How can I do this in a bash script?
Last edited by Ozitraveller (2012-04-01 00:00:39)
Offline
^ i'm sorry, not 100% sure what you're asking here. the dialog from Create Archive? what's up with it? what do you want to do in a bash script exactly?
Offline
Hi
I have sid + openbox and want to copy .gtkrc-2.0 file into /root/ directory
I have tried this but nothing copied
sudo \cp -rf ~/.gtkrc-2.0 /root/From thunar if I try to open /root/ as root is get the following message;
"Failed to change to directory '/root' (Permission denied)."I know this can be done on debian stable.
1. How can put this file in /root/? so the gtk theming works?
2. Why can't I open a terminal as root for /root/ directory?Thanks
Just out of curiosity why would you copy .gtkrc-2.0 to your /root/ manually?
See the first 2 lines:
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
Unless you don't use lxappearance for theme changing...
On the other hand if you want to change the appearance of your gtk3 apps for root you will have to create a folder gtk-3.0 in your /root/.config/ directory. In there put a file called setup.ini with something like this:
[Settings]
gtk-theme-name = greybird
gtk-application-prefer-dark-theme = false
gtk-font-name = Sans 10
gtk-icon-theme-name = elementary
gtk-cursor-theme-name = oxy-black
gtk-button-images = 0
gtk-menu-images = 0
gtk-auto-mnemonics = 0
And the same folder (with not necessarily the same setup.ini) should be also in your ~/.config directory as well...
A secure alternative to Dropbox with complete privacy = SpiderOak. Join it using my referral and get a total of 3 GB to start with.
Offline
Ozitraveller wrote:Hi
I have sid + openbox and want to copy .gtkrc-2.0 file into /root/ directory
I have tried this but nothing copied
sudo \cp -rf ~/.gtkrc-2.0 /root/From thunar if I try to open /root/ as root is get the following message;
"Failed to change to directory '/root' (Permission denied)."I know this can be done on debian stable.
1. How can put this file in /root/? so the gtk theming works?
2. Why can't I open a terminal as root for /root/ directory?Thanks
Just out of curiosity why would you copy .gtkrc-2.0 to your /root/ manually?
See the first 2 lines:# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.Unless you don't use lxappearance for theme changing...
On the other hand if you want to change the appearance of your gtk3 apps for root you will have to create a folder gtk-3.0 in your /root/.config/ directory. In there put a file called setup.ini with something like this:[Settings]
gtk-theme-name = greybird
gtk-application-prefer-dark-theme = false
gtk-font-name = Sans 10
gtk-icon-theme-name = elementary
gtk-cursor-theme-name = oxy-black
gtk-button-images = 0
gtk-menu-images = 0
gtk-auto-mnemonics = 0And the same folder (with not necessarily the same setup.ini) should be also in your ~/.config directory as well...
Just out of curiosity why would you copy .gtkrc-2.0 to your /root/ manually?
I did this on my stable box and it resolved the problem.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
I read this and it did fix some of the issues, it didn't fix them all.
Ok so now it's has to be a gtk3 issue.
Thanks Stanie for the insight 
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.