You are not logged in.
Pages: 1
I tried using the printing howto via the arch wiki but couldn't get the printer setup for some reason. Checked out linuxprinting.org, read that the drivers provided from samsung work best so I downloaded and unzipped them (via KDE....still havent figured out how to unzip something via commandline.... :? ) and there is a setup.sh file in there. How do i run this setup.sh? I tried cd'ing to the directory and just typing setup.sh but that didn't work also clicking on it via graphical kde doesnt work. What do I need to do?
1) unzip via console:
unzip some.package.zip
2) to run setup.sh do the following things:
login as root:
$ su
Then type your root password. Don't be scared - no stars are showed.
Then cd to the directory where is your setup.sh and:
# sh setup.sh
or
# ./setup.sh
If you get some errors make sure that you have x flag on your setup.sh:
# chmod +x setup.sh
Offline
nothing happens...
[xxx@xxx ~]$ su
Password:
[root@xxx xxx]# cd /temp/downloads/image
[root@xxx image]# sh setup.sh
[root@xxx image]# ./setup.sh
[root@xxx image]# chmod +x setup.sh
[root@xxx image]# sh setup.sh
[root@xxx image]# ./setup.sh
[root@xxx image]# ls
README.txt bin help locale ppd setup.data
autorun data icon.xpm misc scripts setup.sh
[root@xxx image]#
I just threw in the ls to show you that I'm in the correct directory. I wonder if it's broken or if i'm doing something wrong or....?
no other takers?
Generally, I like to use "sh setup.sh", that way I don't have to worry about whether the file is executable or not. For variations on each theme, however...
Using 'sh':
# sh /some/path/setup.sh
# cd /some/path; sh setup.sh
Using './' (executable files only):
# /some/path/setup.sh
# cd /some/path; ./setup.sh
Thoroughly confused, yet? :?
If the file isn't too large, could you post it? Just curious if it contains *anything* at all, or if it might be missing the all important "#!/bin/bash" header. To dump (print) to the console, type:
# cd /some path
# cat setup.sh
Then, using your mouse, highlight the dumped out text and paste it into the phpBB form (Ctrl-V works to paste text).
Offline
After much ... tweaking (as best as I know how) ... still nothing worked. Until
pacman -Syu
then automagically, after changing 0 settings the printer works. How very odd.
Very large Thank You(s) to all those who took the time to try and help.
Pages: 1