Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
An awesome app called Qingy (Part 1)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Tue Aug 19, 2003 5:40 pm    Post subject: Reply with quote

Thanks, up and running!
Text hard to read due to background or text color.
Back to top
View user's profile Send private message
Rosjahh
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 182
Location: Below sealevel

PostPosted: Tue Aug 19, 2003 10:12 pm    Post subject: Reply with quote

Thanks for the tips in the thread, this worked excellent.

I have a related question, or at least I think. Can I configure qingy to also start programs when i login on, let's say e17 ? I have configured something like this in gnome before, but that was in a menu. I've been messing around with ~/.xinitrc, but it didn't work. It appears only to be run when i use the command "startx" from the console. Is this something that should be done by qingy or am i looking in the wrong place ?

Thanks.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Tue Aug 19, 2003 10:28 pm    Post subject: Reply with quote

Well, from what I can tell from my experience is that quingy reads from the /etc/X11/Sessions/ directory. The files that are in there are the startup files for each window manager which only consists of /usr/bin/whateverwindowmanager

You would have to put any scripts that you wanted in there. You may be able to glean some good pointers from gnome's start script or even kahakai's startup script which cause the program to look in a file for special applications to start up.

I have been doing a little playing around with it but have not really focused on it much. There are far greater programmers and script writers here in the forum than I

Good luck!
Back to top
View user's profile Send private message
mcking
n00b
n00b


Joined: 04 Aug 2002
Posts: 25
Location: Baghdad, Iraq

PostPosted: Tue Aug 19, 2003 10:32 pm    Post subject: Reply with quote

Rosjahh wrote:
Thanks for the tips in the thread, this worked excellent.

I have a related question, or at least I think. Can I configure qingy to also start programs when i login on, let's say e17 ? I have configured something like this in gnome before, but that was in a menu. I've been messing around with ~/.xinitrc, but it didn't work. It appears only to be run when i use the command "startx" from the console. Is this something that should be done by qingy or am i looking in the wrong place ?

Thanks.


Code:

ln -s .xinitrc .xsession
chmod +x .xinitrc


This should bring up your X programs by logging in through {x|k|g}dm (or Qingy, I assume) as well as through startx
Back to top
View user's profile Send private message
Rosjahh
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 182
Location: Below sealevel

PostPosted: Tue Aug 19, 2003 11:04 pm    Post subject: Reply with quote

Thanks, for the tips, I forgot to make it executable. :lol: Just, sometimes....

It now works with waimea, but not with e17 / enlightenment 0.16. So it appears to me to be an enlightenenment issue (?).

EDIT: Waimea doesn't start programs from ~/.xinitrc either. I just forgot to kill the process that I am trying to start from xinitrc (irexec) before testing with waimea, so it was STILL running. It does work only with X itself when I make the link proposed by mcking, but also refuses to start properly. Check the link below for more details.

Really annoying, but since it appears to be an OT issue after all, I'll explore it further somewhere else:
https://forums.gentoo.org/viewtopic.php?t=76638
anybody ? mcking ?
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 21, 2003 1:58 pm    Post subject: Reply with quote

Rosjahh wrote:
Thanks, for the tips, I forgot to make it executable. :lol: Just, sometimes....

It now works with waimea, but not with e17 / enlightenment 0.16. So it appears to me to be an enlightenenment issue (?).

EDIT: Waimea doesn't start programs from ~/.xinitrc either. I just forgot to kill the process that I am trying to start from xinitrc (irexec) before testing with waimea, so it was STILL running. It does work only with X itself when I make the link proposed by mcking, but also refuses to start properly. Check the link below for more details.

Really annoying, but since it appears to be an OT issue after all, I'll explore it further somewhere else:
https://forums.gentoo.org/viewtopic.php?t=76638
anybody ? mcking ?

mmm... I could write some code to allow you to start some apps when qingy inits your window manager... I'll look into this.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 21, 2003 2:02 pm    Post subject: Reply with quote

heavyt wrote:
Thanks, up and running!
Text hard to read due to background or text color.

You can write your own themes ;-) I would be glad to provide a themepack for qingy if someone is willing to create some and share them...
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
LinuxDolt
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2003
Posts: 104

PostPosted: Thu Aug 21, 2003 2:54 pm    Post subject: Reply with quote

i have considered making my own theme for qingy, but when i read the limited stuff you have wrote on it it didn't make much sense to me, so i gave up the idea...

if you made a truly comprehensive how-to on making a qingy theme, i might see about making some "standard" themes...
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 21, 2003 2:57 pm    Post subject: Re: Screen not working with Qingy? Reply with quote

cybe wrote:
Great program... Happened to wonder the other day if there is such a program since its a bit disturbing with two different logins, and the Qingy approach is the right one...

Noticed that screen doesn't seem to work because of Qingy, it gives me this:


Cannot open your terminal '/dev/tty2' - please check.

This is now fixed in CVS. qingy didn't change tty ownership, now it does.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 21, 2003 3:56 pm    Post subject: Reply with quote

LinuxDolt wrote:
i have considered making my own theme for qingy, but when i read the limited stuff you have wrote on it it didn't make much sense to me, so i gave up the idea...

if you made a truly comprehensive how-to on making a qingy theme, i might see about making some "standard" themes...


OK, here is my little walktrough... This is as complete as I can make it, I'm not particularly good at writing documentation.

How To create your own themes for qingy version 0.2 series

Preample:
For qingy, a theme is a subdirectory in /etc/qingy. The name of this directory is the name of the theme. You can select a theme by editing /etc/qingy/settings and modifying line 'THEME default' with the name of the theme you want to use (i.e.: 'THEME playboy').

What to put in the theme dir:
- A background image (filename:background.png).
- A font file supported by DirectFB. TTF fonts are OK.
- Two images for power button, one for it's normal appearance (filename:power_normal.png), one for when mouse passes over it (filename:power_mouseover.png).
- Two images for reset button, same rules as above (filenames:reset_normal.png,reset_mouseover.png).
- A config file (filename:theme). See below.

Writing a config file for a theme:
One setting per line (i.e. 'FONT pippo.ttf'):

FONT <fontfilename>
font file to use

BUTTON_OPACITY <value>
opacity (transparency) of power and reset buttons; 0 is totally transparent (invisible), 255 is totally opaque.

WINDOW_OPACITY <value>
opacity of unselected fields, i.e. if you are modifying username, this applies for password, session and welcome to areas. Same values as above.

SELECTED_WINDOW_OPACITY <value>
opacity of active field

MASK_TEXT_COLOR <R> <G> <B> <A>
Color of all text in main qingy window, i.e. username, password, fields, etc etc; RGBA format (see below).

TEXT_CURSOR_COLOR <R> <G> <B> <A>
Color of the blinking cursor. Same rules as above.

OTHER_TEXT_COLOR <R> <G> <B> <A>
Color of text that is not in the main qingy window, i.e.: text of 'logging in', 'shutting down', etc, etc messages. Same rules as above.

RGBA colors:
4 values, from 0 (min) to 255 (max). Mix R (red), G (green) and B (blue) intensity values to create all the colors of the spectrum. The A (alpha channel) value is for transparency.


Hope this will be useful.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Thu Aug 21, 2003 4:28 pm    Post subject: Reply with quote

LinuxDolt wrote:
i have considered making my own theme for qingy, but when i read the limited stuff you have wrote on it it didn't make much sense to me, so i gave up the idea...

if you made a truly comprehensive how-to on making a qingy theme, i might see about making some "standard" themes...


It is not that hard actually. There is a "guide" of how it is setup in the docs.

I made two themes...not my artwork but I like them. Will probably work on more today. I just love playing around with it.

http://www.geocities.com/cattwins.geo/crystalrose.png
http://www.geocities.com/cattwins.geo/heartstrings.png


The crystal rose is from a gdm greeter theme and the second is from deviant art.
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Mon Aug 25, 2003 5:09 pm    Post subject: qingy status Reply with quote

By implementing what has been proposed on this forum, here are the news in CVS version of qingy:
- correctly changes tty ownership
- Hopefully solves PAM issues
- Added option to close DirectFB mode before shutting down,
so that you can see your system shutdown messages
- Added option for hiding last user name
- Added option for hiding password chars completely
- Now ENTER in username field pass control to password
- Now qingy reverts back to text mode login if something
goes wrong with DirectFB
- Various fixes and clean ups (memory leaks, allocation failures...)

And here goes the yet-to-implement stuff:
- option for selecting session based on tty, not on user
- drop down menu for sessions
- allow session locking
- option for starting wms in an unique X server?!?
(don't think this is possible)
- add a clock and/or uptime thingie!
- start some apps before/after X session
- multilanguage support
- extend theme support (for qingy 0.3 series)

Thanks to all who posted suggestions here!
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
slickquickyb
n00b
n00b


Joined: 24 Jan 2003
Posts: 20
Location: Houston, Texas

PostPosted: Tue Sep 02, 2003 8:35 pm    Post subject: Reply with quote

New version of qingy is out though as of this post the link to the ebuild does not work


Scott Jones
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Fri Sep 05, 2003 11:30 pm    Post subject: Reply with quote

slickquickyb wrote:
New version of qingy is out though as of this post the link to the ebuild does not work


Scott Jones


It works now ;-)
Unfortunately I'm having problems uploading stuff to qingy web site at sourceforge, and the sourceforge staff has done nothing to help me out :x
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Sun Sep 07, 2003 12:20 am    Post subject: qingy status Reply with quote

I'm happy to announce that qingy now sits inside portage, under x11-misc.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
LinuxDolt
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2003
Posts: 104

PostPosted: Sun Sep 07, 2003 2:52 pm    Post subject: Reply with quote

hooray! i'm glad for you... not to mention for the fact that i can now just sit back and let portage update it for me from now on instead of having to go out of my way to view this thread and then visit the web page... :)

thanks again for this awesome proggy...

and i really do mean to make themes, i just have not had time, school recently started back up for me, and just keeping up my normal amount of tinkering and keeping up with school is all i can manage right now...
Back to top
View user's profile Send private message
anfpunk
Apprentice
Apprentice


Joined: 29 May 2003
Posts: 275
Location: Columbus, Oh

PostPosted: Sun Sep 07, 2003 3:36 pm    Post subject: Reply with quote

The new update is great. Nice work. The one question I have is with the hide last user, is it supposed to show 'lastuser' in the username box or do I have something jacked? It's not that big of a deal for me so I just turned it back to save but I was wondering. Also, any problems I used to have with the 2.6 kernel have been fixed with the newer kernels. It's running great with 2.6.0-test4-mm4.
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Fri Sep 12, 2003 5:42 pm    Post subject: Reply with quote

anfpunk wrote:
The new update is great. Nice work. The one question I have is with the hide last user, is it supposed to show 'lastuser' in the username box or do I have something jacked? It's not that big of a deal for me so I just turned it back to save but I was wondering. Also, any problems I used to have with the 2.6 kernel have been fixed with the newer kernels. It's running great with 2.6.0-test4-mm4.


It should indeed!
To test it without rebooting, change your /etc/inittab, then issue an 'init Q', then switch to the vt you changed setting for, back, and to again, to restart qingy (which was alreaady running) with the new settings.

Hi and let me know (maybe via private e-mail, michele.noberasco@tiscali.it).
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Fri Sep 12, 2003 5:48 pm    Post subject: Reply with quote

LinuxDolt wrote:
hooray! i'm glad for you... not to mention for the fact that i can now just sit back and let portage update it for me from now on instead of having to go out of my way to view this thread and then visit the web page... :)

thanks again for this awesome proggy...

and i really do mean to make themes, i just have not had time, school recently started back up for me, and just keeping up my normal amount of tinkering and keeping up with school is all i can manage right now...


:D

Let me know when you have some ready! And don't worry about time, I'm not getting paid for qingy, either ;-)
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
cesar
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 124

PostPosted: Tue Sep 16, 2003 6:08 am    Post subject: Reply with quote

I just installed qingy and everything went OK except that I cannot enter any session after hitting the enter key.

I get, for a few seconds, this error message

Code:

Ambiguous option redirect


... and then I'm back to the loggin screen from qingy. Would it have anything to do with the fact that I use "tcsh" shell and not "bash" as user cesar? When I'm root (which by default uses "bash"), there is no problem to start KDE or WindowMaker, only for user 'cesar'
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Wed Sep 17, 2003 8:27 am    Post subject: Reply with quote

cesar wrote:
I just installed qingy and everything went OK except that I cannot enter any session after hitting the enter key.

I get, for a few seconds, this error message

Code:

Ambiguous option redirect


... and then I'm back to the loggin screen from qingy. Would it have anything to do with the fact that I use "tcsh" shell and not "bash" as user cesar? When I'm root (which by default uses "bash"), there is no problem to start KDE or WindowMaker, only for user 'cesar'


Well... both.
I never tried qingy in any shell other than bash, so I never encountered
this issue. Let's put it like this:
right now you need bash, but I'll add support for other shells to my
TODO list.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Sep 17, 2003 9:47 am    Post subject: Re: qingy status Reply with quote

Noberasco wrote:
I'm happy to announce that qingy now sits inside portage, under x11-misc.


That's wrong though, since Qinqy is not X11-based. It should be in... something else.

:)

Perhaps some frame buffer categories might be useful: fb-base and fb-libs.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Thu Sep 18, 2003 2:27 am    Post subject: Re: qingy status Reply with quote

charlieg wrote:
Noberasco wrote:
I'm happy to announce that qingy now sits inside portage, under x11-misc.


That's wrong though, since Qinqy is not X11-based. It should be in... something else.

:)

Perhaps some frame buffer categories might be useful: fb-base and fb-libs.


I totally agree..x11-misc not a good choice. You dont need X to install it.

I think it should go in one of the sys-apps categories....
Back to top
View user's profile Send private message
zenlunatic
Guru
Guru


Joined: 09 Apr 2003
Posts: 312

PostPosted: Thu Sep 18, 2003 5:32 pm    Post subject: Reply with quote

Okay, maybe I'm stupid or something, but what exactly does this app do? Is it just another GDM, KDM, or XDM?
Back to top
View user's profile Send private message
anfpunk
Apprentice
Apprentice


Joined: 29 May 2003
Posts: 275
Location: Columbus, Oh

PostPosted: Thu Sep 18, 2003 5:48 pm    Post subject: Reply with quote

This may or may not be correct but this is my understanding.

It performs the same function but does it a different way. It uses Framebuffer instead of X so there are not nearly as many dependencies. It is more of a stripped down (it's still new too.:o) ) login screen. Which is exactly what I want. A nice picture, window manager choice, and login prompt is all I want.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5 ... 28, 29, 30  Next
Page 4 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum