Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Wayland,Synaptic continue without administrative privileges

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
4joeyirosh1
Posts: 157
Joined: 2016-09-11 18:04
Been thanked: 3 times

Re: Wayland,Synaptic continue without administrative privile

#16 Post by 4joeyirosh1 »

Wheelerof4te wrote:No need to modify any configuration files, just log in to Xorg session from GDM. And synaptic will work.
Kindly advise on how to
just log in to Xorg session from GDM

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wayland,Synaptic continue without administrative privile

#17 Post by Wheelerof4te »

^Kindly click on that wheel on the log in screen and select "GNOME on Xorg".

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Wayland,Synaptic continue without administrative privile

#18 Post by giaur »

Hopefully, there are many opinions and I can choose what I want to use and what I don't want. You don't like any gui and you wish to do everything in terminal, ok your choice. I have never had any problems with updating with Synaptic, it always does the same packages upgrade as apt in cli.

Regarding to Wayland, please show me any noticeable improvement in user experience other than some stuff not compatible anymore. I think Wayland will eventually replace Xorg (unless other better solution will be created), but not yet. Afaik only Gnome3 and Plasma currently support Wayland. It's still being worked on and it's not stable yet.

Btw, regarding to Synaptic run as root - only installation process should be run as root, no need to run entire app as root, no root needed to browse packages.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wayland,Synaptic continue without administrative privile

#19 Post by Wheelerof4te »

giaur wrote: it always does the same packages upgrade as apt in cli.
It can't upgrade to another release, as it can't prompt you to accept new release suite change. It also has whacky dependency resolution, when compared to plain apt. That's why I avoided it, well other than security stuff.

Wayland itself is not a topic of this thread. Open a new thread if you want to discuss it, but I warn you we have 1000's of those already disquised as GNOME bashing threads.
giaur wrote:Afaik only Gnome3 and Plasma currently support Wayland.
Nah, there's also a whole pack of compositors based on wlroots, led by magnificent Sway.
giaur wrote: regarding to Synaptic run as root - only installation process should be run as root,
When you run synaptic to install packages, entire program runs as root. That's the problem.

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Wayland,Synaptic continue without administrative privile

#20 Post by Deb-fan »

Kitten killer!! No worries, appreciate Synaptic for what it is, amazing work by whichever software dev(s). Though you won't catch me installing it, I don need no stinkin Synaptic! :)
Most powerful FREE tech-support tool on the planet * HERE. *

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Wayland,Synaptic continue without administrative privile

#21 Post by Head_on_a_Stick »

giaur wrote:Regarding to Wayland, please show me any noticeable improvement in user experience
It manages tear-free compositing without inducing lag for window dragging operations.
deadbang

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Wayland,Synaptic continue without administrative privile

#22 Post by giaur »

Sorry for offtopic, but I tried Plasma with Wayland on Sid. So I installed Plasma and plasma wayland related packages. Then I choosed Plasma from ligthdm menu (not even sure if wayland used? ) and I got broken desktop as a result, no window decorations, I am not even sure if Wayland used (how could it be while lightdm starts X session). Anyway, no more test performed, I uninstalled Plasma and returned to Cinnamon (my own 4.2.1 build), which works without any issues and it's not as fat as Plasma (install Plasma - 800 MB disk space used, Cinnamon 30 MB).

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wayland,Synaptic continue without administrative privile

#23 Post by Wheelerof4te »

To install Wayland session on Plasma in Sid, you just need this command:

Code: Select all

apt install plasma-workspace-wayland
Then choose Plasma (Wayland) from SDDM.
giaur wrote:So I installed Plasma and plasma wayland related packages.
You clearly didn't. And as HoaS said, you keep being ignorant.

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Wayland,Synaptic continue without administrative privile

#24 Post by giaur »

And you keep being rude, no reason for that, calm down

markjacob
Posts: 8
Joined: 2019-07-21 06:18

Re: Wayland,Synaptic continue without administrative privile

#25 Post by markjacob »

Deb-fan wrote:Read the docs or run under Xorg VS Wayland. Though better than these, great time to learn cli package management as all true gnu/nix gawds prefer it. Everytime someone fires up a gui like Synaptic to manage packages, somewhere in the world a kitten bursts into flames. Folks will have to live with that! :)
I am agree but I disagree too, because I was trying to build nemo-dropbox. which required some libraries. when I tried to do apt install libraryname, it said "could not be found" maybe because every package needs a repository(like we have ppa) but I found all libraries in syaptic.(was not able to install due to wayland issue). so this time I think synaptic is the solution to my problem.
One more thing I noticed is that every single command is "not found" and every single package is "unable to locate" I am using linux(mint, elementary and ubuntu) for 3 years, dont know much about linux, but still most of the time I used cli to install uninstall. I think debian will be hard for me.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Wayland,Synaptic continue without administrative privile

#26 Post by Dai_trying »

markjacob wrote:when I tried to do apt install libraryname, it said "could not be found" maybe because every package needs a repository(like we have ppa) but I found all libraries in syaptic.(was not able to install due to wayland issue). so this time I think synaptic is the solution to my problem.
One more thing I noticed is that every single command is "not found" and every single package is "unable to locate" I am using linux(mint, elementary and ubuntu) for 3 years, dont know much about linux, but still most of the time I used cli to install uninstall. I think debian will be hard for me.
you could install the package command-not-found which will help when issuing commands that are not installed.

Code: Select all

apt install command-not-found

Code: Select all

dai@busterlt:~$ splash

Command 'splash' not found, but can be installed with:

sudo apt install splash

Code: Select all

dai@busterlt:~$ splosh

Command 'splosh' not found, did you mean:

  command 'splash' from deb splash

Try: sudo apt install <deb name>


markjacob
Posts: 8
Joined: 2019-07-21 06:18

Re: Wayland,Synaptic continue without administrative privile

#27 Post by markjacob »

Dai_trying wrote:
markjacob wrote:when I tried to do apt install libraryname, it said "could not be found" maybe because every package needs a repository(like we have ppa) but I found all libraries in syaptic.(was not able to install due to wayland issue). so this time I think synaptic is the solution to my problem.
One more thing I noticed is that every single command is "not found" and every single package is "unable to locate" I am using linux(mint, elementary and ubuntu) for 3 years, dont know much about linux, but still most of the time I used cli to install uninstall. I think debian will be hard for me.
you could install the package command-not-found which will help when issuing commands that are not installed.

Code: Select all

apt install command-not-found

Code: Select all

dai@busterlt:~$ splash

Command 'splash' not found, but can be installed with:

sudo apt install splash

Code: Select all

dai@busterlt:~$ splosh

Command 'splosh' not found, did you mean:

  command 'splash' from deb splash

Try: sudo apt install <deb name>

:shock: you are wonderful. . this is what I wanted to say that ubuntu and linux mint has this feature. thanks for that.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Wayland,Synaptic continue without administrative privile

#28 Post by Dai_trying »

You are welcome :D

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Wayland,Synaptic continue without administrative privile

#29 Post by L_V »

giaur wrote:Hopefully, there are many opinions and I can choose what I want to use and what I don't want. You don't like any gui and you wish to do everything in terminal, ok your choice. I have never had any problems with updating with Synaptic, it always does the same packages upgrade as apt in cli.
Regarding to Wayland, please show me any noticeable improvement in user experience other than some stuff not compatible anymore. I think Wayland will eventually replace Xorg (unless other better solution will be created), but not yet. Afaik only Gnome3 and Plasma currently support Wayland. It's still being worked on and it's not stable yet.
Small comment.
1 - to not install a complete KDE desktop including Kmail+Korganizer etc ... , you have to install with "no-recommends' option which you can set generally:
create /etc/apt/apt.conf.d/50norecommends with

Code: Select all

APT::Install-Recommends "false";
APT::Install-Suggests "false";
2 - you don't only need plasma-workspace-wayland , but also kwin-wayland window manager
Start with plasma-desktop kwin-wayland xwayland plasma-nm

In session manager, you will have Plasma and Plasma-wayland choices (you cannot remove plasma, or probably by removing kwin-x11 but did not try).

I have tried plasma Wayland, but didn't insist because it seems impossible to use a mouse middle-click for copy-pasting.
Did not understand why this seems so complicated to implement for Wayland team.
Well, X11 is fine to me.
A bit off-topic, but not completely.

The permissions are managed by policykit-1.
Gnome is using a specific one, policykit-1-gnome , which can explain some differences in the feedback from KDE and gnome.

manelinux
Posts: 4
Joined: 2019-11-22 22:02

Re: Wayland,Synaptic continue without administrative privile

#30 Post by manelinux »

just do:
cd
mkdir bin
cd bin
touch wynaptic (just for fun)
nano wynaptic

add a line with : xhost +si:localuser:root && sudo synaptic

ctrl+x and exit
chmod +x wynaptic

call it.

synaptic works perfectly with wayland.

Bye.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Wayland,Synaptic continue without administrative privile

#31 Post by Dai_trying »

Just a note that this would not be called from a personal bin folder without a reboot (or maybe log out/in) as system does not check this folders existence (and add it to $PATH) in real time, only at startup

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Wayland,Synaptic continue without administrative privile

#32 Post by Head_on_a_Stick »

Dai_trying wrote:Just a note that this would not be called from a personal bin folder without a reboot (or maybe log out/in) as system does not check this folders existence (and add it to $PATH) in real time, only at startup
Just logging out & back in again should do it, ~/.profile adds ~/bin to PATH automatically if it exists.
deadbang

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Wayland,Synaptic continue without administrative privile

#33 Post by Dai_trying »

Head_on_a_Stick wrote:Just logging out & back in again should do it, ~/.profile adds ~/bin to PATH automatically if it exists.
Yes, my point exactly :)

manelinux
Posts: 4
Joined: 2019-11-22 22:02

Re: Wayland,Synaptic continue without administrative privile

#34 Post by manelinux »

it's not necessary to logout or reboot,
first of all, in my laptop, the personal folder bin was recognized without any special action, the bash completion, in my case, recognize the bin personal folder
this is a part of user file .profile at home
------
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
-------
in other case, just add the bin folder to the PATH and run:

source .profile

bye.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Wayland,Synaptic continue without administrative privile

#35 Post by Head_on_a_Stick »

manelinux wrote:it's not necessary to logout or reboot,
first of all, in my laptop, the personal folder bin was recognized without any special action, the bash completion, in my case, recognize the bin personal folder
Yes, that's because you already had ~/bin
manelinux wrote:in other case, just add the bin folder to the PATH and run:

source .profile
That won't work for all shells:

Code: Select all

E485:~$ source ~/.profile
loksh: source: not found
E485:~127$ 
Better to suggest the POSIX version:

Code: Select all

. ~/.profile
But even then you would have to run that command for every new shell that was opened so it would be better to log out & back in again.
deadbang

Post Reply