You are not logged in.

#251 2019-08-10 14:36:39

crn
Member
Registered: 2019-08-09
Posts: 7

Re: jgmenu

malm wrote:

^^ Regarding the shadow, I suspect it's due to one of the settings in ui_create_window().
Do you get a shadow with dmenu or rofi?

I do not have dmenu or rofi so cant really test.

malm wrote:

The X11 properties WM_NAME and WM_CLASS are set for jgmenu windows. In compton we can make use of these for setting shadows https://jgmenu.github.io/integration.html#compton. Would that help?
I've had a quick look at the mutter source code, but it's not obvious to me how window type affects shadow; or indeed how we could set shadow depending on WM_CLASS or WM_NAME (or something else).

Not sure what but something in jgmenu is preventing wm to 'detect' it properly and apply effects. There are no animation nor shadows, transparency work though.
e.g.
when I right click on plank menu fades in (with shadow) and it fades away when closed but jgmenu just pops in/out of the screen. I'm new in all this so I wish I could be more helpful

Offline

#252 2019-08-10 16:43:10

damo
....moderator....
Registered: 2015-08-20
Posts: 5,085

Re: jgmenu

crn wrote:

...when I right click on plank menu fades in (with shadow) and it fades away when closed but jgmenu just pops in/out of the screen. I'm new in all this so I wish I could be more helpful

Look in the config of whichever compositor you seem to be using?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#253 2019-08-10 19:07:49

crn
Member
Registered: 2019-08-09
Posts: 7

Re: jgmenu

damo wrote:
crn wrote:

...when I right click on plank menu fades in (with shadow) and it fades away when closed but jgmenu just pops in/out of the screen. I'm new in all this so I wish I could be more helpful

Look in the config of whichever compositor you seem to be using?

I can change some settings using dconf but there is no option to exclude/include shadows for specific apps. Shadows are always on.

Offline

#254 2019-08-11 07:24:42

ohnonot
...again
Registered: 2015-09-29
Posts: 3,998
Website

Re: jgmenu

@damo: mutter itself provides shadows + compositing

Offline

#255 2019-09-23 17:19:11

userNew
New Member
Registered: 2019-09-23
Posts: 1

Re: jgmenu

Menu jgmenu


text icon below ? possible ?

ynetNWp.png
https://imgur.com/ynetNWp

Offline

#256 2019-09-23 18:14:13

malm
jgmenu developer
Registered: 2016-10-13
Posts: 508
Website

Re: jgmenu

With widgets.

Offline

#257 2019-09-23 18:20:53

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 64

Re: jgmenu

userNew wrote:

Menu jgmenu

text icon below ? possible ?

Should be possible, but I don't se it as an good choise.


// Regards rbh

Offline

#258 2019-09-23 21:36:54

malm
jgmenu developer
Registered: 2016-10-13
Posts: 508
Website

Re: jgmenu

@userNew: Just to explain a bit further:
- I will add some notes on widgets to the jgmenu(1) man page soon and make it an "official" feature.
- The only working example of widgets is https://github.com/johanmalm/jgmenu/blo … greeneye.c
More to come on this...

Offline

#259 2019-09-25 13:36:51

newUser_
New Member
Registered: 2019-09-25
Posts: 2

Re: jgmenu

What i think of doing


yPtp7YA.png


Suggestions:

Support plugins / scripts with current real-time update, example: date and weather application

Jgmenu is a great job, congratulations to the developer.

thanks

Offline

#260 2019-09-25 18:38:47

malm
jgmenu developer
Registered: 2016-10-13
Posts: 508
Website

Re: jgmenu

Fantastic menu. How did you do it? Looks like a mix of greeneye and conky.

Regarding your suggestion, if we do a widget which refreshes on every “awake”, that shouldn’t be hard to do (and won’t paint us into a corner).

If we’re talking timer/threads, I would put it in the medium/long term queue.

Offline

#261 2019-09-26 02:22:38

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 741

Re: jgmenu

newUser_ wrote:

What i think of doing


https://i.imgur.com/yPtp7YA.png


Suggestions:

Support plugins / scripts with current real-time update, example: date and weather application

Jgmenu is a great job, congratulations to the developer.

thanks

Nice menu very reminiscent of Win 10's menu...would be cool to have that style


Real Men Use Linux

Offline

#262 2019-09-26 04:32:54

damo
....moderator....
Registered: 2015-08-20
Posts: 5,085

Re: jgmenu

DeepDayze wrote:

...
Nice menu very reminiscent of Win 10's menu...would be cool to have that style

I reckon you could get a similar setup with...

sudo apt-get install mate-menu

Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#263 2019-09-26 14:22:30

newUser_
New Member
Registered: 2019-09-25
Posts: 2

Re: jgmenu

Hello everyone!

Malm, Yes, the menu was inspired by greeneye and https://cdn.scrot.moe/images/2018/09/15 … _scrot.png.

It's almost a fusion, I just got a new view of layout.

About scripting, updating images in real time and printing strings (text) would open a range of options, for example, through scripts it is possible to update in real time the user image, profile, using xfce mugshot.

mugshot creates the .face file in the user's directory, it would be enough to create a script:

! # / bin / bash
#using sleep and for, to create an infinite current check loop.
ffmpeg -i ~ .face ~ / .config / jgmenu / profile.png

With jgmenu running, creating a weather forecast script would be possible, just create a script that would work with all image changes, jgmenu would only be responsible for displaying them in real time.


the image you saw about the weather app is just an image.png for testing purposes, the initial idea was to create a weather update script, changing icons and updating the prepend.csv file, unfortunately not possible for reasons already said !.


Thanks for your attention and patience, I would love to help with the project but unfortunately I don't have enough programming knowledge, unfortunately I also don't know English, I'm using google translator, I apologize for possible errors.


Jgmenu is a great job with a lot of potential, congratulations


For anyone interested in menu settings:

csv_cmd             = jgmenu_run apps
tint2_look          = 0
menu_width          = 1255
menu_height_min     = 280
menu_height_max     = 485
menu_padding_top    = 40
menu_padding_right  = 300
menu_padding_bottom = 1
menu_padding_left   = 151
menu_border         = 0

#    Tamanho do quadrado que contorna o icone
item_height         = 48
item_radius         = 2
item_border         = 11
item_halign         = center
color_menu_bg       = #212121 88
color_menu_border   = #eeeeee 100
color_norm_fg       = #eeeeee 70
color_sel_bg        = #000000 25
color_sel_fg        = #ffffff 100
color_sel_border    = #eeeeee 0
color_scroll_ind    = #000000 0
csv_name_format     = %n\n<span size="x-small">%g</span>
csv_no_dirs         = 1
csv_single_window = 0
#arrow_width = 15
columns = 3
menu_halign = center
menu_valign = center
icon_size = 42
icon_text_spacing   = 8
icon_text_valign = bottom
icon_text_valign = center
item_margin_x = 10
item_margin_y = 10
#menu_margin_x = 50
#menu_margin_y = 50

#########################################################################

@rect,,954,4,292,36,2,left,top,#000000 0,#656565 50,
@search,,959,4,240,36,2,left,top,#eeeeee 80,#000000 0,
@icon,,1216,12,22,22,2,left,top,#000000 50,#000000 50,/home/user/.config/jgmenu/greeneye-search.svg
@rect,,954,44,292,462,2,left,top,#000000 0,#282828 90,

@icon,,1145,212,14,14,2,left,top,#000000 50,#000000 50,/home/user/.config/jgmenu/desligar.png
@icon,,1095,212,14,14,2,left,top,#000000 50,#000000 50,/home/user/.config/jgmenu/reboot.png
@icon,,1045,212,14,14,2,left,top,#000000 50,#000000 50,/home/user/.config/jgmenu/sair.png

@icon,,1005,292,203,262,2,left,top,#000000 50,#000000 50,/home/user/.config/jgmenu/temp.png

@icon,,1060,102,80,80,2,left,top,#000000 50,#000000 50,/home/user/.config/jgmenu/x.png

@rect,^root(aplicativos),4,40,142,30,2,left,top,#000000 0,#b51010 90,
@text,,20,40,142,30,2,left,top,#e6e6e6 100,#000000 0,Apps

@rect,^filter(#File lxterminal  lxtask ),4,80,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,80,142,30,2,left,top,#e6e6e6 100,#b51010 90,Ultilitarios

@rect,^filter(Falkon lxterminal Gimp Pidgin ),4,120,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,120,142,30,2,left,top,#e6e6e6 100,#000000 0,Favoritos

@rect,^filter(#Games  #Game #jogos),7,160,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,160,142,30,2,left,top,#e6e6e6 100,#000000 0,Games

@rect,^filter(Gimp ),4,200,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,200,142,30,2,left,top,#e6e6e6 100,#000000 0,Gráficos

@rect,^filter(Chromium Firefox Falkon  Skype ),4,240,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,240,142,30,2,left,top,#e6e6e6 100,#000000 0,Internet

@rect,^filter(#Multimedia #Player #Audio #Video #Recorder ),4,280,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,280,142,30,2,left,top,#e6e6e6 100,#000000 0,Multimedia

@rect,^filter(writer leafpad  ),4,320,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,320,142,30,2,left,top,#e6e6e6 100,#000000 0,Escritorio

@rect,^filter(qmmp vlc openshot-qt xfburn  vlc gtk-recordmydesktop kazam simplescreenrecorder  ),4,360,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,360,142,30,2,left,top,#e6e6e6 100,#000000 0, Multimidia

#@rect,^filter(#System #Emulator #FileManager #TerminalEmulator #Filesystem #Monitor ),4,400,142,30,2,left,top,#000000 0,#000000 0,
#@text,,20,400,142,30,2,left,top,#e6e6e6 100,#000000 0,Sistema

@rect,^filter( qt5ct lxappearance nitrogen compton-conf printer),4,400,142,30,2,left,top,#000000 0,#000000 0,
@text,,20,400,142,30,2,left,top,#e6e6e6 100,#000000 0,Configurações

Offline

#264 2019-09-28 11:28:42

malm
jgmenu developer
Registered: 2016-10-13
Posts: 508
Website

Re: jgmenu

^ I like the idea, but won't start work on this immediately.

I have added it to the roadmap under "widgets"

Last edited by malm (2019-09-28 11:29:22)

Offline

#265 2019-09-28 23:26:07

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 741

Re: jgmenu

malm wrote:

^ I like the idea, but won't start work on this immediately.

I have added it to the roadmap under "widgets"

Maybe Misko can take a look at this idea too, if he is willing?

Last edited by DeepDayze (2019-09-28 23:26:26)


Real Men Use Linux

Offline

#266 2019-10-15 11:51:01

peterk
Member
Registered: 2017-10-27
Posts: 6

Re: jgmenu

Hello
jgmenu Version: 3.4-1.1 - opensuse tumbleweed
at_pointer           = 0

warning: 'at_pointer' is depreciated; use 'position_mode = pointer'

What is the position_mode equivalent because to =0, I don't want the jgmenu following the mouse.
How can jgmenu stay always in the corner of tint2 like a menu even if I move the mouse a second before it appears?

EDIT:

So just notice that if I # the line jgmenu works fine !!
Thanks.

Last edited by peterk (2019-10-15 12:44:14)

Offline

#267 2019-10-15 15:40:18

malm
jgmenu developer
Registered: 2016-10-13
Posts: 508
Website

Re: jgmenu

Use position_mode=fixed

And comment out / delete the at_pointer line like you’ve done.

Offline

#268 Yesterday 05:18:22

ohnonot
...again
Registered: 2015-09-29
Posts: 3,998
Website

Re: jgmenu

warning: 'at_pointer' is depreciated; use 'position_mode = pointer'

Is this hardcoded into jgmenu?
(yep, it is)
Please consider changing "depreciated" to "deprecated".
See "Usage Notes" here.

Offline

#269 Yesterday 19:30:35

malm
jgmenu developer
Registered: 2016-10-13
Posts: 508
Website

Re: jgmenu

@ohnonot - thanks. Good spot. I've pushed a fix.

Offline

Board footer

Powered by FluxBB