Description: for this theme to work as it's supposed to do you have change so other windows can cover the menu panel, and you'll have to change the cordinates to fit with your resolution. and at last, "pics/bg.png" have to be the same color as your menu panel.
i made this theme because i didn't want so damn much on my desktop :-)
Hi,
Here two proposals:
When you click on the 'start'-button the menu appers at the position you clicked.
I think it would be better if the menu appers always at the same position like the 'real' K-menu.
When you click again on the 'start'-button, the menu appears again. I think it would be better if the menu would disappear...
Please keep on working on this theme I really like it!
Peddn
Hi there,
Just a little hint.
To AUTODETECT the users screen resolution you can use this function:
# Autodetect the resolution, thanks to Adam Geitgey!
havexwi = os.system("which xwininfo 2>&1 > /dev/null")
if (havexwi == 0):
pass
else:
if debug == 1:
print "\nCan't find xwininfo in your path."
fp = os.popen("xwininfo -root -stats")
output = fp.read()
output = output.splitlines()
i = 0
for x in output:
param = x.split()
if (len(param) > 1):
if param[0].find("Width:") != -1:
if debug == 1:
print param[1]
resX = int(param[1])
if param[0].find("Height:") != -1:
if debug == 1:
print param[1]
resY = int(param[1])
Ratings & Comments
3 Comments
Hi, Here two proposals: When you click on the 'start'-button the menu appers at the position you clicked. I think it would be better if the menu appers always at the same position like the 'real' K-menu. When you click again on the 'start'-button, the menu appears again. I think it would be better if the menu would disappear... Please keep on working on this theme I really like it! Peddn
Oh sorry, this was the false theme... If there is a possibity to delete the comments please do so...
Hi there, Just a little hint. To AUTODETECT the users screen resolution you can use this function: # Autodetect the resolution, thanks to Adam Geitgey! havexwi = os.system("which xwininfo 2>&1 > /dev/null") if (havexwi == 0): pass else: if debug == 1: print "\nCan't find xwininfo in your path." fp = os.popen("xwininfo -root -stats") output = fp.read() output = output.splitlines() i = 0 for x in output: param = x.split() if (len(param) > 1): if param[0].find("Width:") != -1: if debug == 1: print param[1] resX = int(param[1]) if param[0].find("Height:") != -1: if debug == 1: print param[1] resY = int(param[1])