LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2012, 02:13 PM   #1
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Rep: Reputation: Disabled
recognition of cartridge capacities


Hi Guys
I have an epson sx130 printer,copier,scanner.I am trying to find a programme called inkblot so I can tell the ink levels in my printer.I have tried the programmes with ubuntu without success but I have been told that the inkblot one will work.
Best regards
 
Old 08-10-2012, 05:31 PM   #2
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Just do a simple

Code:
sudo apt-get install inkblot
Alex Brinister
 
Old 08-11-2012, 03:11 AM   #3
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
recognition of cartridge capacities

Quote:
Originally Posted by abrinister View Post
Just do a simple

Code:
sudo apt-get install inkblot
Alex Brinister
Hi Alex
tried the solution first part o.k.but when I tried putting in a password for fred,which it had asked for it wouldnt accept anything I tried.
 
Old 08-11-2012, 10:15 AM   #4
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Are you at work? Is this your own computer? If you are at work, then you need to ask your system admins to install it for you.

Alex Brinister
 
Old 08-12-2012, 02:38 AM   #5
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
recognition of cartridge capacities

Hi Alex
No I am at home and it is my computer an ASUS X58Lseries.

Last edited by taichi0161; 08-12-2012 at 02:41 AM. Reason: missed out my computer
 
Old 08-14-2012, 11:05 AM   #6
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Hmmm odd. You put in your user password, correct? Since you are running Ubuntu, the root account is disabled. Did you enable the root account? Are you the administrator on this computer? Have you installed anything on your computer in the past?

Alex Brinister
 
Old 08-15-2012, 12:43 PM   #7
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi Alex
Yes I keyed in my password (which the terminal would not accept)yes I am the administrator.No I havent installed anything yet with the terminal this is the first try with you as my guide.As for opening a root account I know nothing of how to do this.
F.W.
 
Old 08-15-2012, 01:51 PM   #8
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
OK. Can you paste the output of

Code:
cat /etc/sudoers
Alex Brinister
 
Old 08-16-2012, 02:18 AM   #9
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi Alex
After putting cat/etc/sudoers and pressing enter,the reply comes up no such file or directory
F.W.
 
Old 08-16-2012, 09:28 AM   #10
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Quote:
cat/etc/sudoers
Was there a space between "cat" and "/etc/sudoers" when you put in the command? If you don't have a sudoers file, then something bad happened during your install of Ubuntu. Ubuntu should create one automatically.

** EDIT **

If you truly do not have one, here is a generic one (this is from Arch but it's probably the same thing):

Code:
## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##

##
## Host alias specification
##
## Groups of machines. These may include host names (optionally with wildcards),
## IP addresses, network numbers or netgroups.
# Host_Alias	WEBSERVERS = www1, www2, www3

##
## User alias specification
##
## Groups of users.  These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias	ADMINS = millert, dowdy, mikef

##
## Cmnd alias specification
##
## Groups of commands.  Often used to group related commands together.
# Cmnd_Alias	PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
# 			    /usr/bin/pkill, /usr/bin/top

##
## Defaults specification
##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file.  Note that other programs use HOME to find   
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
##
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
##
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
##
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
##
## Uncomment to enable special input methods.  Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
##
## Uncomment to enable logging of a command's output, except for
## sudoreplay and reboot.  Use sudoreplay to play back logged sessions.
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!/sbin/reboot !log_output

##
## Runas alias specification
##

##
## User privilege specification
##
root ALL=(ALL) ALL

## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL

## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL

## Uncomment to allow members of group sudo to execute any command
# %sudo	ALL=(ALL) ALL

## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw  # Ask for the password of the target user
# ALL ALL=(ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'

## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d
Make a new file like this:

Code:
gedit tmp
Copy the above into that file and at the very end, add something like this:

Code:
<your username> ALL =(ALL) ALL
Then do this:

Code:
cat tmp > /etc/sudoers
Alex Brinister

Last edited by abrinister; 08-16-2012 at 10:53 AM. Reason: New sudoers
 
Old 08-16-2012, 01:19 PM   #11
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi Alex
I put in the command cat /tmp/sudoers in and got permission denied.I would like to thank you for taking the time to give me all usable code that you did but unfortunately it is way over my head at this stage.I have found a terminal emulator in the ubuntu software centre I mght try that.
F.W.
 
Old 08-16-2012, 02:17 PM   #12
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi Alex
tried another terminal:KONSOLE:same outcome.
F.W.
 
Old 08-16-2012, 02:18 PM   #13
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
Quote:
I put in the command cat /tmp/sudoers
You have to make a file called tmp (in your home directory) then paste the sudoers file I provided in there and add the ALL stuff at the end. Then, you write tmp (a file, not the directory) to a file called /etc/sudoers.

Code:
gedit tmp

<copy/paste stuff in the file>

<add "<your username> ALL =(ALL) ALL" and save>

cat ./tmp > /etc/sudoers
A terminal emulator isn't going to help. Your user account does not have root access, therefore you cannot do any system administration no matter what software you use. The sudoers file is essential. If the above stuff gives you "permission denied", then you will need to boot into a livecd and do it from there.

Alex Brinister
 
Old 08-16-2012, 04:14 PM   #14
taichi0161
LQ Newbie
 
Registered: Aug 2012
Location: Dukinfield
Distribution: Ubuntu 12.4
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi Alex
When I try to copy sudoers file to gedit tmp I get an instruction that this file needs to be edited with VISUDO.What is VISUDO?
I am going to bed now my head aches.
Best regards F.W.
 
Old 08-16-2012, 04:55 PM   #15
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
ViSudo is basically a program that launches the vi editor, except that it can only edit the sduoers file. I think you are going to have to boot into a Ubuntu livecd, mount your hard drive, and copy the tmp file to /etc and rename it sudoers. If you don't have a tmp file, then you can just copy what's above.

Alex Brinister
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
data capacities of root and mounted partitions bluegospel Linux - Newbie 6 05-31-2010 02:54 AM
Using dd to clone drives of different capacities? Matt3232 Linux - Newbie 7 01-20-2009 11:07 PM
mp3 player looses capacity - 2gb -. 1.3gb (du / df commands shows diff capacities) colinkingswood Linux - Hardware 2 10-06-2008 10:10 AM
How do you view filesystem capacities? Neorio Linux - General 3 12-04-2003 08:14 PM
How to viewing filesystem capacities? Neorio Linux - General 6 10-11-2003 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:15 PM.

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