You are not logged in.
On unrelated thing I noticed bug in launching apps. I have this in .desktop file
Exec=env GTK_THEME=deepin-dark nautilus --new-window %U
and when launching app nautilus opens with deepin-dark theme but not from jgmenu. jgmenu seems to ignore this and running app by default.
Same thing goes for this:
Exec=firefox -P youtube https://www.youtube.com/ %u --class Firefox-youtube
This opens new instance of firefox with new class but jgmenu is ignoring this and simply opens new firefox tab
Offline
^ Great feedback. Thanks. It is on my TODO-list. In fact it is right at the top
Currently, we wrap in `sh -c` - as do dmenu and others. This is not strictly XDG compliant.
^^ 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?
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).
Offline
Shadow: just check ~/.config/compton.conf line 46. Make sure the shadow-exclude for jgmenu is commented out:
shadow-exclude = [
# "! name~=''",
# "name = 'jgmenu'",
"name = 'Notification'",
...etc...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Shadow: just check ~/.config/compton.conf line 46. Make sure the shadow-exclude for jgmenu is commented out:
shadow-exclude = [ # "! name~=''", # "name = 'jgmenu'", "name = 'Notification'", ...etc...
thing is I do not use compton and mutter does not have config file options to exclude/include effects per app. Basically shadows are on for all by default but not in jgmenu
Offline
^^ 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.
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
...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...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
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
@damo: mutter itself provides shadows + compositing
Offline
Offline
With widgets.
Offline
Menu jgmenu
text icon below ? possible ?
Should be possible, but I don't se it as an good choise.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
@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
What i think of doing
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
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
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
...
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...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
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
---Mod edit: changed quote to code tags---
Last edited by damo (2020-02-22 01:18:41)
Offline
^ 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
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