LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2004, 10:28 AM   #1
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
Gnome questions


I encounter some awkward situations while I am in Gnome which I would like to be rectified.

1) The fonts of KDE Apps are huge! I don't know what to do in order to shrink them and it's getting very frustrating because many application's windows won't fit in the screen.

2) I would like as a unprivileged user to be able to shutdown the system using the gnome menu. As root I can do it but as a simple user I can only log out. Is there any way to alter this?

Thanks in advance.
 
Old 05-24-2004, 10:41 AM   #2
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
My problem is backwards. Fonts in KDE are small in gnome programs such as mozilla and xchat. I have to run gnome control center to make them look the right size. Is there a way to set this up so they look the same in KDE and Gnome.

XPediTioN
 
Old 05-24-2004, 12:41 PM   #3
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
2) Try sudo.
Code:
 man sudo
 
Old 05-24-2004, 01:01 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
other solutions:

chown [username] /sbin/halt ---simple but not as secure as sudo

or

add [username] to the "halt" group (not the same as sudo), can't remember the console commands, I usually use applications->system tools->users & groups program in gnome
 
Old 05-25-2004, 07:14 AM   #5
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Original Poster
Rep: Reputation: 0
The group "halt" doesn't exist but this not the case. I don't wish to be able to shutdown the system from a console window but from the gnome menu(Actions -> Shutdown). As root this option exists but as a simple user it is being replaced by the Log out option.

Also, does anyone know how to resolve the fonts problem ?

Last edited by Jojef.K; 05-25-2004 at 05:24 PM.
 
Old 05-25-2004, 07:42 AM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
This was posted a long time ago in a galaxy far away. Actually someone posted it here last year. It is not my creation, I should have save the writer's name and apologize to him for not crediting him.

Thank you for your quick reply. I have also found another answer that doesn't seem to require rebuilding gnome-session (posted here for other users searching on this question):

1. (as root) mkdir /var/run/console
2. (as root) touch /var/run/console/<username> (Substitute in the user name of the user to be allowed to shut down the system for <username> )

At this point, you will now have the menu available when you click log off, but all of the options will just log you off instead of actually shutting down or rebooting the system.

3. Make sure you have permission to run /sbin/halt as that user. One way (not necessarily the most secure, because this will let any user on your system shut it down by tying the command "/sbin/halt") is to run (as root) "chmod +s /sbin/halt".

The options on the log off menu should work now. If they don't, try running (as root) "ln -s /sbin/halt /usr/bin/halt".

You will need to repeat step two for every user you want to allow to do this.
 
Old 05-25-2004, 09:14 AM   #7
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you very much ringwraith . I am gonna try it right away
 
Old 05-25-2004, 09:59 AM   #8
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
ans for first question:
if u use only gnome, then run kcontrol (the kde control center) in gnome and change the fonts there.
 
Old 05-25-2004, 12:42 PM   #9
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by Jojef.K
The group "halt" doesn't exist
oops sorry you're right! I have a user called "halt" not a group!
 
  


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
Gnome 2.12 questions Ahmed Linux - Software 3 11-13-2005 03:29 PM
Questions about Gnome? Slovak Slackware 5 11-20-2004 01:05 PM
questions concerning gnome 2.8 ertmann|CPH Debian 1 09-28-2004 11:07 AM
questions about gnome yowwww Linux - Software 1 08-16-2004 08:03 PM
two questions on gnome aesahaettr Linux - Software 3 04-27-2004 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:10 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